I get an error in wasapi2src.
Windows Server 2022 build: 20348
gst-launch-1.0 version 1.22.2
GStreamer 1.22.2
I got the Windows Server 2022 environment, so I tried the following command.
gst-launch-1.0 webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.google.com:19302 wasapi2src loopback-target-pid=0x00001D30 ! audioconvert ! opusenc ! rtpopuspay ! application/x-rtp,media=audio,encoding-name=OPUS,payload=96 ! sendrecv.
But I get the below error.
ERROR: from element /GstPipeline:pipeline0/GstWasapi2Src:wasapi2src0: Could not open resource for reading.
Additional debug info:
../sys/wasapi2/gstwasapi2ringbuffer.cpp(328): gst_wasapi2_ring_buffer_post_open_error (): /GstPipeline:pipeline0/GstWasapi2Src:wasapi2src0: