Skip to main content

Module client

Module client 

Source
Expand description

HTTP-client side: dial a remote WHIP/WHEP endpoint over an SDP exchange.

Counterpart to crate::server. Whereas the server accepts POSTed offers, the client mints the offer with str0m::Rtc::sdp_api and POSTs it to the remote URL. Once the answer arrives the same internal session driver takes over, so the per-codec bridges and UDP socket loop are shared.

Structsยง

Client
Outbound WHIP/WHEP dialer.
Config
Configuration shared by both client publish and client subscribe.