Ticket #195 (closed Bug: Fixed)
RTMPT 404 error
| Reported by: | thijs | Owned by: | joachim |
|---|---|---|---|
| Priority: | Minor | Component: | App Server |
| Version: | 0.8 RC2 | Keywords: | |
| Cc: |
Description
I have this defined in my red5.properties file:
# HTTP
http.host=0.0.0.0
http.port=5080
# RTMP
rtmp.host=0.0.0.0
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=-1
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
# RTMPT
rtmpt.host=0.0.0.0
rtmpt.port=80
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
The server starts normal with sudo ant server and shows the Red5 startpage when I go to http://localhost:5080. But when I go to http://localhost it gives a 404-errorpage. This is because RTMPT took over port 80 and no http content is served on this port.
I think this error message can confuse users (and developers) and it would be good to show a blank page, or some other html page, instead?
