[Red5] Grabbing byte ranges of video

Dan Rossi spam at electroteque.org
Wed Mar 5 17:40:03 PST 2008


Maybe it could be possible to send the filesize property with the  
netstream to the client somehow ? Only other way i guess is by  
executing a method on the client after subscribing to a stream.


On 06/03/2008, at 12:29 PM, Dan Rossi wrote:

> That only works for progressive download.
>
> On 06/03/2008, at 10:10 AM, Charles Palen wrote:
>
>> If I were you I would look into NetStream.BytesLoaded,  
>> NetStream.BytesTotal and NetStream.SetBufferTime.  I am guessing  
>> that for apps like the youtube player, the total size of the flv  
>> file is passed to the swf.  I know NetStream.BytesTotal won't  
>> return anything in IE until after a flv is fully loaded.
>>
>> On Tue, Mar 4, 2008 at 10:40 AM, michael rabinovich <rabinovich at obtech.net 
>> > wrote:
>> Hello,
>> I am investigating requesting specific byte ranges of flv files to
>> progressively download.  NetStream object doesn't have any documented
>> way of sending such byte requests (like in the play() method for
>> example).  Does this mean that a separate request has to be sent at
>> first to tell the server to send only a certain amount of bytes when
>> the next play method is called?
>> Does anyone have any experience with this and could point me to the
>> right direction?
>> Thanks a lot, and its good to be here.
>> mR
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080306/801464d0/attachment-0001.html 


More information about the Red5 mailing list