Skip to content

WebRTC Server Operator#

Authors: Holoscan Team (NVIDIA)
Supported platforms: x86_64, aarch64
Last modified: May 13, 2025
Latest version: 1.0
Minimum Holoscan SDK version: 0.6.0
Tested Holoscan SDK versions: 0.6.0
Contribution metric: Level 1 - Highly Reliable

The webrtc_server operator sends video frames through a WebRTC connection. The application using this operator needs to call the offer method of the operator when a new WebRTC connection is available.

Methods#

  • async def offer(self, sdp, type) -> (local_sdp, local_type) Start a connection between the local computer and the peer.

Parameters - sdp peer Session Description Protocol object - type peer session type

Return values - sdp local Session Description Protocol object - type local session type

Inputs#

  • input: Tensor or numpy array with 8 bit per component RGB data
  • type: Tensor