Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Default gstreamer buffering on devices that don't support 4k content is by default:

  • 4096k for video
  • 512k for audio 

                                      

  • For 4k playback, the average 2s 4k fragment size is ~4096k
  • This gives 6s (worst case) buffering in gstreamer, to complement the 3-fragment (6s) application managed buffering, for 12s of buffering in all.


  • For non-4k playback, the biggest video fragments are typically under 1024k
  • This gives 8s (worse case) buffering in gstreamer to complement the 3-fragment (6s) application managed buffering, for 14s of buffering in all.
  • There is some additional more modest lower-level buffering in gstreamer feeding the video and audio decoders.


draw.io Diagram
bordertrue
diagramNameAAMP UnderFlow States
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth902
revision1


If buffered content runs try, AAMP player receives “underflow” events from gstreamer, and will report buffering state upstream. If new content is injected and playback is able to resume with short timespan, playback can resume automatically without much user impact (except for temporary freeze).

...