Module mediasoup::webrtc_transport[][src]

A WebRTC transport represents a network path negotiated by both, a WebRTC endpoint and mediasoup, via ICE and DTLS procedures. A WebRTC transport may be used to receive media, to send media or to both receive and send. There is no limitation in mediasoup. However, due to their design, mediasoup-client and libmediasoupclient require separate WebRTC transports for sending and receiving.

Notes on usage

The WebRTC transport implementation of mediasoup is ICE Lite, meaning that it does not initiate ICE connections but expects ICE Binding Requests from endpoints.

Structs

EmptyListError

Empty list of listen IPs provided, should have at least one element

TransportListenIps

Struct that protects an invariant of having non-empty list of listen IPs

WeakWebRtcTransport

WeakWebRtcTransport doesn’t own WebRTC transport instance on mediasoup-worker and will not prevent one from being destroyed once last instance of regular WebRtcTransport is dropped.

WebRtcTransport

A WebRTC transport represents a network path negotiated by both, a WebRTC endpoint and mediasoup, via ICE and DTLS procedures. A WebRTC transport may be used to receive media, to send media or to both receive and send. There is no limitation in mediasoup. However, due to their design, mediasoup-client and libmediasoupclient require separate WebRTC transports for sending and receiving.

WebRtcTransportOptions

Plain transport options.

WebRtcTransportRemoteParameters

Remote parameters for WebRTC transport.

WebRtcTransportStat

RTC statistics of the WebRTC transport.