Last update：2023-02-28 09:45:08
This document is to guide you how to config WebRTC for your streams.
Usually, it’s RTMP push stream and WebRTC pull stream.
you can use OBS to push your stream. (push stream need to remove B frame because WebRTC video encoding doesn’t support B frame, otherwise your playback will be stuterring.)
CDNetworks support WebRTC pull stream for 3 client types: Web, IOS, Android.
In addition, CDNetworks also provide WebRTC push stream if needed.
WebRTC supports only Opus for audio encoding and H.264 without B frame for video encoding when pulling streams. If you push streams through any other protocol (for example RTMP, which uses AAC format of audio, or normal H.264 with B frame), you need to transcode RTMP into standard WebRTC for stream pulling, which increases latency and costs due to transcoding.
there need several steps to make sure you can use OBS to push WebRTC stream.
First of all, you need to make sure:
Then follow below steps to configure.
Now, the settings are completed. Then ask customer service to get the push URL and pull URL.
Then, you can open your OBS settings and config as below. you will find wangsu webRTC after your webRTC setting finished and succeed. and type in your push url into the stream key field.
If all your settings are good and you still cannot push the stream, it might because your OBS version too high, please try lower your OBS version to 26 and try again.