Documentation ¶
Index ¶
- type HLSClient
- func (c *HLSClient) GetBufferingCount() uint
- func (c *HLSClient) GetDataResponseDelay() int64
- func (c *HLSClient) GetReceivedBytes() uint64
- func (c *HLSClient) GetReceivedSlices() uint64
- func (c *HLSClient) GetResponseDelay() int64
- func (c *HLSClient) IsBuffering() bool
- func (c *HLSClient) SetBufferDuration(durationInSec float64)
- func (c *HLSClient) SetPlayRange(begin, end float64)
- func (c *HLSClient) Start() error
- func (c *HLSClient) StartAt(offsetMs int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HLSClient ¶
type HLSClient struct { RequestDelay int64 // header response delay in us RequestDataDelay int64 // first byte delay in us OnEndOfStream func() OnError func(err error) OnBuffering func(isBuffering bool, bufferingCount uint, playPos, bufferPos float64) // contains filtered or unexported fields }
func (*HLSClient) GetBufferingCount ¶
func (*HLSClient) GetDataResponseDelay ¶
func (*HLSClient) GetReceivedBytes ¶
func (*HLSClient) GetReceivedSlices ¶
func (*HLSClient) GetResponseDelay ¶
func (*HLSClient) IsBuffering ¶
func (*HLSClient) SetBufferDuration ¶
func (*HLSClient) SetPlayRange ¶
set play range in second
Click to show internal directories.
Click to hide internal directories.