C# Class CSharpRTMP.Core.Protocols.Rtmfp.Flow

Inheritance: IDisposable
Datei anzeigen Open project: langhuihui/csharprtmp

Public Properties

Property Type Description
Band Session
Completed bool
Error string
Id ulong
IsWaitingSync bool
Stage ulong
StreamId uint
SyncMessageQueue Queue
Writer FlowWriter

Protected Properties

Property Type Description
Handler BaseRtmfpProtocol
Peer Peer
RtmpProtocolSerializer CSharpRTMP.Core.Protocols.Rtmp.RTMPProtocolSerializer

Public Methods

Method Description
Commit ( ) : void
Dispose ( ) : void
Flow ( ulong id, string signature, string name, Peer peer, BaseRtmfpProtocol handler, Session band, FlowWriter flowWriter ) : System
FragmentHandler ( ulong stage, ulong deltaNAck, Stream fragment, byte flags ) : void
SyncDone ( ) : void

Protected Methods

Method Description
AudioHandler ( Stream packet ) : void
CommitHandler ( ) : void
LostFragmentsHandler ( uint count ) : void
MessageHandler ( string name, Variant param ) : void
RawHandler ( byte type, Stream data ) : void
VideoHandler ( Stream packet ) : void

Private Methods

Method Description
Complete ( ) : void
FragmentSortedHandler ( ulong stage, Stream fragment, byte flags ) : void
HandlerMessage ( Stream message, bool needDispose = true ) : void

Method Details

AudioHandler() protected method

protected AudioHandler ( Stream packet ) : void
packet Stream
return void

Commit() public method

public Commit ( ) : void
return void

CommitHandler() protected method

protected CommitHandler ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Flow() public method

public Flow ( ulong id, string signature, string name, Peer peer, BaseRtmfpProtocol handler, Session band, FlowWriter flowWriter ) : System
id ulong
signature string
name string
peer Peer
handler BaseRtmfpProtocol
band Session
flowWriter FlowWriter
return System

FragmentHandler() public method

public FragmentHandler ( ulong stage, ulong deltaNAck, Stream fragment, byte flags ) : void
stage ulong
deltaNAck ulong
fragment Stream
flags byte
return void

LostFragmentsHandler() protected method

protected LostFragmentsHandler ( uint count ) : void
count uint
return void

MessageHandler() protected method

protected MessageHandler ( string name, Variant param ) : void
name string
param Variant
return void

RawHandler() protected method

protected RawHandler ( byte type, Stream data ) : void
type byte
data Stream
return void

SyncDone() public method

public SyncDone ( ) : void
return void

VideoHandler() protected method

protected VideoHandler ( Stream packet ) : void
packet Stream
return void

Property Details

Band public_oe property

public Session Band
return Session

Completed public_oe property

public bool Completed
return bool

Error public_oe property

public string Error
return string

Handler protected_oe property

protected BaseRtmfpProtocol,CSharpRTMP.Core.Protocols.Rtmfp Handler
return BaseRtmfpProtocol

Id public_oe property

public ulong Id
return ulong

IsWaitingSync public_oe property

public bool IsWaitingSync
return bool

Peer protected_oe property

protected Peer Peer
return Peer

RtmpProtocolSerializer protected_oe property

protected RTMPProtocolSerializer,CSharpRTMP.Core.Protocols.Rtmp RtmpProtocolSerializer
return CSharpRTMP.Core.Protocols.Rtmp.RTMPProtocolSerializer

Stage public_oe property

public ulong Stage
return ulong

StreamId public_oe property

public uint StreamId
return uint

SyncMessageQueue public_oe property

public Queue SyncMessageQueue
return Queue

Writer public_oe property

public FlowWriter,CSharpRTMP.Core.Protocols.Rtmfp Writer
return FlowWriter