Stream from raspi to Wowza Streaming Cloud

Hello Guys,

I am trying to stream h.264 stream from my raspi(cam) to a trial rtsp stream cloud that I set up on wowza. I think I am unable to connect the video source.

This is how my video source command on raspi looks like

raspivid -o - -t 0 -n -w 640 -h 480 -fps 10 | cvlc -vvv stream:///dev/stdin --sout ‘#rtp{sdp=rtsp://5X.X.X.X:1935/live/streamname}’ :demux=h264

Can anyone tell what I am missing here ?

Thanks,

Hi,

please make sure you disabled authentication for your livestream otherwise add the rtsp username and password into your rtsp url.

Please also ensure your keyframe frequency in your source video is 2 seconds.

to do this add -g 20 to your command.

this is is in frames so it should be always double the fps value.

thanks Philipp