Wowza Community

Live Streaming from iPcamera to iPhone playing faster than normal speed

I am trying to live stream from my ipCamera to iPhone using sdp file. I am able to view the live stream , but it has a delay and the video is playing faster as if fast forwarding.After about 15 seconds the video gets stuck and the player gets closed.

ipCamera encoding parameters are:

Bit rate: 128 kbs

Frame rate: 10

It’s useful to test on a desktop PC first using VLC. VLC supports HLS so you can use the same URL as you did on the iOS device.

Do you see the same behavior if testing this way?

What Manufacturer and model of IP camera is being used?

Is the Wowza Transcoder AddOn being used to produce the stream?

What guide (link?) did you use to setup?

To setup Wowza to restream IP cameras we recommend following

this guide:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming

and also review and try the suggestiions in the troubleshooting section of the guide here:

https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming#cameraSpecific

The HLS protocol used to stream to iOS devices does have a built-in delay, but can be reduced by increasing the keyframe interval

of the video and using these parameters to change the packetization parameters for HLS:

https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming

Daren

You have to set key frame frequency in the source, the IP camera in your case.

You can enable port-sharing following this guide

Richard

If there is not a specific setting from key frame frequency, then it is a function of gop and fps:

GOP (key frame interval) / FPS (framerate) = key frame frequency

Richard

Then it is probably labeled something else. What settings do you have? Is it an Axis camera? I have one of those I can check later today.

Richard

Anything that might be key frame frequency?

Can you show some screen-shots of settings in its admin? Can’t find it in search.

Richard

You’ll have to copy that image to your web server for that to work.

Richard

Actually, send that screen shot to support@wowza.com. Also zip up /conf and recent access logs and send those too. Include a link to this thread for reference.

Richard

We have tested in VLC and it is also having the same behaviour. Camera is a custom made sercomm RC8221 camera. We can’t use restream technique because there are a huge amount of cameras and we cant open the ports for each one of them. The camera involves a push command which pushes the stream as UDP packets to the wowza server and we use an sdp file to stream to iPhone.

We have given the parameters mentioned in https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming but did not find an option to change the Key frame interval. Where can we set the key frame interval ?

Are key frame frequency and Frame rate the same? When i checked the IPCamera options. It had only options to specify Frame rate.

The problem is we can’t find an option for GOP(Key Frame Interval) also. The only settings that we are doing is the bit rate and frame rate. So how to set the Key Frame Interval ?

Its a sercomm RC8221 camera.

I have send the mail to support@wowza.com with the attachments.

I am still having this issue. I have set the GOP as 20 and FPS as 10. But still the live stream plays in fast forward. The logs shows

a/v/k :0/60/3

One more thing noted is that the wowza log always shows only ha;f of the frame rate set on the camera, ie if i have set the frame rate as 10 the log shows 5.