public FLVContentReader(Channel channel) { this.Channel = channel; this.contentBuffer = new FLVContentBuffer(channel); }
public Task ReadAsync(IContentSink sink, Stream stream, CancellationToken cancel_token) { var buffered_sink = new FLVContentBuffer(this.Channel, sink); return(fileParser.ReadAsync(stream, buffered_sink, cancel_token)); }
public async Task ReadAsync(IContentSink sink, Stream stream, CancellationToken cancel_token) { var buffered_sink = new FLVContentBuffer(this.Channel, sink); await fileParser.ReadAsync(stream, buffered_sink, cancel_token); }