C# Class RTMP.Client

Afficher le fichier Open project: Austech/RTMP-CSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
MyDataFrame DataFrame
PublisherId string
StreamId int

Méthodes publiques

Méthode Description
Client ( ) : System
Connect ( string ip, int port = 1935 ) : void
SendAmf ( AmfWriter amf ) : void
SendChunkSize ( uint chunkSize ) : void
SendDebugAudioData ( ) : void
SendDebugVideoData ( ) : void
SendFlv ( FlvTag flvs ) : void
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Méthodes protégées

Méthode Description
HandshakeOver ( ) : void
ParseAcknowledgement ( int value ) : void
ParseAmf ( AmfData amf ) : void
ParseClientBandwidth ( int amount, byte limitType ) : void
ParseMessage ( RtmpMessageTypeId messageType, EndianBinaryReader reader ) : void
ParseServerBandwidth ( int amount ) : void
ParseSetChunkSize ( int chunkSize ) : void
ParseUserControlMessage ( byte eventType ) : void

Private Methods

Méthode Description
Connect ( string type = "app" ) : void
ParseS1Handshake ( ) : void
SendC0Handshake ( ) : void
SendC1Handshake ( ) : void
SendC2Handshake ( ) : void
SendWindowAcknowledgementSize ( ) : void
createStream ( ) : void
publish ( string id ) : void
sendMessage ( byte data, RtmpMessageTypeId messageType ) : void

Method Details

Client() public méthode

public Client ( ) : System
Résultat System

Connect() public méthode

public Connect ( string ip, int port = 1935 ) : void
ip string
port int
Résultat void

HandshakeOver() protected méthode

protected HandshakeOver ( ) : void
Résultat void

ParseAcknowledgement() protected méthode

protected ParseAcknowledgement ( int value ) : void
value int
Résultat void

ParseAmf() protected méthode

protected ParseAmf ( AmfData amf ) : void
amf AmfData
Résultat void

ParseClientBandwidth() protected méthode

protected ParseClientBandwidth ( int amount, byte limitType ) : void
amount int
limitType byte
Résultat void

ParseMessage() protected méthode

protected ParseMessage ( RtmpMessageTypeId messageType, EndianBinaryReader reader ) : void
messageType RtmpMessageTypeId
reader EndianBinaryReader
Résultat void

ParseServerBandwidth() protected méthode

protected ParseServerBandwidth ( int amount ) : void
amount int
Résultat void

ParseSetChunkSize() protected méthode

protected ParseSetChunkSize ( int chunkSize ) : void
chunkSize int
Résultat void

ParseUserControlMessage() protected méthode

protected ParseUserControlMessage ( byte eventType ) : void
eventType byte
Résultat void

SendAmf() public méthode

public SendAmf ( AmfWriter amf ) : void
amf AmfWriter
Résultat void

SendChunkSize() public méthode

public SendChunkSize ( uint chunkSize ) : void
chunkSize uint
Résultat void

SendDebugAudioData() public méthode

public SendDebugAudioData ( ) : void
Résultat void

SendDebugVideoData() public méthode

public SendDebugVideoData ( ) : void
Résultat void

SendFlv() public méthode

public SendFlv ( FlvTag flvs ) : void
flvs FlvTag
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

MyDataFrame public_oe property

public DataFrame,RTMP MyDataFrame
Résultat DataFrame

PublisherId public_oe property

public string PublisherId
Résultat string

StreamId public_oe property

public int StreamId
Résultat int