Skip to content

WebRTC Server Operator#

Authors: Holoscan Team (NVIDIA)
Supported platforms: x86_64, aarch64
Language: Python
Last modified: March 9, 2026
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

API Reference#

Python#

WebRTCServerOp#

Inherits from: Operator

Methods#
Method Description
__init__()
offer(sdp, type)
shutdown()
setup(spec)
start()
stop()
compute(op_input, op_output, context)