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

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

공개 메소드들

메소드 설명
CreateSession ( Peer peer, Cookie cookie ) : Session
CreateStream ( ) : uint
DestoryStream ( uint sindex ) : 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
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

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

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