Server error: Stream already exists.

Hello!

When we lost connection to server, we got this message and needs a server restart to get connected again to publish RTMP.

Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[tcp @ 02d2bd80] TCP Buffer has been set to 1683456 bytes
[rtmp @ 08a99b40] Server error: Stream already exists.
rtmp://XXXXXXXXXXXXX/live/retorno18: Operation not permitted
 

Max

Administrator
Staff member
Hello,

To avoid server restart, existing stream can be terminated using the REST request, or the CLI command (in case RTP activity detection is disabled, and it does not terminate on no RTP activity).
 

Max

Administrator
Staff member
By default, RTP activity detection is enabled for WebRTC published streams, but disabled for RTMP streams. To enable, please set the following parameter in flashphoner.properties file
Code:
flash_rtp_activity_enabled=true
 
Top