Streaming raspberry pi cam to video room @ Janus gateway on the Internet.

1,198 views
Skip to first unread message

Mohammad Bhuyan

unread,
Dec 21, 2016, 2:15:52 AM12/21/16
to meetecho-janus
I have been banging my head on this for last few days.

This is what I want to achieve:

1. A Raspberry Pi 3 with camera module sitting on a LAN (connected to internet).
2. Janus Gateway instance on AWS EC2 instance.
3. A Web Server on same EC2 instance serving the demo files.
4. Make the Raspberry Pi stream to the demo video room (1234) and watch the feed over internet using the demo videorooom app.

This is what I have done:

1. I have a RPi + Cam with UV4L installed.
    - I have tested UV4L installation can stream the camera using its own WebRTC example on the streaming server web interface. ( http://pi-ip:8080 )

2. I have a Janus gateway on Amazon.
    - Echo Test Demo Works.
    - Video Room Demo Works.

3. Use the "Join a Room with Janus" page of the UV4L Streaming Server web interface to send the camera stream to my Janus video room 1243

4. Browse using firefox to the video room demo page and join the video room.
   - My feed from laoptop is fine. I can publish unpublish etc.
   - I get a spinning wheel for the Pi stream but no audio video. Thus to me it seems that signalling is working since the name for the pi shows up correctly but no media.

Note: I am not using Chrome for this as it requires HTTPS (Web + Janus) and I got annoyed by chromes attitude with self signed certs.

I have been in touch with UV4L team but so far they have no clue as to what is causing my problem.

All ideas welcome.

Regards,

Mohammad










  






Lorenzo Miniero

unread,
Dec 21, 2016, 3:39:24 AM12/21/16
to meetecho-janus
Use the Admin API to see if any of the PeerConnections had problems, as explained in detail here:

L.

Mohammad Bhuyan

unread,
Dec 22, 2016, 12:09:22 AM12/22/16
to meetecho-janus
In case anyone end up reading this thread:

My problem was due to a bug in UV4L where not having a audio device connected to Raspberry Pi was causing NO Video from Pi in VideoRoom demo.

UV4L team acknowledged and since fixed the problem - I am yet to test. But with a USB headset plugged in to Pi, I was successful to see the Pi streaming to VideoRoom demo.

Overall, I am satisfied with:

1. Janus Gateway with minimal config performed flawlessly on cloud. (AWS EC2 instance in my case)
    - +1 for decent documentation & support from Lorenzo

2. UV4L out of the box (considering the bug fixed) can stream to Janus Gateway
    - Not OSS so no +1 :P
    - Needs a better support/community mechanism
    - But team was responsive over email
   
Overall - Two great project that complements each other. I can see lots of good usage coming out of it.

Regards,

Mohammad

Webmaster Webmaster

unread,
Jan 1, 2017, 5:34:26 PM1/1/17
to meetecho-janus
Hi Mohammad,

thanks for your opinions.

The bug has been fixed with the current release of UV4L. Hopefully not many users have been affected by that as it was present in a recent version only.

I am sure the UV4L team will be more than interested in knowing any new idea coming out of UV4L + Janus.

Tarun Srikanth

unread,
May 6, 2017, 10:55:52 AM5/6/17
to meetecho-janus
Hi Mohammad and webmaster,
I'm facing same thing I.e spinning the wheel for rpi stream but no video and audio..you have said that to do update uv4l, how you have done please explain me.

Thanks in advance

Regards
Tarun

Reply all
Reply to author
Forward
0 new messages