Jump to content
  • 0

Ant Media WebRTC interface


Цэрэнчимэд Цэгмид
 Share

Question

I am trying to build streaming platform using  and I have several question about AntMedia WebRTC interface.

1. As i know WebRtc creates p2p connection between publisher and viewer. If i use antmedia how does webrtc connection work? is connection created between publisher <-> viewer or publisher <-> antmedia server <-> viewer. 
2. What is subscriber in JS Sdk. Is that viewers of broadcast?
3. If Streamer blocks certain user because of bad behavior, is there any solution to disconnect connection of viewer on server side. Now i am checking that user is blocked when page reloads. Problem is if user blocked when playing stream, player is still on. I do not want to refresh page on client side

Thank you. Best regards
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

Hi

Have a good day.

Let me explain your questions:
1. As i know WebRtc creates p2p connection between publisher and viewer. If i use antmedia how does webrtc connection work? is connection created between publisher <-> viewer or publisher <-> antmedia server <-> viewer. 
Yes, we are supporting both publisher <-> viewer and publisher <-> antmedia server <-> viewer structures on Ant Media Server.
 Ant Media Server default use-case is publisher <-> antmedia server <-> viewer mechanism. If you want to use P2P communication, you can able to do it with our sample pages. 

Please check below guides for more detail:

publisher <-> viewer:

2. What is subscriber in JS Sdk. Is that viewers of broadcast?

We are using subscriber mechanism on TOTP security structure. Subscriber mechanism supported both Playing/Publishing. Please check below guidance:

3. If Streamer blocks certain user because of bad behavior, is there any solution to disconnect connection of viewer on server side. Now i am checking that user is blocked when page reloads. Problem is if user blocked when playing stream, player is still on. I do not want to refresh page on client side

Currently, this task is on the issue tracking system. You can follow this issue here: https://github.com/ant-media/Ant-Media-Server/issues/2870

I hope, I could help you.

Best Regards,
Selim

Link to comment
Share on other sites

 Share

×
×
  • Create New...