-
This is a more advanced GSTREAMER TCP OPUS RTP AUDIO STREAMING SCRIPT - using OPUS FEC, PLC & Variable Bitrate
-
TRANSMIT - RECEIVE Operator 1
gst-launch-1.0 -v jackaudiosrc ! audioconvert ! audioresample ! queue ! opusenc inband-fec=true frame-size=2.5 bitrate-type=1 ! rtpopuspay ! gdppay ! queue ! tcpserversink host=192.168.1.101 port=3006
gst-launch-1.0 -v tcpclientsrc host=192.168.1.101 port=3006 ! gdpdepay ! rtpopusdepay ! opusdec plc=true use-inband-fec=true ! audioconvert ! audioresample ! jackaudiosink sync=false
TRANSMIT - RECEIVE Operator 2
gst-launch-1.0 -v jackaudiosrc ! audioconvert ! audioresample ! queue ! opusenc inband-fec=true frame-size=2.5 bitrate-type=1 ! rtpopuspay ! gdppay ! queue ! tcpserversink host=192.168.1.101 port=3003
gst-launch-1.0 -v tcpclientsrc host=192.168.1.101 port=3003 ! gdpdepay ! rtpopusdepay ! opusdec plc=true use-inband-fec=true ! audioconvert ! audioresample ! jackaudiosink sync=false
The scripts ip addresses above are adapted for this video to represent an over the internet Gstreamer OPUS TCP RTP VOIP session between 2 operators...
the ip addresses of the TCP CLIENTsrc would have to be adjusted to the "real" external ip address of the "other" Operator's TCP SERVER
the Operator's TCPSERVERsink port needs to be portforwarded on the op's router to the ip address of computer being used...
the Operator's TCPSERVERsink ip address, is the local ip address of the computer being used for this TCPserver Gstreamer script
Смотрите видео Gstreamer TCP RTP OPUS "audio OVER ip" scripts example - LIVE DEMO between 2 Gstreamer operators онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь QRQcw 31 Октябрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 884 раз и оно понравилось 4 людям.