MLMediaPlayerBufferingSettings
Module: Media Player
#include <ml_media_player.h>
Public Attributes
Type | Name |
---|---|
MLMediaPlayerBufferingMode | initial_buffering_mode |
MLMediaPlayerBufferingMode | rebuffering_mode |
int32_t | initial_watermark_ms |
int32_t | initial_watermark_kb |
int32_t | rebuffering_watermark_low_ms When cached data is below this mark, playback will be paused for buffering until data reaches |
int32_t | rebuffering_watermark_high_ms |
int32_t | rebuffering_watermark_low_kb When cached data is below this mark, playback will be paused for buffering until data reaches |
int32_t | rebuffering_watermark_high_kb |
Detailed Description
struct MLMediaPlayerBufferingSettings;
Indicate the buffering settings.
Public Attributes Documentation
initial_buffering_mode
MLMediaPlayerBufferingMode initial_buffering_mode;
For prepare.
rebuffering_mode
MLMediaPlayerBufferingMode rebuffering_mode;
For playback.
initial_watermark_ms
int32_t initial_watermark_ms;
Time based.
initial_watermark_kb
int32_t initial_watermark_kb;
Size based.
rebuffering_watermark_low_ms
int32_t rebuffering_watermark_low_ms;
When cached data is below this mark, playback will be paused for buffering until data reaches |mRebufferingWatermarkHighMs| or end of stream.
rebuffering_watermark_high_ms
int32_t rebuffering_watermark_high_ms;
When cached data is above this mark, buffering will be paused.
rebuffering_watermark_low_kb
int32_t rebuffering_watermark_low_kb;
When cached data is below this mark, playback will be paused for buffering until data reaches |mRebufferingWatermarkHighKB| or end of stream.
rebuffering_watermark_high_kb
int32_t rebuffering_watermark_high_kb;
When cached data is above this mark, buffering will be paused.