# How to improve webcam live video streaming quality

**URL:** <https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645>\
**Category:** Wowza Streaming Engine\
**Created:** [July 23, 2009, 11:29am UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645 "2009-07-23T11:29:39Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [July 7, 2010, 11:36am UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/21 "2010-07-07T11:36:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [July 7, 2010, 6:18pm UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/22 "2010-07-07T18:18:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Philippe\_Etienne](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@Philippe\_Etienne](https://community.wowza.com/u/Philippe_Etienne)\
**Post date:** [July 23, 2009, 12:19pm UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/23 "2009-07-23T12:19:25Z")

</div>

Oh great !!

It works very fine.

Thanks a lot, Richard.

---

<div class="post-metadata">

**Author:** ![vass\_vassilev](https://avatars.discourse-cdn.com/v4/letter/v/73ab20/32.png) [@vass\_vassilev](https://community.wowza.com/u/vass_vassilev)\
**Post date:** [October 21, 2010, 1:17pm UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/24 "2010-10-21T13:17:55Z")

</div>

> You can use Camera.setMode and [Camera.setQuality](http://livedocs.adobe.com/flex/3/langref/flash/media/Camera.html#setQuality%28%29):
> 
> ```auto
> 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 ?

---

<div class="post-metadata">

**Author:** ![Bogdan\_Licar](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@Bogdan\_Licar](https://community.wowza.com/u/Bogdan_Licar)\
**Post date:** [March 16, 2011, 4:53pm UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/25 "2011-03-16T16:53:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bogdan\_Licar](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@Bogdan\_Licar](https://community.wowza.com/u/Bogdan_Licar)\
**Post date:** [March 16, 2011, 6:49pm UTC](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645/26 "2011-03-16T18:49:05Z")

</div>

> 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

[Previous page](https://community.wowza.com/t/how-to-improve-webcam-live-video-streaming-quality/645.md?page=1)
