WhipSink: A bin for WHIP
Working version with asynchronous HTTP calls. Performs an HTTP request to exchange SDP offer/answer with a given endpoint which supports WHIP. Once the local and remote description are set to the webrtcbin (child element) the stream gets added as send-only (unidirectional)
Example Pipeline:
gst-launch-1.0 filesrc location=~/Videos/sintel_trailer-1080p.mp4 ! decodebin name=decoder ! queue ! video/x-raw ! videoconvert ! queue ! vp8enc deadline=1 ! rtpvp8pay ! queue ! whipsink name=ws use-link-headers=true auth-token="hellothere" whip-endpoint="http://localhost:8080" decoder. ! queue ! audio/x-raw ! opusenc ! rtpopuspay ! queue ! ws.