C# 클래스 HCS_Encoder.UploadManager

Cludgy way of transporting HTTP Chunk Streaming files about.
상속: IOutputHandler
파일 보기 프로젝트 열기: i-e-b/HLS---Smooth-Encoder

보호된 프로퍼티들

프로퍼티 타입 설명
plw PlaylistWriter
src string
waitingChunks Queue

공개 메소드들

메소드 설명
Close ( ) : void
ConsumeChunk ( int ChunkIndex, int StreamIndex, string FilePath, double chunkDuration ) : void
GetStreamMappingType ( ) : StreamMapping
Prepare ( List Packages ) : void
UploadManager ( EncoderConfiguration Config ) : System

Create a new upload manager to transport HCS fragments and write a playlist in the configured location. The playlist will be re-written every time a fragment is successfully uploaded.

보호된 메소드들

메소드 설명
OnUploadComplete ( object sender, ChunkUploadedEventArgs e ) : void
UploadAction ( object o ) : void

비공개 메소드들

메소드 설명
SendChunk ( ChunkDetail chunk ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

ConsumeChunk() 공개 메소드

public ConsumeChunk ( int ChunkIndex, int StreamIndex, string FilePath, double chunkDuration ) : void
ChunkIndex int
StreamIndex int
FilePath string
chunkDuration double
리턴 void

GetStreamMappingType() 공개 메소드

public GetStreamMappingType ( ) : StreamMapping
리턴 StreamMapping

OnUploadComplete() 보호된 메소드

protected OnUploadComplete ( object sender, ChunkUploadedEventArgs e ) : void
sender object
e ChunkUploadedEventArgs
리턴 void

Prepare() 공개 메소드

public Prepare ( List Packages ) : void
Packages List
리턴 void

UploadAction() 보호된 메소드

protected UploadAction ( object o ) : void
o object
리턴 void

UploadManager() 공개 메소드

Create a new upload manager to transport HCS fragments and write a playlist in the configured location. The playlist will be re-written every time a fragment is successfully uploaded.
public UploadManager ( EncoderConfiguration Config ) : System
Config EncoderConfiguration Job configuration.
리턴 System

프로퍼티 상세

plw 보호되어 있는 프로퍼티

protected PlaylistWriter,HCS_Encoder plw
리턴 PlaylistWriter

src 보호되어 있는 프로퍼티

protected string src
리턴 string

waitingChunks 보호되어 있는 프로퍼티

protected Queue waitingChunks
리턴 Queue