C# Class CSharpRTMP.Core.Protocols.Rtmp.Header

Datei anzeigen Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
ChannelId uint
HeaderType byte
IsAbsolute bool
MessageLength uint
MessageType byte
ReadCompleted bool
Skip4Bytes bool
StreamId uint
TimeStramp uint

Public Methods

Method Description
Read ( uint channelId, byte type, InputStream buffer, uint availableBytes ) : bool
Reset ( byte ht, uint ci, uint ts, uint ml, byte mt, uint si, bool ia = false ) : void
Write ( Channel channel, Stream writer ) : bool
Write ( Stream writer ) : bool

Method Details

Read() public method

public Read ( uint channelId, byte type, InputStream buffer, uint availableBytes ) : bool
channelId uint
type byte
buffer CSharpRTMP.Common.InputStream
availableBytes uint
return bool

Reset() public method

public Reset ( byte ht, uint ci, uint ts, uint ml, byte mt, uint si, bool ia = false ) : void
ht byte
ci uint
ts uint
ml uint
mt byte
si uint
ia bool
return void

Write() public method

public Write ( Channel channel, Stream writer ) : bool
channel Channel
writer Stream
return bool

Write() public method

public Write ( Stream writer ) : bool
writer Stream
return bool

Property Details

ChannelId public_oe property

public uint ChannelId
return uint

HeaderType public_oe property

public byte HeaderType
return byte

IsAbsolute public_oe property

public bool IsAbsolute
return bool

MessageLength public_oe property

public uint MessageLength
return uint

MessageType public_oe property

public byte MessageType
return byte

ReadCompleted public_oe property

public bool ReadCompleted
return bool

Skip4Bytes public_oe property

public bool Skip4Bytes
return bool

StreamId public_oe property

public uint StreamId
return uint

TimeStramp public_oe property

public uint TimeStramp
return uint