Wayn Liu
Wayn Liu

Reputation: 394

red5 live stream always dropped frames

I have a live stream site build on red5 server and when i subscribe, the live video seems to drop frames.

I am using the oflademo for my rtmp application.

Here is the actionscript I use for the camera setting:

Broadcast

// setup cam
cam = Camera.get();
// setting dimensions and framerate
cam.setMode(320, 240, 15, false);
// set quality
cam.setQuality(0,0);
cam.setKeyFrameInterval(48);

Subscribe is the same as broadcast.

Can anyone give a hand.

Upvotes: 3

Views: 773

Answers (1)

seba.wagner
seba.wagner

Reputation: 3860

in general dropped frames (or gaps in the audio signal) are a sign for bandwidth issues.

These are our settings, frames are never dropped (if the bandwidth is okay):

cam.setMode(160, 120, 30, true);
cam.setQuality(0,90);

We have never been using "cam.setKeyFrameInterval(48);". I would not set this value at all. I would not force the video compression any value. Do you have a reason why you think 48 is a good value for it?

Sebastian

Upvotes: 1

Related Questions