Unable to playback stream whepsrc Could not reuse transceiver
Reposting my comment as a Issue since I didn't get a response on there.
I have tried the WHIP and WHEP pipeline from issue #414 (closed) with CloudFlare SFU.
WHIP working fine and the video getting streamed.
gst-launch-1.0 videotestsrc pattern=ball ! "video/x-raw,size=1920x1080,rate=30" \ ! videoconvert ! queue ! vp8enc ! rtpvp8pay pt=101 \ ! queue ! "application/x-rtp,media=video,encoding-name=VP8,payload=101,clock-rate=90000" \ ! whipsink whip-endpoint=$WHIP
For the WHEP pipeline, at first, it was giving the following error for audio.
Unexpected response: 406 - cannot satisfy playback request: requesting non-existent audio track
Resolved the above issue by removing the audio caps from the pipeline but started getting the following error with the transceiver
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstWhepSrc:whepsrc0: GStreamer encountered a general supporting library error.
Additional debug info:
net/webrtchttp/src/whepsrc/imp.rs(839): gstwebrtchttp::whepsrc::imp (): /GstPipeline:pipeline0/GstWhepSrc:whepsrc0:
generate offer::Promise returned with error: Could not reuse transceiver
Execution ended after 0:00:02.397483000
Setting pipeline to NULL ...
Freeing pipeline ..
WHEP Pipeline
gst-launch-1.0 whepsrc whep-endpoint=$WHEP video-caps="application/x-rtp,payload=101,encoding-name=VP8,media=video,clock-rate=90000" ! rtpvp8depay ! vp8dec ! videoconvert ! autovideosink
Not sure what causing this issue with whepsrc, I have tried the online WHEP player here and the video is getting played seamlessly.