[Red5] mp3s on trunk
alien8 at alien8recordings.com
Thu Aug 3 17:08:06 EDT 2006
Wow!! That was quick. Yes, the time is displaying fine right now. The
buffering is working much better now as well.
The only thing is that when I pause or seek it takes some time for
the buffer to fill before the audio can start playing. It used to
happen much quicker with 0.4. I suppose it could be a network issue
but maybe not. Anyway, once the buffer gets filled it stays that
way... that's the main thing.
Thanks so much for super quick fix!
On 3-Aug-06, at 4:47 PM, Joachim Bauch wrote:
> Hi Sean,
> Alien8 Recordings schrieb:
>> I just wanted to give an update on the trunk's (0.6) performance with
>> streaming mp3s. That's what I'll be using red5 for so I'd like to
>> relate a couple of issues that I've experience. Please let me know if
>> it would be more appropriate to submit an official bug report through
> thanks for your feedback, maybe an issue in Trac isn't required any
> more... ;)
>> The first issue is that all my MP3s are encoding 96 Kbps and 22 khz.
>> They sound fine when streamed, but red5 is still reporting their
>> length as twice their actual length (duration) in the onMetaData
> I just fixed this in r1263. The calculated frame duration was wrong
> for MPEG 2 / 2.5 with Layers II and III.
>> The other issue is with buffering. In 0.5 rc1 the ns.setBufferTime
>> function seemed to be ignored. In the current trunk it seems that it
>> has an effect, but causes problems. My flash player uses
>> ns.setBufferTime(5);. At first a buffer of about 15 seconds is loaded
>> up (appears as 30 seconds, but again, this is double the action
>> time). Then the buffer runs down to 0 and the audio stops. Sometime
>> the bufffer will run up to 5 (really 2.5) seconds again and then run
>> down again. This page shows an example:
> With the correct frame duration, I don't experience buffer underruns
> any longer, could you please recheck with the latest version and
> report back if everything works fine for you now?
> Red5 mailing list
> Red5 at osflash.org
P.O. BOX 666, STATION R
CANADA, H2S 3L1
More information about the Red5