As discussed in this blog by Lorenzo Miniero, there are two ways to set up a WHEP session.
- The client originates an SDP offer (stating their intention of receiving specific media), and wait for an answer from the WHEP server, or
- ask the WHEP server to provide an SDP offer instead (with a description of the media session), and then provide the SDP answer in a further exchange. This approach was axed in the latest WHEP draft.
For testing purpose, we find two WHEP players.
- whepsrc (from gst-plugin-rs ). It takes the initiative and generate an SDP offer.
- whep player (from Eyevinn). It expects the server to provide an SDP offer.
For end-to-end test, wrtc-egress is available.