OBS Studio Enables WebRTC Support for P2P Broadcasting

Obs Studio, a popular tool for streaming, composition, and video recording, has integrated support for WebRTC technology, allowing users to stream videos without an intermediate server. This is made possible by transmitting the contents in a peer-to-peer mode directly to the user’s browser. The latest changes to the code base of Obs Studio to accept WebRTC implementation can be found on GitHub.

The WebRTC integration is based on the libdathachannel library, written in C++. Although only broadcasting (video output) in WebRTC is currently supported, the service comes with Whip support used to establish sessions between the server and the WebRTC client. The code for supporting WebRTC as a source is still under review for now.

WebRTC technology comes with several benefits, such as reducing delays when delivering a video to a mere few seconds. This makes it possible to create interactive content and interact with the audience in real-time. Using WebRTC, users can switch between networks without interrupting broadcasting, and it allows for the transmission of multiple video streams within one session.

Additionally, WebRTC also enables users to load several options for already transcoded flows with different quality levels to cater to users with varying communication channel capacity. It is possible to use different video codes, such as H.265 and AV1, to reduce the requirements for the passage strip. The proposed tool to use for server reference implementation in P2P mode is broadcast box.

Overall, Obs Studio’s integration with WebRTC technology promises to offer a more seamless and efficient streaming experience.

/Reports, release notes, official announcements.