Ticket #532 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

add dual-buffering for rtmp

Reported by: jeroen Owned by: jeroen
Priority: Milestone: Flash 4.6
Component: Keywords:
Cc: Forum thread:

Description

This is a small tweak to get less buffering issues: after a buffer has been initially filled, the bufferlength is set to e.g. 4x the buffersize, so RTMP streams won't stall if a short bandwidth glitch occurs.

When the buffer percentage goes below e.g. 20% or when a seek/pause/stop is performed, the initial, short bufferlength is set again.

This is a nice, simple fix to make RTMP a little more forgiving on bandwidth glitches.

Change History

comment:1 Changed 4 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed

The bufferlength on RTMP is now quadrupled every time the buffer is filled. If it empties (bad connection or a seek), it's reset to the short state again.

Note: See TracTickets for help on using tickets.