How to improve webcam live video streaming quality

Hi Richard -

I tried to do a test last night, and when I changed the setting to H.264, FMLE prompted me to change the file extension to f4v instead of flv, which I also did in the JWPlayer page that displays the video.

using live, not VOD.

Got a blank screen, even though video was being streamed.

As soon as I changed all the settings back to VP6/flv, the live video worked.

What am I doing wrong?

Thanks for the suggestions.

Usually I stream LIVE using VP6, and in the webpage (JWPlayer) i have the file extension set to flv like this:

So I tried H.264 using .f4v in the code above, and got a black screen. When I changed it back to VP6 and .flv, it worked well, just like it usually does.

In order to stream live using H.264, what changes do I need to make to the player code?

Oh great !!

It works very fine.

Thanks a lot, Richard.

You can use Camera.setMode and Camera.setQuality:

camera.setMode(320,240,20,false); // set size here
camera.setQuality(0,90); // this favors quality over bandwidth

This is as exact as you can get using Flash plugin as the encoder. You should be able to get better quality from the same camera with a dedicated encoder.

Note, don’t set the 2nd arg of setQuality (quality setting) above 90. It is known to be a problem.

Richard

Richard,

I know this is AS code , but where this code should been put ? On my custom app I don’t have such a thing , so is it in the app itself of can been put in wowza settings somewhere ?

Do I have to re-compile the swf object with flex, if I change the quality settings?

You don’t have to de-compile anything because there is source code in the example. The VideoRecording has a clientFlex folder with Flex (sdk 3.2) version including source.

Richard

Sorry, I meant: after editing RecordingController.as, do I have to build the swf using Flex in order to use the new quality settings? I guess so, but I’m new to this world, so I’m asking just to be sure.

Thanks