Jump to content
  • 0

Facebook Stream Stop on reconnect rtmp stream from software to antmedia


Alexander Castellanos
 Share

Question

hello, i have a little problem creating a stream on facebook using a software that sends facebook data to antmedia and then creates an rtmp stream in antmedia and uses that facebook endpoint and creates the stream there, but in the application i have a section which does the rtmp reconnect, which does rtmp.close, and then reconfigures and starts it, antmedia receives it and works fine with youtube for example, but when I create the stream with facebook, it ends it when I do that reconnect, but in antmedia continues as streaming, maybe there is some parameter in the server that keeps the stream without ending it unless I end it manually in antmedia?
 


 

Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

mi logs on ant media when i reconnect rtmp on my app.

 

undefinedloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:42,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:43,524 [vert.x-worker-thread-53] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:44,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:44,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:44,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:27:44,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:44,425 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - start rtmp streaming for stream id:01QVMn2PJy0HTIYY8PlU to rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw with requested resolution height720 stream resolution:720
2023-02-07 22:27:44,426 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - prepareMuxer for stream:01QVMn2PJy0HTIYY8PlU muxer:RtmpMuxer
2023-02-07 22:27:44,426 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:27:44,426 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:44,426 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:44,494 [vert.x-worker-thread-16] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:44,700 [vert.x-worker-thread-50] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:27:44,700 [vert.x-worker-thread-50] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:44,700 [vert.x-worker-thread-50] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:45,834 [vert.x-worker-thread-37] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:46,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:46,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:47,183 [vert.x-worker-thread-57] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:48,553 [vert.x-worker-thread-63] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:48,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:48,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:49,974 [vert.x-worker-thread-17] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:50,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:50,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:50,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:27:50,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:50,700 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - start rtmp streaming for stream id:01QVMn2PJy0HTIYY8PlU to rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw with requested resolution height720 stream resolution:720
2023-02-07 22:27:50,701 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - prepareMuxer for stream:01QVMn2PJy0HTIYY8PlU muxer:RtmpMuxer
2023-02-07 22:27:50,701 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:27:50,701 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:50,701 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:50,753 [vert.x-worker-thread-48] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:50,979 [vert.x-worker-thread-61] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:27:50,979 [vert.x-worker-thread-61] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:50,979 [vert.x-worker-thread-61] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:52,104 [vert.x-worker-thread-16] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:52,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:52,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:53,483 [vert.x-worker-thread-22] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:53,560 [https-jsse-nio2-0.0.0.0-5443-exec-4] INFO  io.antmedia.rest.RestServiceBase - Version Name 2.5.1 Version Type Community Edition
2023-02-07 22:27:54,834 [vert.x-worker-thread-42] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:54,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:54,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:56,193 [vert.x-worker-thread-60] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:56,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:56,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:56,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:27:56,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:56,979 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - start rtmp streaming for stream id:01QVMn2PJy0HTIYY8PlU to rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw with requested resolution height720 stream resolution:720
2023-02-07 22:27:56,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - prepareMuxer for stream:01QVMn2PJy0HTIYY8PlU muxer:RtmpMuxer
2023-02-07 22:27:56,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:27:56,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:56,980 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,136 [RTMPConnectionExecutor-1] INFO  o.red5.server.stream.StreamService - closeStream  stream id: 1.0 connection: MXLE441WOV7LF
2023-02-07 22:27:57,136 [NioProcessor-12] INFO  o.r.s.stream.ClientBroadcastStream - Checking mux adaptor to stop 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,136 [NioProcessor-12] INFO  io.antmedia.muxer.MuxAdaptor - Calling stop for 01QVMn2PJy0HTIYY8PlU input queue size:0
2023-02-07 22:27:57,136 [NioProcessor-12] INFO  o.r.s.stream.ClientBroadcastStream - Mux Adaptor stop called 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,136 [NioProcessor-12] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:stream x-event:unpublish c-ip:102.177.160.35 cs-bytes:717217 sc-bytes:3595 x-sname:b1f0a19e-491c-41e1-a185-a325ec29fb70 x-file-length:19 x-name:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,136 [NioProcessor-12] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:session x-event:disconnect c-ip:102.177.160.35 c-client-id:394
2023-02-07 22:27:57,143 [vert.x-worker-thread-28] WARN  io.antmedia.muxer.MuxAdaptor - closing adaptor for 01QVMn2PJy0HTIYY8PlU 
2023-02-07 22:27:57,143 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - close resources for streamId -> 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,143 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - Cancelling packet poller task(id:6547) for streamId: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,143 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.HLSMuxer - writing trailer for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,144 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.HLSMuxer - Delete File onexit:true upload to S3:true stream:01QVMn2PJy0HTIYY8PlU hls time:2 hlslist size:5
2023-02-07 22:27:57,144 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:27:57,144 [vert.x-worker-thread-28] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:57,144 [vert.x-worker-thread-28] WARN  io.antmedia.muxer.MuxAdaptor - closed adaptor for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,181 [vert.x-worker-thread-41] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:27:57,181 [vert.x-worker-thread-41] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:57,181 [vert.x-worker-thread-41] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:57,181 [vert.x-worker-thread-41] INFO  i.a.AntMediaApplicationAdapter - Closing broadcast stream id: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,182 [vert.x-worker-thread-41] INFO  i.a.AntMediaApplicationAdapter - Setting timer to call live stream ended hook for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:57,182 [vert.x-worker-thread-41] INFO  io.antmedia.statistic.ViewerStats - Reset hls Stream ID: 01QVMn2PJy0HTIYY8PlU remove failed or null
2023-02-07 22:27:57,182 [vert.x-worker-thread-41] INFO  io.antmedia.statistic.ViewerStats - Reset dash Stream ID: 01QVMn2PJy0HTIYY8PlU remove failed or null
2023-02-07 22:27:57,182 [vert.x-eventloop-thread-52] INFO  i.a.AntMediaApplicationAdapter - Running notify hook url:https://us-central1-apollo-streams-5f383.cloudfunctions.net/antMediaStateWebhook stream id: 01QVMn2PJy0HTIYY8PlU action:liveStreamEnded vod name:null vod id:null
2023-02-07 22:27:57,452 [NioProcessor-13] INFO  o.r.s.net.rtmp.InboundHandshake - Client signature doesn't match!
2023-02-07 22:27:57,545 [vert.x-eventloop-thread-52] INFO  i.a.AntMediaApplicationAdapter - POST Response Status:: 200
2023-02-07 22:27:57,607 [RTMPConnectionExecutor-3] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:session x-event:connect c-ip:102.177.160.35 c-client-id:395
2023-02-07 22:27:58,271 [RTMPConnectionExecutor-1] INFO  i.a.s.AcceptOnlyStreamsInDataStore - AcceptOnlyStreamsInDataStore is not activated. Accepting all streams 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,271 [RTMPConnectionExecutor-1] INFO  i.a.s.AcceptOnlyStreamsWithWebhook - AcceptOnlyStreamsWithWebhook is not activated for stream 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,272 [RTMPConnectionExecutor-1] INFO  org.red5.server.scope.BasicScope - ClientBroadcastStream already exists: org.red5.server.stream.ClientBroadcastStream@312934e1 new: org.red5.server.stream.ClientBroadcastStream@312934e1
2023-02-07 22:27:58,272 [RTMPConnectionExecutor-1] INFO  o.r.s.stream.ClientBroadcastStream - Stream start: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,272 [RTMPConnectionExecutor-1] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:stream x-event:publish c-ip:102.177.160.35 x-sname:79b71636-e8ec-4f01-adc9-d9c583a5e67d x-name:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,273 [RTMPConnectionExecutor-1] ERROR io.antmedia.muxer.MuxAdaptor - io.antmedia.enterprise.adaptive.EncoderAdaptor
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  i.a.AntMediaApplicationAdapter -  Status of stream 01QVMn2PJy0HTIYY8PlU is set to Broadcasting with result: true
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - serverSettings exist io.antmedia.settings.ServerSettings@778104e0
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - vertx exist io.vertx.core.impl.VertxImpl@3e0c5ad7
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - serverSettings exist io.antmedia.settings.ServerSettings@778104e0
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - adding HLS Muxer for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,274 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.HLSMuxer - hls time: 2, hls list size: 5 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,275 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - Number of items in the queue while adaptor is being started to prepare is 0
2023-02-07 22:27:58,275 [vert.x-worker-thread-13] INFO  io.antmedia.muxer.MuxAdaptor - before prepare for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,275 [vert.x-worker-thread-13] INFO  io.antmedia.muxer.MuxAdaptor - Number of items in the queue while starting: 0 for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,275 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - muxadaptor start has finished with true for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,431 [RTMPConnectionExecutor-3] INFO  o.red5.server.stream.AbstractStream - metadata read data type -->>>> core map
2023-02-07 22:27:58,431 [RTMPConnectionExecutor-3] INFO  io.antmedia.muxer.MuxAdaptor - first received frame timestamp: 0 for stream:01QVMn2PJy0HTIYY8PlU 
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  i.a.muxer.parser.AACConfigParser - AAC object type:AAC_LC 
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  i.a.muxer.parser.AACConfigParser - AAC Sample rate:44100 
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.MuxAdaptor - Video and audio is enabled in stream:01QVMn2PJy0HTIYY8PlU queue size: 7
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.MuxAdaptor - Incoming video width: 1280 height:720 stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,486 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,487 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,487 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,489 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.HLSMuxer - Header is written for stream:01QVMn2PJy0HTIYY8PlU and url:/usr/local/antmedia/webapps/LiveApp/streams/01QVMn2PJy0HTIYY8PlU.m3u8
2023-02-07 22:27:58,489 [vert.x-worker-thread-20] INFO  i.a.AntMediaApplicationAdapter - start publish leaved for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,489 [vert.x-worker-thread-20] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:27:58,490 [vert.x-worker-thread-20] INFO  io.antmedia.muxer.HLSMuxer - cannot write audio frame to muxer(01QVMn2PJy0HTIYY8PlU.m3u8). Error is Invalid argument 
2023-02-07 22:27:58,490 [vert.x-worker-thread-20] WARN  io.antmedia.muxer.HLSMuxer - cannot write video frame to muxer(01QVMn2PJy0HTIYY8PlU.m3u8) av_bsf_receive_packet. Error is Invalid argument 
2023-02-07 22:27:58,857 [vert.x-worker-thread-42] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:27:58,857 [vert.x-worker-thread-42] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:58,857 [vert.x-worker-thread-42] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:58,858 [vert.x-worker-thread-42] INFO  i.a.AntMediaApplicationAdapter -  Status of stream 01QVMn2PJy0HTIYY8PlU is set to Broadcasting with result: true
2023-02-07 22:27:58,858 [vert.x-worker-thread-42] INFO  i.a.AntMediaApplicationAdapter - Setting timer to call live stream started hook for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:27:58,868 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - Running notify hook url:https://us-central1-apollo-streams-5f383.cloudfunctions.net/antMediaStateWebhook stream id: 01QVMn2PJy0HTIYY8PlU action:liveStreamStarted vod name:null vod id:null
2023-02-07 22:27:59,119 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - POST Response Status:: 200
2023-02-07 22:27:59,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:27:59,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:27:59,816 [vert.x-worker-thread-29] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:00,490 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - Broadcast absolute time is not available for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:00,857 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:00,857 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:01,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:01,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:01,195 [vert.x-worker-thread-8] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:02,555 [vert.x-worker-thread-33] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:02,857 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:02,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Exceeded republish retry limit, endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw can't be reached and will be closed
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  i.a.AntMediaApplicationAdapter - Setting timer to call rtmp endpoint failed hook for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:03,183 [vert.x-eventloop-thread-52] INFO  i.a.AntMediaApplicationAdapter - Running notify hook url:https://us-central1-apollo-streams-5f383.cloudfunctions.net/antMediaStateWebhook stream id: 01QVMn2PJy0HTIYY8PlU action:endpointFailed vod name:null vod id:null
2023-02-07 22:28:03,439 [vert.x-eventloop-thread-52] INFO  i.a.AntMediaApplicationAdapter - POST Response Status:: 200
2023-02-07 22:28:03,955 [vert.x-worker-thread-45] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - start rtmp streaming for stream id:01QVMn2PJy0HTIYY8PlU to rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw with requested resolution height720 stream resolution:720
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - prepareMuxer for stream:01QVMn2PJy0HTIYY8PlU muxer:RtmpMuxer
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:04,858 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:04,866 [vert.x-worker-thread-51] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:05,206 [vert.x-worker-thread-4] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:28:05,206 [vert.x-worker-thread-4] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:05,206 [vert.x-worker-thread-4] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:06,186 [vert.x-worker-thread-53] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:06,759 [NioProcessor-13] INFO  o.r.s.stream.ClientBroadcastStream - Checking mux adaptor to stop 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,759 [RTMPConnectionExecutor-1] WARN  o.red5.server.net.rtmp.RTMPHandler - Not connected, closing connection
2023-02-07 22:28:06,759 [NioProcessor-13] INFO  io.antmedia.muxer.MuxAdaptor - Calling stop for 01QVMn2PJy0HTIYY8PlU input queue size:0
2023-02-07 22:28:06,759 [NioProcessor-13] INFO  o.r.s.stream.ClientBroadcastStream - Mux Adaptor stop called 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,760 [NioProcessor-13] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:stream x-event:unpublish c-ip:102.177.160.35 cs-bytes:328858 sc-bytes:3573 x-sname:79b71636-e8ec-4f01-adc9-d9c583a5e67d x-file-length:8 x-name:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,760 [NioProcessor-13] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:session x-event:disconnect c-ip:102.177.160.35 c-client-id:395
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] WARN  io.antmedia.muxer.MuxAdaptor - closing adaptor for 01QVMn2PJy0HTIYY8PlU 
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.MuxAdaptor - close resources for streamId -> 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.MuxAdaptor - Cancelling packet poller task(id:6564) for streamId: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.HLSMuxer - writing trailer for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.HLSMuxer - Delete File onexit:true upload to S3:true stream:01QVMn2PJy0HTIYY8PlU hls time:2 hlslist size:5
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:06,766 [vert.x-worker-thread-51] WARN  io.antmedia.muxer.MuxAdaptor - closed adaptor for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,767 [vert.x-worker-thread-51] INFO  i.a.AntMediaApplicationAdapter - Closing broadcast stream id: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,768 [vert.x-worker-thread-51] INFO  i.a.AntMediaApplicationAdapter - Setting timer to call live stream ended hook for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:06,768 [vert.x-worker-thread-51] INFO  io.antmedia.statistic.ViewerStats - Reset hls Stream ID: 01QVMn2PJy0HTIYY8PlU remove failed or null
2023-02-07 22:28:06,768 [vert.x-worker-thread-51] INFO  io.antmedia.statistic.ViewerStats - Reset dash Stream ID: 01QVMn2PJy0HTIYY8PlU remove failed or null
2023-02-07 22:28:06,768 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - Running notify hook url:https://us-central1-apollo-streams-5f383.cloudfunctions.net/antMediaStateWebhook stream id: 01QVMn2PJy0HTIYY8PlU action:liveStreamEnded vod name:null vod id:null
2023-02-07 22:28:06,990 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - POST Response Status:: 200
2023-02-07 22:28:07,081 [NioProcessor-14] INFO  o.r.s.net.rtmp.InboundHandshake - Client signature doesn't match!
2023-02-07 22:28:07,207 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: finished 
2023-02-07 22:28:07,207 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint trailer is written or broadcast deleted for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:28:07,236 [RTMPConnectionExecutor-2] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:session x-event:connect c-ip:102.177.160.35 c-client-id:396
2023-02-07 22:28:07,900 [RTMPConnectionExecutor-1] INFO  i.a.s.AcceptOnlyStreamsInDataStore - AcceptOnlyStreamsInDataStore is not activated. Accepting all streams 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,901 [RTMPConnectionExecutor-1] INFO  i.a.s.AcceptOnlyStreamsWithWebhook - AcceptOnlyStreamsWithWebhook is not activated for stream 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,901 [RTMPConnectionExecutor-1] INFO  org.red5.server.scope.BasicScope - ClientBroadcastStream already exists: org.red5.server.stream.ClientBroadcastStream@14d13430 new: org.red5.server.stream.ClientBroadcastStream@14d13430
2023-02-07 22:28:07,901 [RTMPConnectionExecutor-1] INFO  o.r.s.stream.ClientBroadcastStream - Stream start: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,901 [RTMPConnectionExecutor-1] INFO  i.a.AntMediaApplicationAdapter - W3C x-category:stream x-event:publish c-ip:102.177.160.35 x-sname:dbeb4606-4db3-41d2-b0a7-6308ffb79256 x-name:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,902 [RTMPConnectionExecutor-1] ERROR io.antmedia.muxer.MuxAdaptor - io.antmedia.enterprise.adaptive.EncoderAdaptor
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  i.a.AntMediaApplicationAdapter -  Status of stream 01QVMn2PJy0HTIYY8PlU is set to Broadcasting with result: true
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - serverSettings exist io.antmedia.settings.ServerSettings@778104e0
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - vertx exist io.vertx.core.impl.VertxImpl@3e0c5ad7
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - serverSettings exist io.antmedia.settings.ServerSettings@778104e0
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - adding HLS Muxer for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.HLSMuxer - hls time: 2, hls list size: 5 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,903 [RTMPConnectionExecutor-1] INFO  io.antmedia.muxer.MuxAdaptor - Number of items in the queue while adaptor is being started to prepare is 0
2023-02-07 22:28:07,904 [vert.x-worker-thread-24] INFO  io.antmedia.muxer.MuxAdaptor - before prepare for 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,904 [vert.x-worker-thread-24] INFO  io.antmedia.muxer.MuxAdaptor - Number of items in the queue while starting: 0 for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:07,904 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - muxadaptor start has finished with true for stream: 01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,056 [RTMPConnectionExecutor-2] INFO  o.red5.server.stream.AbstractStream - metadata read data type -->>>> core map
2023-02-07 22:28:08,056 [RTMPConnectionExecutor-2] INFO  io.antmedia.muxer.MuxAdaptor - first received frame timestamp: 0 for stream:01QVMn2PJy0HTIYY8PlU 
2023-02-07 22:28:08,104 [vert.x-worker-thread-33] INFO  i.a.muxer.parser.AACConfigParser - AAC object type:AAC_LC 
2023-02-07 22:28:08,104 [vert.x-worker-thread-33] INFO  i.a.muxer.parser.AACConfigParser - AAC Sample rate:44100 
2023-02-07 22:28:08,104 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.MuxAdaptor - Video and audio is enabled in stream:01QVMn2PJy0HTIYY8PlU queue size: 5
2023-02-07 22:28:08,104 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.MuxAdaptor - Incoming video width: 1280 height:720 stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.RtmpMuxer - Creating outputFormatContext
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:0 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.RtmpMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.HLSMuxer - Adding timebase to the input time base map index:1 value: 1/1000 for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.HLSMuxer - Header is written for stream:01QVMn2PJy0HTIYY8PlU and url:/usr/local/antmedia/webapps/LiveApp/streams/01QVMn2PJy0HTIYY8PlU.m3u8
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  i.a.AntMediaApplicationAdapter - start publish leaved for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] INFO  io.antmedia.muxer.HLSMuxer - cannot write audio frame to muxer(01QVMn2PJy0HTIYY8PlU.m3u8). Error is Invalid argument 
2023-02-07 22:28:08,105 [vert.x-worker-thread-33] WARN  io.antmedia.muxer.HLSMuxer - cannot write video frame to muxer(01QVMn2PJy0HTIYY8PlU.m3u8) av_bsf_receive_packet. Error is Invalid argument 
2023-02-07 22:28:08,372 [vert.x-worker-thread-6] WARN  io.antmedia.muxer.RtmpMuxer - Could not open output url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw 
2023-02-07 22:28:08,372 [vert.x-worker-thread-6] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to failed  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:08,372 [vert.x-worker-thread-6] ERROR io.antmedia.muxer.RtmpMuxer - Cannot initializeOutputFormatContextIO for rtmp endpoint:rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:08,373 [vert.x-worker-thread-6] INFO  i.a.AntMediaApplicationAdapter -  Status of stream 01QVMn2PJy0HTIYY8PlU is set to Broadcasting with result: true
2023-02-07 22:28:08,373 [vert.x-worker-thread-6] INFO  i.a.AntMediaApplicationAdapter - Setting timer to call live stream started hook for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:08,384 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - Running notify hook url:https://us-central1-apollo-streams-5f383.cloudfunctions.net/antMediaStateWebhook stream id: 01QVMn2PJy0HTIYY8PlU action:liveStreamStarted vod name:null vod id:null
2023-02-07 22:28:08,634 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - POST Response Status:: 200
2023-02-07 22:28:09,454 [vert.x-worker-thread-42] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:10,106 [vert.x-eventloop-thread-53] INFO  i.a.AntMediaApplicationAdapter - Broadcast absolute time is not available for stream:01QVMn2PJy0HTIYY8PlU
2023-02-07 22:28:10,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:10,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 1 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:10,824 [vert.x-worker-thread-32] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:12,174 [vert.x-worker-thread-37] WARN  io.antmedia.muxer.RtmpMuxer - Not writing to RTMP muxer because it's not started for rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:12,374 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:12,374 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint check returned error for 2 times for endpoint rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:13,564 [vert.x-worker-thread-25] WARN  io.antmedia.muxer.RtmpMuxer - Not writing AudioBuffer for 01QVMn2PJy0HTIYY8PlU because Is running:false
2023-02-07 22:28:14,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Checking the endpoint health for: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw and status: failed 
2023-02-07 22:28:14,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Health check process failed, trying to republish to the endpoint: rtmps://live-api-s.facebook.com:443/rtmp/1657272288076558?s_asc=1&s_bl=1&s_oil=2&s_psm=1&s_pub=1&s_sw=0&s_tids=1&s_vt=api-s&a=AbyjtLwV7s-VW5lw
2023-02-07 22:28:14,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.RtmpMuxer - Not writing trailer because header is not written yet
2023-02-07 22:28:14,373 [vert.x-eventloop-thread-53] INFO  io.antmedia.muxer.MuxAdaptor - Endpoint status updated to finished  for streamId: 01QVMn2PJy0HTIYY8PlU for url: rtmps://live

 

