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

Inheritance: BaseRtmfpProtocol, IManage, IInFileRTMPStreamHolder
Afficher le fichier Open project: langhuihui/csharprtmp Class Usage Examples

Méthodes publiques

Свойство Type Description
Addresses List
Connections Middle2ServerRTMFPProtocol>.Dictionary
FarId uint
KeepAlivePeer int
KeepAliveServer int
Sessions Session>.Dictionary
Streams HashSet

Méthodes publiques

Méthode Description
CreateSession ( Peer peer, Cookie cookie ) : Session
CreateStream ( ) : uint
DestoryStream ( uint sindex ) : void
InboundRTMFPProtocol ( ) : System
Manage ( ) : void
OnConnection ( Session session, Variant parameters, AMFObjectWriter response ) : bool
OnDisconnection ( Session session ) : void
OnFailed ( Peer peer, string error ) : void
OnHandshake ( IPEndPoint address, string path, NameValueCollection properties, uint attempts, List addresses ) : void
OnManage ( Peer peer ) : void
OnUnjoinGroup ( Peer peer, Group @group ) : void
PerformHandshake ( byte tag, H2NBinaryWriter response, IPEndPoint address, byte peerIdWanted ) : byte
PublishStream ( Peer peer, uint id, string name, string type, FlowWriter writer ) : InNetRtmfpStream
ReadyForSend ( ) : void
SendStreamMessage ( ) : void
SignalInputData ( InputStream inputStream, IPEndPoint address ) : bool
SubScribeStream ( Peer peer, uint id, string name, FlowWriter writer, double start, double length ) : OutNetRtmfpStream

Method Details

CreateSession() public méthode

public CreateSession ( Peer peer, Cookie cookie ) : Session
peer Peer
cookie Cookie
Résultat Session

CreateStream() public méthode

public CreateStream ( ) : uint
Résultat uint

DestoryStream() public méthode

public DestoryStream ( uint sindex ) : void
sindex uint
Résultat void

InboundRTMFPProtocol() public méthode

public InboundRTMFPProtocol ( ) : System
Résultat System

Manage() public méthode

public Manage ( ) : void
Résultat void

OnConnection() public méthode

public OnConnection ( Session session, Variant parameters, AMFObjectWriter response ) : bool
session Session
parameters Variant
response AMFObjectWriter
Résultat bool

OnDisconnection() public méthode

public OnDisconnection ( Session session ) : void
session Session
Résultat void

OnFailed() public méthode

public OnFailed ( Peer peer, string error ) : void
peer Peer
error string
Résultat void

OnHandshake() public méthode

public OnHandshake ( IPEndPoint address, string path, NameValueCollection properties, uint attempts, List addresses ) : void
address System.Net.IPEndPoint
path string
properties System.Collections.Specialized.NameValueCollection
attempts uint
addresses List
Résultat void

OnManage() public méthode

public OnManage ( Peer peer ) : void
peer Peer
Résultat void

OnUnjoinGroup() public méthode

public OnUnjoinGroup ( Peer peer, Group @group ) : void
peer Peer
@group Group
Résultat void

PerformHandshake() public méthode

public PerformHandshake ( byte tag, H2NBinaryWriter response, IPEndPoint address, byte peerIdWanted ) : byte
tag byte
response CSharpRTMP.Common.H2NBinaryWriter
address System.Net.IPEndPoint
peerIdWanted byte
Résultat byte

PublishStream() public méthode

public PublishStream ( Peer peer, uint id, string name, string type, FlowWriter writer ) : InNetRtmfpStream
peer Peer
id uint
name string
type string
writer FlowWriter
Résultat InNetRtmfpStream

ReadyForSend() public méthode

public ReadyForSend ( ) : void
Résultat void

SendStreamMessage() public méthode

public SendStreamMessage ( ) : void
Résultat void

SignalInputData() public méthode

public SignalInputData ( InputStream inputStream, IPEndPoint address ) : bool
inputStream CSharpRTMP.Common.InputStream
address System.Net.IPEndPoint
Résultat bool

SubScribeStream() public méthode

public SubScribeStream ( Peer peer, uint id, string name, FlowWriter writer, double start, double length ) : OutNetRtmfpStream
peer Peer
id uint
name string
writer FlowWriter
start double
length double
Résultat OutNetRtmfpStream

Property Details

Addresses public_oe property

public List Addresses
Résultat List

Connections public_oe property

public Dictionary Connections
Résultat Middle2ServerRTMFPProtocol>.Dictionary

FarId public_oe property

public uint FarId
Résultat uint

KeepAlivePeer public_oe property

public int KeepAlivePeer
Résultat int

KeepAliveServer public_oe property

public int KeepAliveServer
Résultat int

Sessions public_oe property

public Dictionary Sessions
Résultat Session>.Dictionary

Streams public_oe property

public HashSet Streams
Résultat HashSet