RasPi to ffmpeg or gstreamer to EasyRTC??

260 views
Skip to first unread message

Shane Weddle

unread,
Feb 10, 2015, 12:37:14 AM2/10/15
to eas...@googlegroups.com
Hello,

I have a Raspberry Pi with a USB web cam and gstreame installed and working... is there a way I can send the stream to EasyRTC using gstreame?? or maybe ffmpeg??? 
Any Ideas?? else maybe what i have below...

I have seen lots of talk about "Janus-gateway"..
1) I'm not sure I understand it in full, it may be that i need to send a stream to a Janus-gateway and then have the Janus-gateway send it to my EasyRTC server/room, can that be done?? 
.. If 1 works would it be best to just stop using EasyRTC all together and just use Janus-gateway as my WebRTC server?? (I like and know EasyRTC) 

Over all I would like to stream directly EasyRTC but not sure if that can be done without the gateway.

ehh my brain it hurts.. thanks for the help!!!
Shane


Eric Davies

unread,
Feb 10, 2015, 1:38:25 AM2/10/15
to eas...@googlegroups.com
We haven't tried it.
You'd need to reimplement the client side easyrtc.js in some language on the PI.
Anybody else want to share their experiences with the same?

saurav...@gmail.com

unread,
Feb 10, 2015, 2:03:08 AM2/10/15
to eas...@googlegroups.com
Hi Shane,
I have tried the same thing as you, to use webrtc over RPi for a video con. My take on the topic is mentioned below.
1.I tried with Raspbian by installing gstream and then some coding with python but I was not successful.
2.Then I thought of creating client itself with the help of webkit gtk but i stopped it as it took significant effort from my daily work.
3. In the mean time I got one BPi(Banana Pi) and installed Lubuntu on it. It has a chromium in it. I tried to have a video call between my laptop and BPi with a usb camera connected to my TV through HDMI, it finally worked!!  But video was lagging(may be due to the amount of resources taken by Lubuntu). Now I am in the process of installing a custom version of arch linux + Lxde + mozilla firefox to test it again. If it works , then I can install the mozilla firefox on Rpi version of arch linux and it can really solve the problem as it will be as good as accessing firefox from laptop/desktop. The only concern is speed of the tiny CPU of RPi but with overclock, the problem can be solved to some extent. Also a better RPi, 1gb RAM and 900MHz quad core processor is available for pre order.
Hope my reply helps you in someway !!  

Shane Weddle

unread,
Feb 10, 2015, 12:43:43 PM2/10/15
to
Eric and Saurav, thanks for the reply...


Eric,
- "reimplement the client side easyrtc.js in some language"..
     - Tempting but not but not that much time in my day and it may be out of my skill set. (but yu never know I may go down that road)  Thanks its good to know where to start.

Saurav,
- "I tried with Raspbian by installing gstream and then some coding with python "....
    - Think this is what I will stick with, I don't need the Pi to load a GUI and show the other users image.. just the Pi sending its webcam too all others...
    - I am thinking I will get it working with Janus-Gateway and im hoping it can send the stream over to EasyRTC.
P.S... good to know about Lubuntu and the BPi, I have one on the way.

Thanks Again
Shane

Eric Davies

unread,
Feb 11, 2015, 1:11:16 AM2/11/15
to eas...@googlegroups.com
We tend to figure that same thing: it would be neat to have, but a lot of work to get there. 

saurav...@gmail.com

unread,
Feb 11, 2015, 1:46:36 AM2/11/15
to eas...@googlegroups.com
Hi Shane,
I am trying the gstreame and python stuff but it may take some more time as I am already working on lots of stuff. But I will update on this forum if I succeed.
If you get a success before that , please do let me know so that I wont have to spend on something which you have already solved!!

Warm Regards,
Saurav
Reply all
Reply to author
Forward
0 new messages