Jump to content
  • 0

Video quality of WebRTC publisher and other question from a new user


Sebastian Reg
 Share

Question

Hi all,
Can WebRTC publisher who uses a laptop to conference call, can change the video bitrate or set it on one constants value i.e. 720p 4 Mbps?

Currently I run Ant Media Server on the lowest instance (t2.medium) , when I switch on adaptive bitrate (WebRTC application), the latency is about 5s. Will he latency fall if I use faster instance? If so, which instance do you recommend? (I want to achieve the latency around 500ms with adaptive bitrate function).

How can I receive signal from Ant Media Server with WebRTC Application to VLC or Wirecast software as as source (url link)?

Thank you in advance 
Sebastian 
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
Hi, antmedia supports adaptive bitrate streaming which lets viewers stream without buffering. You can find how to set it here: https://github.com/ant-media/Ant-Media-Server/wiki/Adaptive-Bitrate-Streaming

T type instances are burstable meaning it doesn't always give the same performance. Get a c4.xlarge or a c5.xlarge and make sure that the physical location of the machine is close to your location. 500ms can be achieved using Ant Media Server. 

After you enable HLS Muxing in the settings, you can use it as http://<SERVER_NAME>:5080/LiveApp/streams/<STREAM_ID>.m3u8
You can check the last section in this link: https://github.com/ant-media/Ant-Media-Server/wiki/HLS-Playing

If you're still getting latency over a second please let me know.
Best,
Asim

Link to comment
Share on other sites

  • 0
Hi,

I got the c4.xlarge, I am located in Poland and the closest location is eu1 central (Frankfurt).
I was sending the signal from Wirecast software encoder and receiving it in VLC (HLS) and still getting the latency over 6 seconds (mosty 8-9 seconds).
What shall I do to achieve so low latency around 500 ms in HLS and get the signal from server in VLC/Wirecast/vMix? Latency at level 8 to 9 seconds makes the whole video conference doesn't make sense...

Thank you!

W dniu poniedziałek, 30 marca 2020 14:05:49 UTC+2 użytkownik Sebastian Reg napisał:
Hi all,
Can WebRTC publisher who uses a laptop to conference call, can change the video bitrate or set it on one constants value i.e. 720p 4 Mbps?

Currently I run Ant Media Server on the lowest instance (t2.medium) , when I switch on adaptive bitrate (WebRTC application), the latency is about 5s. Will he latency fall if I use faster instance? If so, which instance do you recommend? (I want to achieve the latency around 500ms with adaptive bitrate function).

How can I receive signal from Ant Media Server with WebRTC Application to VLC or Wirecast software as as source (url link)?

Thank you in advance 
Sebastian 
Link to comment
Share on other sites

  • 0
Hi Asim.

Thank you for your reply. I send WebRTC signal from encoder to the server but after what you wrote, it looks like I just don't know how to receive WebRTC signal in VLC application. Do I need a dedicated URL?

I will describe the case for better understanding what I want to do. I want to send video from one live studio to another one, with as low latency as possible. That is why I would like to use Ant Media Server (Enterprise Edition License) and send video from RTMP encoder to Ant Media Server (WebRTC application) and receive  this signal in second live studio in video mixer like vMix/Wirecast Pro or VLC application. Is this possible and how to set such connection? How to do that?

Thank you in advance.


W dniu czwartek, 2 kwietnia 2020 14:25:39 UTC+2 użytkownik mahmut asım Onat napisał:
Hi Sebastian,

The problem is not with the server but with the technology, you need to use WebRTC on both ends to achieve such low latency. It is typical to get 6-10 second latency with RTMP/WebRTC to HLS streaming path.

Best,
Asim
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...