I want to stream live audio with gstreamer using ‘opus’ codec. At the transmitter end I am using the following script:
" gst-launch-1.0 autoaudiosrc ! audioconvert ! audioresample ! opusenc bitrate=48000 max-payload-size=101 packet-loss-percentage=0 frame-size=20 bandwidth=fullband audio-type=generic hard-resync=false inband-fec=true complexity=10 bitrate-type=constrained-vbr ! rtpopuspay ! udpsink host=220.127.116.11 port=5001 "
Receiver: At receiver I am trying to receive the stream with VLC player using the following script:
SDP file content: stream.sdp
m=audio 5001 RTP/AVP 101
c=IN IP4 18.104.22.168
But when I execute the VLC script with SDP file, nothing happens. The player remains paused.
I verified the transmitter script with ‘gstreamer’ receiver and it works fine.
I am not getting if there is something wrong in SDP file or some configuration issue is there.
I hope I’ll find some help here.