hlsfunc

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeBufferLevels

func ChangeBufferLevels(mapSegmentLogPrintout map[int]logging.SegPrintLogInformation, segmentNumber int, chunkReplace int, bufferDifference int) map[int]logging.SegPrintLogInformation

ChangeBufferLevels : change the buffer levels in a range of segment maps

func GetHlsSegment

func GetHlsSegment(f func(segmentNumber int, currentURL string,
	initBuffer int, maxBuffer int, codecName string, codec string, urlString string, urlInput []string,
	mpdList []http.MPD, adapt string, maxHeight int, isByteRangeMPD bool, startTime time.Time,
	nextRunTime time.Time, arrivalTime int, oldMPDIndex int, nextSegmentNumber int, hls string,
	hlsBool bool, mapSegmentLogPrintout map[int]logging.SegPrintLogInformation, numSeg int, extendPrintLog bool,
	hlsUsed bool, bufferLevel int, segmentDurationTotal int, quic string, quicBool bool, baseURL string, debugLog bool) (int, map[int]logging.SegPrintLogInformation), hlsChunkNumber int,
	mapSegmentLogPrintout map[int]logging.SegPrintLogInformation, maxHeight int, urlInput []string, initBuffer int, maxBuffer int, codecName string, codec string, urlString string, mpdList []http.MPD, nextSegmentNumber int, extendPrintLog bool, startTime time.Time, nextRunTime time.Time, arrivalTime int, hlsUsed bool, quic string, quicBool bool, baseURL string, debugFile string, debugLog bool, repRateBaseURL string) (int, map[int]logging.SegPrintLogInformation, int, int, time.Time)

GetHlsSegment :

  • pass in relevent information to redownload a previous chunk at a higher quality level
  • update the segment map information for the replaced chunk

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL