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.23k stars 618 forks source link

Play External RTMP Video/Link via WebRTC (Embedded Web Player) #4825

Open ajayalag1974 opened 1 year ago

ajayalag1974 commented 1 year ago

Hi,

How to play some external RTMP Video from its link rtmp://somertmphost.com:1935/live/streamname via AntMedia WebRTC (Embedded Web Player) ?

I tried this with & without url encoded without any success - https://myantmediahost.com:5443/LiveApp/play.html?id=rtmp://somertmphost.com:1935/live/streamname

This feature is already available in Flashphoner, looking for that in AntMedia.

yashtandon113 commented 1 year ago

@ajayalag1974 Thanks for creating the issue.

You can use Ant Media to pull an RTMP stream as a Stream Source and watch it using WebRTC, HLS, or Dash. See https://resources.antmedia.io/docs/re-streaming-ip-cameras-external-sources#restreaming-external-sources for more information.

I hope it helps.

ajayalag1974 commented 1 year ago

Hi,

I wanted to play rtmp link using some query parameter like mentioned in original post, this feature is available in Flashphoner, i have some usecase due to which i wanted to play this way only.

mekya commented 1 year ago

Hi @ajayalag1974 , Thank you for the issue. It just needs some custom development.

The Ant Media team is overloaded with issues. Maybe @nikhilk2kb2 or someone in the community may implement this feature for you. @nikhilk2kb2 are you helping the @ajayalag1974 ?

If not, please let me know guys so that I can post this to the community.

mekya commented 1 year ago

Hi @ajayalag1974 ,

Do you want me to try to find one that can make this development in the community?

Regards