H264 streaming from gstreamer to google chrome

920 views
Skip to first unread message

Trung Tín Trần

unread,
Nov 3, 2014, 6:20:05 AM11/3/14
to meetech...@googlegroups.com
Hi all,
First thing is I'm totally new to these (streaming video, webrtc, ...), and not an IT guy either.
So, is there any simple way to stream from gstreamer to chrome with janus-gateway. I have it work with firefox, but with chrome it prompt this error (i guess because chrome drop supporting h264): "WebRTC error... "Failed to set remote offer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set video send codecs..""

Here, there is a patch, https://groups.google.com/forum/#!topic/discuss-webrtc/U-y3or-dBOU, for webrtc, but it beyond my understanding, can I (or someone) somehow apply this to janus-webrtc.
Ah, i use this command to stream raspberry pi camera (that's why i must stick with h264):
raspivid -t 0 -h 720 -w 1080 -fps 5 -hf -pf baseline -b 640000 -o - | gst-launch-1.0 -v  fdsrc !  h264parse !  rtph264pay config-interval=1 pt=96  ! udpsink host=IP port=8004
and referrence config for h264 in streaming plugin config file.

Thanks.

Lorenzo Miniero

unread,
Nov 3, 2014, 6:20:56 AM11/3/14
to meetech...@googlegroups.com
Chrome does not support H.264, only VP8.

L.

Shane Weddle

unread,
Feb 10, 2015, 1:05:38 PM2/10/15
to meetech...@googlegroups.com
Hi Trung Tín Trần,

Have you had any luck streaming from RasPi to any WebRTC systems (Janus, EasyRTC, Google's Demo)???

I want to do what it sounds like you are trying to do.. I want to stream out (only) video and audio to a WebRTC (Server/Client) using a small Linux device like the RasPi

Thanks
Shane

Lorenzo Miniero

unread,
Feb 10, 2015, 1:22:19 PM2/10/15
to meetech...@googlegroups.com
Search the archive, there are other discussions for H.264 streaming. The streaming plugin supports it and people definitely got this to work.

Lorenzo
Reply all
Reply to author
Forward
0 new messages