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

Inheritance: IDisposable
Datei anzeigen Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
AudioSampleAccess bool
Id uint
Publication Publication
ReceiveAudio bool
ReceiveVideo bool
VideoSampleAccess bool

Public Methods

Method Description
Dispose ( ) : void
Flush ( ) : void
Init ( Peer client ) : void
Listener ( uint id, Publication publication, FlowWriter writer, bool unbuffered ) : System
PushAudioPacket ( uint time, N2HBinaryReader packet ) : void
PushDataPacket ( string name, N2HBinaryReader packet ) : void
PushVideoPacket ( uint time, N2HBinaryReader packet ) : void
StartPublishing ( string name ) : void
StopPublishing ( string name ) : void

Private Methods

Method Description
ComputeTime ( uint time ) : uint
WriteBound ( FlowWriter writer ) : void
WriteBounds ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Init() public method

public Init ( Peer client ) : void
client Peer
return void

Listener() public method

public Listener ( uint id, Publication publication, FlowWriter writer, bool unbuffered ) : System
id uint
publication Publication
writer FlowWriter
unbuffered bool
return System

PushAudioPacket() public method

public PushAudioPacket ( uint time, N2HBinaryReader packet ) : void
time uint
packet CSharpRTMP.Common.N2HBinaryReader
return void

PushDataPacket() public method

public PushDataPacket ( string name, N2HBinaryReader packet ) : void
name string
packet CSharpRTMP.Common.N2HBinaryReader
return void

PushVideoPacket() public method

public PushVideoPacket ( uint time, N2HBinaryReader packet ) : void
time uint
packet CSharpRTMP.Common.N2HBinaryReader
return void

StartPublishing() public method

public StartPublishing ( string name ) : void
name string
return void

StopPublishing() public method

public StopPublishing ( string name ) : void
name string
return void

Property Details

AudioSampleAccess public_oe property

public bool AudioSampleAccess
return bool

Id public_oe property

public uint Id
return uint

Publication public_oe property

public Publication,CSharpRTMP.Core.Protocols.Rtmfp Publication
return Publication

ReceiveAudio public_oe property

public bool ReceiveAudio
return bool

ReceiveVideo public_oe property

public bool ReceiveVideo
return bool

VideoSampleAccess public_oe property

public bool VideoSampleAccess
return bool