# Video Streaming help. Need better understanding

**URL:** <https://forum.kirupa.com/t/video-streaming-help-need-better-understanding/241613>\
**Category:** Uncategorized\
**Created:** [October 16, 2007, 4:32am UTC](https://forum.kirupa.com/t/video-streaming-help-need-better-understanding/241613 "2007-10-16T04:32:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atokatim](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Post date:** [October 16, 2007, 4:32am UTC](https://forum.kirupa.com/t/video-streaming-help-need-better-understanding/241613/1 "2007-10-16T04:32:50Z")

</div>

I am currently in the process of creating an online video recorder for my video surveillance. I was wondering if I can record files in a specific bitrate?  
Example : 1 minute of recording at 300kbps = 2.2 mb.

I am currently using : my\_cam.setQuality(307200, 100); to set my video quality at 300kbps. Is that correct? With that setting, I keep getting 3mb + for a 30 second clip. Why is that? I don’t want to go any lower than 300kbps.

I have even tried my\_cam.setQuality(307200, 0); and my\_cam.setQuality(307200);

Does flash record in bits or bytes? I am confused. someone help please!