Link to comment
Share on other sites

  • 0

Hi Alexander, 

Thanks for reaching out, but I am finding it a bit challenging to understand what the exact problem is.

Could you explain again how you have the stream setup? I do not quite understand. Are you saying you are pulling a stream from Facebook into Ant Media Server and then pushing that back to Facebook? 

So: Facebook > AMS > Facebook?

When you say "in the application i have a section which does the rtmp reconnect" do you mean you have created a custom application that you've uploaded to Ant Media Server which has some specific logic you are executing thats not working? If so, what is that logic and your expected result vs what you are experiencing?

Link to comment
Share on other sites

  • 0

The easiest way I can explain is that I send the url and the key of the facebook stream to ant media, then my app starts sending the video and audio data to ant media, but in my app I have a button that closes the rtmp connection with ant media and restarts it (reconnect or restore the streaming) via rtmp with and media and by doing that the facebook stream ends immediately. but after reconnecting my app with antmedia it shows that it is in ant media broadcasting but the stream on facebook has already ended.
 

Link to comment
Share on other sites

  • 0

Hi Alexander, 

I understand that you are simulcasting to Facebook as per the guide here https://resources.antmedia.io/docs/simulcasting-to-social-media-channels?highlight=simulcas

It is expected that when you end the live stream from your app, it will stop simulcasting to Facebook and end the stream, but are you saying once you disconnect and then reconnect your live stream, its successful in Ant Media Server, but is not simulcasting to Facebook? 

Are you using a persistent stream key from Facebook, if not, then you will have to generate a new stream key once you have ended the stream. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...