ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 632 forks source link

After applying filter, output stream is not re-publishing to any other RTMP end point #4082

Open yashtandon113 opened 2 years ago

yashtandon113 commented 2 years ago

Short description

When applying filter on any stream using filter plugin the output stream is not re-publishing to any other third party RTMP ingest point like FB, You Tube etc.

Environment

Steps to reproduce

  1. Publish WebRTC stream
  2. Apply any filter on input stream from https://antmedia.io/discover-the-filter-plugin/
  3. Add Rtmp ingest point to output stream

Expected behavior

Stream should publish fine.

Actual behavior

Stream is not publishing and output stream is also stopped playing and keep buffering.

Mohit-3196 commented 2 years ago

Similar issue happens when we make some other modifications in the stream. e.g., If the webrtc stream is video only then re-streaming to any third party RTMP endpoint, the stream doesn't play and the broadcast speed in very high.

Below is an example of the error on YouTube endpoint.

WhatsApp Image 2022-03-23 at 6 10 54 PM

burak-58 commented 2 years ago

Both problems are the same. Because if you enable MCU without adding an adaptive bitrate setting the merged video (MCU) stream is created but without audio. So the main problem is publishing the audio only stream to Youtube. Youtube doesn't allow video only stream. We may discuss to adding dummy audio to the stream for such a case.