How to publish my video source from gstreamer from a raspberry pi to videoroom plugin

196 views
Skip to first unread message

leungch...@gmail.com

unread,
Feb 7, 2021, 3:10:19 AM2/7/21
to meetecho-janus
Hi,

I would like to continue my discussion from the last post. I am trying to scale out the streaming plugin with the videoroom plugin

TLDR: How to publish my video source from gstreamer from a raspberry pi to the videoroom plugin?

I found that it is possible to scale out the streaming plugin by using rtp_forward from the Videoroom plugin, so that I can foward the RTP stream to multiple Janus servers with streaming plugins. However, while there are demos showing we can simply use navigator.XXX to obtain the video source from web browser, there are no documentation on how to achieve it using gstreamer.

my gstreamer command:
gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=10/1 \
 omxh264enc target-bitrate=700000 control-rate=variable ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=server.ip port=my_port

Thank you in advance!


Mirko Brankovic

unread,
Feb 7, 2021, 1:28:18 PM2/7/21
to meetecho-janus
If you want to use gst, i know it was mentioned many times before, so if you search for gstreamer it will pop up:

Also you can use uv4l api from RPi that will connect to any Janus api you want, in case you don't wanna use gstreamer.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/dd25a150-231b-4ed5-98a5-c1f99dff8ba5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages