Jump to content
  • 0

How to restream youtube links with antmedia


Amit
 Share

Question

2 answers to this question

Recommended Posts

  • 1
46 minutes ago, Amit said:

Hi,

 

How can i restream youtube links with antmedia server?

Hi @Amit,

How are you?

 

I understand that you want to stream YouTube videos instead of re-streaming to YouTube Endpoint.

Though I think we can't directly pull the YouTube streams due to content security policies of such platforms and the copyright policies.

So I would request you to please check if you have the permission to stream YouTube content directly.

The workaround solution is to capture the screen/tab and share it by using the sample webrtc publish page (index.html) or through third party encoder like OBS and push RTMP stream to Ant Media Server.

 

Let me know if you need any help from me.

 

Thank you,

Mohit Dubey

Link to comment
Share on other sites

  • 1
On 7/26/2022 at 7:58 PM, Amit said:

Hi,

 

How can i restream youtube links with antmedia server?

As @Mohit said above  -

I would request you to please check if you have the permission to stream YouTube content directly.

This is very important. From here onwards i will assume that you are a responsible person and that the content to be stream belongs to you.

1. You can take help of a downloader program to help download / get direct url of the media 
2. Use FFMPEG  to read the file and stream it over RTMP/RTSP to Ant Media Server. (FFMPEG does not support WebRTC at the moment)

 

  • Thanks 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...