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 crate::session::Session driver takes over, so the per-codec bridges and UDP socket loop are shared.

Modules§

whep
client subscribe: dial a remote WHEP endpoint, ingest RTP into a local moq-net broadcast.
whip
client publish: dial a remote WHIP endpoint and push a MoQ broadcast out as RTP.

Structs§

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