bufferTime for record mode

37 views
Skip to first unread message

Ramkrishna Kulkarni

unread,
Apr 11, 2013, 10:17:42 AM4/11/13
to myproje...@googlegroups.com
Is there an easier way to set "bufferTime" for the stream being published during recording apart from modifying the code (AS newbie here)? My app simply captures user video (no two way communication) and a buffer time of 1 minute would be great to improve quality.

Thanks.

Intencity Team

unread,
Apr 30, 2013, 5:25:27 PM4/30/13
to myproje...@googlegroups.com, ramkrishn...@gmail.com
Hi Ramkrishna,

The current flash-videoio API only allows setting the "bufferTime" of
the play stream. I am not sure whether the property makes sense for
"publish" stream. From the documentation it seems like it applies to
play side on Flash Player and both sides on server.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#bufferTime

If you still want to set the bufferTime on the "publish" stream.
One option would be to copy the lines near 3423 in
http://code.google.com/p/flash-videoio/source/browse/trunk/VideoIO.as
that assigns the bufferTime to NetStream to the if-createLocal case
above that block.

If you want to set the bufferTime on "play" stream, just set the
"bufferTime" property of the VideoIO object.

Hope this helps!

Ramkrishna Kulkarni

unread,
May 1, 2013, 12:25:10 AM5/1/13
to myproje...@googlegroups.com, ramkrishn...@gmail.com
Thank you. I'll take a look.
Reply all
Reply to author
Forward
0 new messages