We are seeing publish being stopped randomly and all the viewers get disconnected from the stream. during the error we see below error and i also see bunch of Threads blocked errors. Let me know.
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - onIceConnectionChange DISCONNECTED for streamId: the-montmartre-show-1 hash:1615060324
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - entering stop() for the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - running stop operations in executor for stream: the-montmartre-show-1 Received audio frame: 209420 Processed audio frame: 209419Received video frame: 54586 Processed video frame: 54586
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total video encode time 249868ms, average video encode time 4ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total audio encode time 270102ms, average audio encode time 1ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,075 [vert.x-eventloop-thread-8] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode video runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,076 [vert.x-eventloop-thread-9] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode audio runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 2125715136 for stream: the-montmartre-show-1 stopping scheduler job id: 1970
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 426333455 for stream: the-montmartre-show-1 stopping scheduler job id: 1971
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Flushing video encoder:png for stream adaptor:426333455 stream id:the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO io.antmedia.muxer.RecordMuxer - cannot write audio frame to muxer(the-montmartre-show-1-2021-02-25_18-26-53_720p.mp4). Error is Invalid argument^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFOi.a.e.adaptive.WebRTCEncoderAdaptor - running stop operations in executor for stream: the-montmartre-show-1 Received audio frame: 209420Processed audio frame: 209419Received video frame: 54586Processed video frame: 54586
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFOi.a.e.adaptive.WebRTCEncoderAdaptor - Total video encode time 249868ms, average video encode time 4ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFOi.a.e.adaptive.WebRTCEncoderAdaptor - Total audio encode time 270102ms, average audio encode time 1ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,075 [vert.x-eventloop-thread-8] INFOi.a.e.adaptive.WebRTCEncoderAdaptor - Encode video runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,076 [vert.x-eventloop-thread-9] INFOi.a.e.adaptive.WebRTCEncoderAdaptor - Encode audio runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFOi.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 2125715136 for stream: the-montmartre-show-1 stopping scheduler job id: 1970
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFOi.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 426333455 for stream: the-montmartre-show-1 stopping scheduler job id: 1971
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFOi.a.e.adaptive.StreamAdaptor - Flushing video encoder:png for stream adaptor:426333455 stream id:the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO io.antmedia.muxer.RecordMuxer - cannot write audio frame to muxer(the-montmartre-show-1-2021-02-25_18-26-53_720p.mp4). Error is Invalid argument^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
Question
chandrashekar kola
Hello,
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - onIceConnectionChange DISCONNECTED for streamId: the-montmartre-show-1 hash:1615060324
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - entering stop() for the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - running stop operations in executor for stream: the-montmartre-show-1 Received audio frame: 209420 Processed audio frame: 209419Received video frame: 54586 Processed video frame: 54586
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total video encode time 249868ms, average video encode time 4ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total audio encode time 270102ms, average audio encode time 1ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Publish Stats StreamId: the-montmartre-show-1 TransferedByte: 124242919 Stream Duration: 2094197 Bitrate: 59 Source IP: 77.204.105.99 User-Agent: N/A
2021-02-25 19:01:48,075 [vert.x-eventloop-thread-8] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode video runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,076 [vert.x-eventloop-thread-9] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode audio runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 2125715136 for stream: the-montmartre-show-1 stopping scheduler job id: 1970
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 426333455 for stream: the-montmartre-show-1 stopping scheduler job id: 1971
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Flushing video encoder:png for stream adaptor:426333455 stream id:the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO io.antmedia.muxer.RecordMuxer - cannot write audio frame to muxer(the-montmartre-show-1-2021-02-25_18-26-53_720p.mp4). Error is Invalid argument^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - onIceConnectionChange DISCONNECTED for streamId: the-montmartre-show-1 hash:1615060324
2021-02-25 19:01:48,071 [network_thread - 6519] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - entering stop() for the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - running stop operations in executor for stream: the-montmartre-show-1 Received audio frame: 209420 Processed audio frame: 209419Received video frame: 54586 Processed video frame: 54586
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total video encode time 249868ms, average video encode time 4ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Total audio encode time 270102ms, average audio encode time 1ms for stream: the-montmartre-show-1
2021-02-25 19:01:48,071 [vert.x-eventloop-thread-6] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Publish Stats StreamId: the-montmartre-show-1 TransferedByte: 124242919 Stream Duration: 2094197 Bitrate: 59 Source IP: 77.204.105.99 User-Agent: N/A
2021-02-25 19:01:48,075 [vert.x-eventloop-thread-8] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode video runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,076 [vert.x-eventloop-thread-9] INFO i.a.e.adaptive.WebRTCEncoderAdaptor - Encode audio runner is returning because encoder adaptor is stopped for the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 2125715136 for stream: the-montmartre-show-1 stopping scheduler job id: 1970
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Recording set to false in streamadaptor: 426333455 for stream: the-montmartre-show-1 stopping scheduler job id: 1971
2021-02-25 19:01:48,081 [vert.x-worker-thread-0] INFO i.a.e.adaptive.StreamAdaptor - Flushing video encoder:png for stream adaptor:426333455 stream id:the-montmartre-show-1
2021-02-25 19:01:48,081 [vert.x-worker-thread-15] INFO io.antmedia.muxer.RecordMuxer - cannot write audio frame to muxer(the-montmartre-show-1-2021-02-25_18-26-53_720p.mp4). Error is Invalid argument^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
Link to comment
Share on other sites
Top Posters For This Question
5
4
Popular Days
Feb 27
2
Feb 25
1
Feb 26
1
Mar 4
1
Top Posters For This Question
chandrashekar kola 5 posts
Cem K1l1 4 posts
Popular Days
Feb 27 2021
2 posts
Feb 25 2021
1 post
Feb 26 2021
1 post
Mar 4 2021
1 post
8 answers to this question
Recommended Posts