Raspberry Pi Stretch Lite Gstreamer1.0-tools to LAN Janus Gateway Video Room command line assistance

150 views
Skip to first unread message

Robert Davis

unread,
Dec 13, 2017, 8:46:59 PM12/13/17
to meetecho-janus
Raspberry Pi Stretch Lite Gstreamer1.0-tools to LAN Janus Gateway Video Room command line assistance

I have the gstreamer1.0 working on Raspberry Pi to itself with the following command line

raspivid -n -w 640 -h 480 -b 2000000 -fps 30 -vf -hf -t 0 -pf baseline -o - | gst-launch-1.0 -v fdsrc fd=0 ! h264parse !  rtph264pay config-interval=2 pt=126 ! udpsink host=127.0.0.1 port=8004

How can this be modified to send the Raspberry Pi video to LAN Janus Gateway at 192.168.1.39 port 8088 room 1001 room pin 1234 username pi ?

Thank you.
Robert

Robert Davis

unread,
Dec 13, 2017, 10:53:23 PM12/13/17
to meetecho-janus
I was able to send the gstreamer to the Janus Gateway streamingtest.html via janus.plugins.streaming.cfg configuration.
Can I reroute this to video room?
Also, the gstreamer h264 is working, however every other few seconds it has 'video lag pauses' in the video stream, how can I make it lag free?
Using the following settings, I've tried adjusting the bitrate, fps (minimum 30 or higher), config-interval as 0 1 2 pt 96 and 126, no improvement.
raspivid -n -w 640 -h 480 -b 512000 -fps 30 -vf -hf -t 0 -pf baseline -o - | gst-launch-1.0 -v fdsrc fd=0 ! h264parse !  rtph264pay config-interval=1 pt=126 ! udpsink host=192.168.1.24 port=8004

Robert Davis

unread,
Dec 13, 2017, 10:59:24 PM12/13/17
to meetecho-janus
Preferably gstreamer straight to video room with no lag, however will accept to streaming.cfg then to reroute to video room.
The 192.168.1.24 is the LAN Janus Gateway host sent to it via Raspberry Pi Zero Wifi Camera.
Thank you in advance for your assistance and replies.

Lorenzo Miniero

unread,
Dec 14, 2017, 4:31:23 AM12/14/17
to meetecho-janus
The VideoRoom plugin does not support plain RTP injection, only the Streaming plugin does.

L.

Robert Davis

unread,
Dec 15, 2017, 11:16:54 PM12/15/17
to meetecho-janus
Thanks for feedback.
Reply all
Reply to author
Forward
0 new messages