View Source Membrane.WebRTC.WhipServer (Membrane WebRTC plugin v0.23.1)
Server accepting WHIP connections.
Accepts the following options:
handle_new_client
- function that accepts the client token and returns either the signaling channel to negotiate the connection or error to reject it. The signaling channel can be passed toMembrane.WebRTC.Source
.serve_static
- path to static assets that should be served along with WHIP, under a/static
endpoint. Useful to serve HTML assets. If set tofalse
(default), no static assets are served- Any of
Bandit.options/0
- Bandit configuration
Summary
Types
Functions
@spec child_spec([option()]) :: Supervisor.child_spec()
@spec start_link([option()]) :: Supervisor.on_start()