Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWriteFileChunk = &SStreamError{"write file chunk"} ErrLoadFileChunk = &SStreamError{"load file chunk"} ErrInvalidHash = &SStreamError{"invalid hash"} ErrRetryFailed = &SStreamError{"retry failed"} ErrInvalidWhence = &SStreamError{"invalid whence"} ErrNegativePosition = &SStreamError{"negative position"} ErrGetMessageLimit = &SStreamError{"get message limit"} )
Functions ¶
This section is empty.
Types ¶
type IFileInfo ¶ added in v1.6.10
func NewFileInfo ¶ added in v1.6.10
type IReadSeeker ¶
type IReadSeeker io.ReadSeeker
func BuildStream ¶ added in v1.6.6
func BuildStream( pCtx context.Context, pRetryNum uint64, pHlsClient hls_client.IClient, pAliasName string, pFileInfo IFileInfo, ) (IReadSeeker, error)
type SStreamError ¶ added in v1.6.8
type SStreamError struct {
// contains filtered or unexported fields
}
func (*SStreamError) Error ¶ added in v1.6.8
func (err *SStreamError) Error() string
Click to show internal directories.
Click to hide internal directories.