Jump to content
  • 0

Streaming via LiveU encoders


SebastianReg
 Share

Question

Hello, 

 

 

I have a technical question. We broadcast very often using hardware encoders such as LiveU LU300 or LU600. In these devices, the encoder profile can be selected from Main and High, so when I send a signal to the Ant Media Server to  WebRTC apllication  (main or high profile), the image is not smooth. However, when I send signal, for example, via vMix, with the baseline encoder profile, everything works very smoothly. What to do to send a WebRTC signal through the hardware encoder, so with the codecs LiveU uses, the image was smooth and 500  milliseconds delay(WebRTC).

  • Thanks 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @Sebastian Reg,

Thank you for your entry. This is a chance for us to tell why WebRTC has issue with Main or High profiles RTMP streams. 

In Main and High profiles, H264 encoder generates B frames (which requires upcoming frames to decode) to compress more. Since WebRTC is a real time streaming protocol it doesn't accept B frames and drops them. Otherwise it would waits for the future frames and so requires buffering. But it doesn't do it. So eliminating B frames is important for RTMP to WebRTC streaming.

If you can't change encoder profile to Baseline you may prevent B frames (if your encoder settings let you do it). Also adding an adaptive bitrate setting in Ant Media Server is another solution to solve this.

  • Thanks 1
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...