meetecho / simple-whep-client

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

POST contains no data? #3

Closed mpisat closed 1 year ago

mpisat commented 1 year ago

I'm testing it but it is sending an empty POST request to my /api/whep endpoint.

It was very difficult to get all required gstreamer packages and I can't get it to work...

lminiero commented 1 year ago

As explained in the README:

Notice, though, that just as the WHEP server, this client only implements sessions based on the server offering, meaning it will not work in case the WHEP server expects an offer from the client instead.

As such, we send an empty post and expect an offer from the server instead.

lminiero commented 1 year ago

If you're using this with our WHEP server (and Janus), it will work.

mpisat commented 1 year ago

Well, I was hoping WHIP and WHEP will standardize WebRTC but so far I only had good luck with WHIP and WHIP alone. Anyways, thanks for the quick response.

lminiero commented 1 year ago

The standardization for WHIP is almost done, WHEP has just started. You'll have to endure many changes before that's complete too.