C# 클래스 CSharpRTMP.Core.Protocols.Rtmp.BaseRTMPProtocol

상속: BaseProtocol, IInFileRTMPStreamHolder
파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GenuineFmsKey byte[]
GenuineFpKey byte[]
_outboundChunkSize uint

보호된 프로퍼티들

프로퍼티 타입 설명
_channelPool Stack
_channels Channel>.Dictionary
_handshakeCompleted bool
_inboundChunkSize uint
_nextReceivedBytesCountReport ulong
_pProtocolHandler BaseRTMPAppProtocolHandler
_rtmpProtocolSerializer RTMPProtocolSerializer
_rtmpState RTMPState
_rxInvokes ulong
_selectedChannel int
_streams IStream[]
_txInvokes ulong
_winAckSize uint

공개 메소드들

메소드 설명
ChunkAmfMessage ( Header header, BufferWithOffset input, MemoryStream output ) : void
CloseStream ( uint streamId, bool createNeutralStream ) : bool
CreateIFS ( Variant metadata ) : InFileRTMPStream
CreateINS ( uint channelId, uint streamId, string streamName ) : InNetRTMPStream
CreateNeutralStream ( uint &streamId ) : RTMPStream
CreateONS ( uint streamId, string streamName, ulong inStreamType ) : BaseOutNetRTMPStream
Dispose ( ) : void
EnqueueForTimeEvent ( uint seconds ) : bool
GetChannel ( uint id ) : Channel
GetDHOffset ( BufferWithOffset pBuffer, byte schemeNumber ) : uint
GetDHOffset0 ( BufferWithOffset pBuffer ) : uint
GetDHOffset1 ( BufferWithOffset pBuffer ) : uint
GetDigestOffset ( BufferWithOffset pBuffer, byte schemeNumber ) : uint
GetDigestOffset0 ( BufferWithOffset pBuffer ) : uint
GetDigestOffset1 ( BufferWithOffset pBuffer ) : uint
HMACsha256 ( BufferWithOffset pData, uint dataLength, byte key, uint keyLength ) : byte[]
HMACsha256 ( byte pData, uint dataLength, byte key, uint keyLength ) : byte[]
ReadyForSend ( ) : void
ReleaseChannel ( Channel pChannel ) : void
ReserveChannel ( ) : Channel
ResetChannel ( uint channelId ) : bool
SendMessage ( AmfMessage message, bool enqueueForOutbound = false, bool recycleMessageBody = true ) : bool
SendMessages ( ) : bool
SetInboundChunkSize ( uint chunkSize ) : bool
SetWinAckSize ( uint winAckSize ) : void
SignalInputData ( int recAmount ) : bool
TrySetOutboundChunkSize ( uint chunkSize ) : void

보호된 메소드들

메소드 설명
BaseRTMPProtocol ( ) : System
PerformHandshake ( InputStream buffer ) : bool

비공개 메소드들

메소드 설명
ProcessBytes ( InputStream buffer ) : bool
RemoveIFS ( InFileRTMPStream pIFS ) : void

메소드 상세

BaseRTMPProtocol() 보호된 메소드

protected BaseRTMPProtocol ( ) : System
리턴 System

ChunkAmfMessage() 공개 메소드

public ChunkAmfMessage ( Header header, BufferWithOffset input, MemoryStream output ) : void
header Header
input CSharpRTMP.Common.BufferWithOffset
output System.IO.MemoryStream
리턴 void

CloseStream() 공개 메소드

public CloseStream ( uint streamId, bool createNeutralStream ) : bool
streamId uint
createNeutralStream bool
리턴 bool

CreateIFS() 공개 메소드

public CreateIFS ( Variant metadata ) : InFileRTMPStream
metadata Variant
리턴 Core.Protocols.Rtmp.InFileRTMPStream

CreateINS() 공개 메소드

public CreateINS ( uint channelId, uint streamId, string streamName ) : InNetRTMPStream
channelId uint
streamId uint
streamName string
리턴 InNetRTMPStream

CreateNeutralStream() 공개 메소드

public CreateNeutralStream ( uint &streamId ) : RTMPStream
streamId uint
리턴 RTMPStream

CreateONS() 공개 메소드

public CreateONS ( uint streamId, string streamName, ulong inStreamType ) : BaseOutNetRTMPStream
streamId uint
streamName string
inStreamType ulong
리턴 BaseOutNetRTMPStream

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnqueueForTimeEvent() 공개 메소드

public EnqueueForTimeEvent ( uint seconds ) : bool
seconds uint
리턴 bool

GetChannel() 공개 메소드

public GetChannel ( uint id ) : Channel
id uint
리턴 Channel

GetDHOffset() 공개 메소드

