C# 클래스 CSharpRTMP.Core.Protocols.Rtmfp.InboundRTMFPProtocol

상속: BaseRtmfpProtocol, IManage, IInFileRTMPStreamHolder
파일 보기 프로젝트 열기: langhuihui/csharprtmp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Addresses List
Connections Middle2ServerRTMFPProtocol>.Dictionary
FarId uint
KeepAlivePeer int
KeepAliveServer int
Sessions Session>.Dictionary
Streams HashSet

공개 메소드들

메소드 설명
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

메소드 상세

CreateSession() 공개 메소드

public CreateSession ( Peer peer, Cookie cookie ) : Session
peer Peer
cookie Cookie
리턴 Session

CreateStream() 공개 메소드

public CreateStream ( ) : uint
리턴 uint

DestoryStream() 공개 메소드

public DestoryStream ( uint sindex ) : void
sindex uint
리턴 void

InboundRTMFPProtocol() 공개 메소드

public InboundRTMFPProtocol ( ) : System
리턴 System

Manage() 공개 메소드

public Manage ( ) : void
리턴 void

OnConnection() 공개 메소드

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

OnDisconnection() 공개 메소드

public OnDisconnection ( Session session ) : void
session Session
리턴 void

OnFailed() 공개 메소드

public OnFailed ( Peer peer, string error ) : void
peer Peer
error string
리턴 void

OnHandshake() 공개 메소드

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
리턴 void

OnManage() 공개 메소드

public OnManage ( Peer peer ) : void
peer Peer
리턴 void

OnUnjoinGroup() 공개 메소드

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

PerformHandshake() 공개 메소드

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

PublishStream() 공개 메소드

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

ReadyForSend() 공개 메소드

public ReadyForSend ( ) : void
리턴 void

SendStreamMessage() 공개 메소드

public SendStreamMessage ( ) : void
리턴 void

SignalInputData() 공개 메소드

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

SubScribeStream() 공개 메소드

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
리턴 OutNetRtmfpStream

프로퍼티 상세

Addresses 공개적으로 프로퍼티

public List Addresses
리턴 List

Connections 공개적으로 프로퍼티

public Dictionary Connections
리턴 Middle2ServerRTMFPProtocol>.Dictionary

FarId 공개적으로 프로퍼티

public uint FarId
리턴 uint

KeepAlivePeer 공개적으로 프로퍼티

public int KeepAlivePeer
리턴 int

KeepAliveServer 공개적으로 프로퍼티

public int KeepAliveServer
리턴 int

Sessions 공개적으로 프로퍼티

public Dictionary Sessions
리턴 Session>.Dictionary

Streams 공개적으로 프로퍼티

public HashSet Streams
리턴 HashSet