Videoconferencing is now possible with Janus and the Raspberry Pi!

885 views
Skip to first unread message

Webmaster Webmaster

unread,
Mar 4, 2016, 4:54:14 PM3/4/16
to meetecho-janus
Hi People,

with UV4L it's now possible to make a Raspberry Pi optionally equipped with camera, microphone, speakers and display a full WebRTC-compliant peer able to connect to a given Janus Gateway and create or join a given video room "on the cloud" for publishing or receiving audio/video live streams to or from any participants. There is no need of any browser installed on the Raspberry Pi!

Check out how to do this in one click by following this short example!

This is the original news

Thanks.

Lorenzo Miniero

unread,
Mar 5, 2016, 7:20:17 AM3/5/16
to meetecho-janus
Cool, thanks for sharing! I'm always excited when I see new use cases for Janus :-)

L.

Амнон Исраэли

unread,
Mar 5, 2016, 1:10:08 PM3/5/16
to meetecho-janus
Good news!
Already check it. It's work good.

Sebastien Cagnon

unread,
May 23, 2016, 2:47:52 AM5/23/16
to meetecho-janus
Hello

I tried to use the example, but I don't understand how to play the audio on the Pi, without a browser.
When I do the GET request with curl:
curl -s 'http://localhost:9000/janus?gateway_url=http://janus.conf.meetecho.com:8088&gateway_root=/janus&room=1234&room_pin=&username=piseb&proxy_host=&proxy_port=80&proxy_password=&proxy_bypass=&token=&publish=0&subscribe=1&hw_vcodec=0&vformat=60&reconnect=1&action=Start' > /dev/null

where can I access the audio and play it on the Pi's speakers?

Lorenzo Miniero

unread,
May 23, 2016, 2:52:14 AM5/23/16
to Sebastien Cagnon, meetecho-janus

Please don't refer to the public Janus demo instance for anything else than the demos we have online. As I've already said, it's not always up and running, we mess with it all the time. You're much safer deploying your own Janus server.

Lorenzo

--
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.
For more options, visit https://groups.google.com/d/optout.

Sebastien Cagnon

unread,
May 23, 2016, 3:47:03 AM5/23/16
to meetecho-janus
Hello Lorenzo,


Thank you for your quick reply.

I have the Janus server running on my Pi for now, and doing the testing through the LAN.

I used this example to stream from Pi to PC:
http://www.rs-online.com/designspark/electronics/blog/building-a-raspberry-pi-2-webrtc-camera

Now I want my raspberry pi to also receive the audio from my PC, and play it to the loudspeaker, without a browser. Somehow I can't find any resource on that. Every example is 1-way communication where the Raspberry Pi is used as monitor.

So for the v4l sample, I start my gstream and Janus servers (tested via above example)
Then I start uv4l server:
uv4l --driver xscreen --auto-video_nr --display :0 --framerate 10 --server-option '--port=9000’

connect from PC to http://PI-IP:9000/janus, change the settings to the Pi's IP again. click start
Then I use the curl command:
curl -s 'http://localhost:9000/janus?gateway_url=http://PI-IP&gateway_root=/janus&room=1234&room_pin=&username=piseb&proxy_host=&proxy_port=80&proxy_password=&proxy_bypass=&token=&publish=0&subscribe=1&hw_vcodec=0&vformat=60&reconnect=1&action=Start' > /dev/null

And nothing happens.

I don't care much for uv4l actually. I am taking that the Raspberry Pi is working both as a server and client in this example. As a client, I can send my mediastreams (audio/video), so is there a way to also receive a media stream from the peer?

Webmaster Webmaster

unread,
May 23, 2016, 6:39:38 AM5/23/16
to meetecho-janus
At the moment, with the public release of UV4L audio/video is only 1-way from Rpi to Janus only, so subscribing for audio&video from other peers in the room won't do anything.

Sebastien Cagnon

unread,
May 23, 2016, 9:30:29 PM5/23/16
to meetecho-janus
ok. Thanks for the support and quick answers. I'll keep looking for a solution.

best regards
Reply all
Reply to author
Forward
0 new messages