public GetDHOffset ( BufferWithOffset pBuffer, byte schemeNumber ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
schemeNumber byte
리턴 uint

GetDHOffset0() 공개 메소드

public GetDHOffset0 ( BufferWithOffset pBuffer ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
리턴 uint

GetDHOffset1() 공개 메소드

public GetDHOffset1 ( BufferWithOffset pBuffer ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
리턴 uint

GetDigestOffset() 공개 메소드

public GetDigestOffset ( BufferWithOffset pBuffer, byte schemeNumber ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
schemeNumber byte
리턴 uint

GetDigestOffset0() 공개 메소드

public GetDigestOffset0 ( BufferWithOffset pBuffer ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
리턴 uint

GetDigestOffset1() 공개 메소드

public GetDigestOffset1 ( BufferWithOffset pBuffer ) : uint
pBuffer CSharpRTMP.Common.BufferWithOffset
리턴 uint

HMACsha256() 공개 정적인 메소드

public static HMACsha256 ( BufferWithOffset pData, uint dataLength, byte key, uint keyLength ) : byte[]
pData CSharpRTMP.Common.BufferWithOffset
dataLength uint
key byte
keyLength uint
리턴 byte[]

HMACsha256() 공개 정적인 메소드

public static HMACsha256 ( byte pData, uint dataLength, byte key, uint keyLength ) : byte[]
pData byte
dataLength uint
key byte
keyLength uint
리턴 byte[]

PerformHandshake() 보호된 추상적인 메소드

protected abstract PerformHandshake ( InputStream buffer ) : bool
buffer CSharpRTMP.Common.InputStream
리턴 bool

ReadyForSend() 공개 메소드

public ReadyForSend ( ) : void
리턴 void

ReleaseChannel() 공개 메소드

public ReleaseChannel ( Channel pChannel ) : void
pChannel Channel
리턴 void

ReserveChannel() 공개 메소드

public ReserveChannel ( ) : Channel
리턴 Channel

ResetChannel() 공개 메소드

public ResetChannel ( uint channelId ) : bool
channelId uint
리턴 bool

SendMessage() 공개 메소드

public SendMessage ( AmfMessage message, bool enqueueForOutbound = false, bool recycleMessageBody = true ) : bool
message AmfMessage
enqueueForOutbound bool
recycleMessageBody bool
리턴 bool

SendMessages() 공개 메소드

public SendMessages ( ) : bool
리턴 bool

SetInboundChunkSize() 공개 메소드

public SetInboundChunkSize ( uint chunkSize ) : bool
chunkSize uint
리턴 bool

SetWinAckSize() 공개 메소드

public SetWinAckSize ( uint winAckSize ) : void
winAckSize uint
리턴 void

SignalInputData() 공개 메소드

public SignalInputData ( int recAmount ) : bool
recAmount int
리턴 bool

TrySetOutboundChunkSize() 공개 메소드

public TrySetOutboundChunkSize ( uint chunkSize ) : void
chunkSize uint
리턴 void

프로퍼티 상세

GenuineFmsKey 공개적으로 정적으로 프로퍼티

public static byte[] GenuineFmsKey
리턴 byte[]

GenuineFpKey 공개적으로 정적으로 프로퍼티

public static byte[] GenuineFpKey
리턴 byte[]

_channelPool 보호되어 있는 프로퍼티

protected Stack _channelPool
리턴 Stack

_channels 보호되어 있는 프로퍼티

protected Dictionary _channels
리턴 Channel>.Dictionary

_handshakeCompleted 보호되어 있는 프로퍼티

protected bool _handshakeCompleted
리턴 bool

_inboundChunkSize 보호되어 있는 프로퍼티

protected uint _inboundChunkSize
리턴 uint

_nextReceivedBytesCountReport 보호되어 있는 프로퍼티

protected ulong _nextReceivedBytesCountReport
리턴 ulong

_outboundChunkSize 공개적으로 프로퍼티

public uint _outboundChunkSize
리턴 uint

_pProtocolHandler 보호되어 있는 프로퍼티

protected BaseRTMPAppProtocolHandler,CSharpRTMP.Core.Protocols.Rtmp _pProtocolHandler
리턴 BaseRTMPAppProtocolHandler

_rtmpProtocolSerializer 보호되어 있는 프로퍼티

protected RTMPProtocolSerializer,CSharpRTMP.Core.Protocols.Rtmp _rtmpProtocolSerializer
리턴 RTMPProtocolSerializer

_rtmpState 보호되어 있는 프로퍼티

protected RTMPState _rtmpState
리턴 RTMPState

_rxInvokes 보호되어 있는 프로퍼티

protected ulong _rxInvokes
리턴 ulong

_selectedChannel 보호되어 있는 프로퍼티

protected int _selectedChannel
리턴 int

_streams 보호되어 있는 프로퍼티

protected IStream[] _streams
리턴 IStream[]

_txInvokes 보호되어 있는 프로퍼티

protected ulong _txInvokes
리턴 ulong

_winAckSize 보호되어 있는 프로퍼티

protected uint _winAckSize
리턴 uint