meetecho / simple-whep-client

Simple WHEP Client (based on GStreamer's webrtcbin)
GNU General Public License v3.0
7 stars 3 forks source link

Make the WHEP client send an offer and not expect one #9

Closed lminiero closed 7 months ago

lminiero commented 9 months ago

The Simple WHEP client was still expecting an SDP offer from WHEP servers, which is a mode the draft got rid of some time ago. It took me some time to look into the changes needed in order to get the WHEP client to send an offer instead, and I eventually got it working.

Notice that, as shown in the example in the README, it's up to you to specify the codecs (audio and/or video) that you expect to receive back. I don't know if there are ways to use GStreamer caps to make this more flexible (e.g., accept VP8 or H.264).

This PR is based on #8, which means you'll need libsoup3 to compile and use this.

lminiero commented 7 months ago

Merging.