...
Excerpt Include |
---|
| Using ffmpeg |
---|
| Using ffmpeg |
---|
nopanel | true |
---|
|
Using RTMP connection timeouts
In some cases, if RTMP encoder does not support Keep Alive packets sending, or Keep Alives are disabled due to another reason with the following parameter
Code Block |
---|
|
keep_alive.algorithm=NONE |
it is necessary to control RTMP connection and close it when no data was transmitted for a long time. To do this, use the following parameters.
Read timeout
Read timeout is set with the following settings in flashphoner.properties file:
Code Block |
---|
|
rtmp.use_server_socket_timeout=true
rtmp.server_socket_timeout=120 |
In this case RTMP connection will be closed if no data was received in last 120 seconds
Write timeout
Write timeout is set with the following setting
Code Block |
---|
|
rtmp.server_write_socket_timeout=120 |
In this case RTMP connection will be closed if no data was sent in last 120 seconds
Known issues
Excerpt Include |
---|
| From another server via RTMP |
---|
| From another server via RTMP |
---|
nopanel | true |
---|
|
...