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

Inheritance: BaseRtmfpProtocol, IManage, IInFileRTMPStreamHolder
ファイルを表示 Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Addresses List
Connections Middle2ServerRTMFPProtocol>.Dictionary
FarId uint
KeepAlivePeer int
KeepAliveServer int
Sessions Session>.Dictionary
Streams HashSet

Public Methods

Method 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 method

public CreateSession ( Peer peer, Cookie cookie ) : Session
peer Peer
cookie Cookie
return Session

CreateStream() public method

public CreateStream ( ) : uint
return uint

DestoryStream() public method

public DestoryStream ( uint sindex ) : void
sindex uint
return void

InboundRTMFPProtocol() public method

public InboundRTMFPProtocol ( ) : System
return System

Manage() public method

public Manage ( ) : void
return void

OnConnection() public method

public OnConnection ( Session session, Variant parameters, AMFObjectWriter response ) : bool
session Session
parameters Variant
response AMFObjectWriter
return bool

OnDisconnection() public method

public OnDisconnection ( Session session ) : void
session Session
return void

OnFailed() public method

public OnFailed ( Peer peer, string error ) : void
peer Peer
error string
return void

OnHandshake() public method

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
return void

OnManage() public method

public OnManage ( Peer peer ) : void
peer Peer
return void

OnUnjoinGroup() public method

public OnUnjoinGroup ( Peer peer, Group @group ) : void
peer Peer
@group Group
return void

PerformHandshake() public method

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

PublishStream() public method

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

ReadyForSend() public method

public ReadyForSend ( ) : void
return void

SendStreamMessage() public method

public SendStreamMessage ( ) : void
return void

SignalInputData() public method

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

SubScribeStream() public method

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
return OutNetRtmfpStream

Property Details

Addresses public_oe property

public List Addresses
return List

Connections public_oe property

public Dictionary Connections
return Middle2ServerRTMFPProtocol>.Dictionary

FarId public_oe property

public uint FarId
return uint

KeepAlivePeer public_oe property

public int KeepAlivePeer
return int

KeepAliveServer public_oe property

public int KeepAliveServer
return int

Sessions public_oe property

public Dictionary Sessions
return Session>.Dictionary

Streams public_oe property

public HashSet Streams
return HashSet