C# 클래스 CSharpRTMP.Core.Protocols.Rtsp.RtspProtocol

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

공개 프로퍼티들

프로퍼티 타입 설명
InboundConnectivity InboundConnectivity
InboundSDP Variant
LastRequestSequence uint
OutboundConnectivity OutboundConnectivity

공개 메소드들

메소드 설명
ClearResponseMessage ( ) : void
CloseOutboundConnectivity ( ) : void
EnableKeepAlive ( uint period, string keepAliveURI ) : bool
GenerateSessionId ( ) : string
GetInboundConnectivity ( string sdpStreamName, uint bandwidthHint, byte rtcpDetectionInterval ) : InboundConnectivity
GetOutboundConnectivity ( IInNetStream pInNetStream, bool forceTcp ) : OutboundConnectivity
GetRequest ( uint seqId, Variant result, string &content ) : bool
GetStats ( Variant info, uint namespaceId ) : void
Initialize ( Variant parameters ) : bool
PushRequestContent ( string outboundContent, bool append ) : void
PushRequestFirstLine ( string method, string url, string version ) : void
PushRequestHeader ( string name, string value ) : void
PushResponseContent ( string outboundContent, bool append ) : void
PushResponseFirstLine ( string version, uint code, string reason ) : void
PushResponseHeader ( string name, string value ) : void
RtspProtocol ( ) : System
SendKeepAliveOptions ( ) : bool
SendMessage ( Variant headers, string content ) : bool
SendRaw ( MsgHdr message, RTPClient &client, bool isAudio, bool isData ) : bool
SendRaw ( byte buffer ) : bool
SendRequestMessage ( ) : bool
SendResponseMessage ( ) : bool
SetAuthentication ( string wwwAuthenticateHeader, string userName, string password ) : bool
SignalInputData ( int recAmount ) : bool

비공개 메소드들

메소드 설명
CloseInboundConnectivity ( ) : void
HandleRTSPMessage ( ) : bool
ParseFirstLine ( string line ) : bool
ParseNormalHeaders ( ) : bool

메소드 상세

ClearResponseMessage() 공개 메소드

public ClearResponseMessage ( ) : void
리턴 void

CloseOutboundConnectivity() 공개 메소드

public CloseOutboundConnectivity ( ) : void
리턴 void

EnableKeepAlive() 공개 메소드

public EnableKeepAlive ( uint period, string keepAliveURI ) : bool
period uint
keepAliveURI string
리턴 bool

GenerateSessionId() 공개 메소드

public GenerateSessionId ( ) : string
리턴 string

GetInboundConnectivity() 공개 메소드

public GetInboundConnectivity ( string sdpStreamName, uint bandwidthHint, byte rtcpDetectionInterval ) : InboundConnectivity
sdpStreamName string
bandwidthHint uint
rtcpDetectionInterval byte
리턴 InboundConnectivity

GetOutboundConnectivity() 공개 메소드

public GetOutboundConnectivity ( IInNetStream pInNetStream, bool forceTcp ) : OutboundConnectivity
pInNetStream IInNetStream
forceTcp bool
리턴 OutboundConnectivity

GetRequest() 공개 메소드

public GetRequest ( uint seqId, Variant result, string &content ) : bool
seqId uint
result Variant
content string
리턴 bool

GetStats() 공개 메소드

public GetStats ( Variant info, uint namespaceId ) : void
info Variant
namespaceId uint
리턴 void

Initialize() 공개 메소드

public Initialize ( Variant parameters ) : bool
parameters Variant
리턴 bool

PushRequestContent() 공개 메소드

public PushRequestContent ( string outboundContent, bool append ) : void
outboundContent string
append bool
리턴 void

PushRequestFirstLine() 공개 메소드

public PushRequestFirstLine ( string method, string url, string version ) : void
method string
url string
version string
리턴 void

PushRequestHeader() 공개 메소드

public PushRequestHeader ( string name, string value ) : void
name string
value string
리턴 void

PushResponseContent() 공개 메소드

public PushResponseContent ( string outboundContent, bool append ) : void
outboundContent string
append bool
리턴 void

PushResponseFirstLine() 공개 메소드

public PushResponseFirstLine ( string version, uint code, string reason ) : void
version string
code uint
reason string
리턴 void

PushResponseHeader() 공개 메소드

public PushResponseHeader ( string name, string value ) : void
name string
value string
리턴 void

RtspProtocol() 공개 메소드

public RtspProtocol ( ) : System
리턴 System

SendKeepAliveOptions() 공개 메소드

public SendKeepAliveOptions ( ) : bool
리턴 bool

SendMessage() 공개 메소드

public SendMessage ( Variant headers, string content ) : bool
headers Variant
content string
리턴 bool

SendRaw() 공개 메소드

public SendRaw ( MsgHdr message, RTPClient &client, bool isAudio, bool isData ) : bool
message MsgHdr
client RTPClient
isAudio bool
isData bool
리턴 bool

SendRaw() 공개 메소드

public SendRaw ( byte buffer ) : bool
buffer byte
리턴 bool

SendRequestMessage() 공개 메소드

public SendRequestMessage ( ) : bool
리턴 bool

SendResponseMessage() 공개 메소드

public SendResponseMessage ( ) : bool
리턴 bool

SetAuthentication() 공개 메소드

public SetAuthentication ( string wwwAuthenticateHeader, string userName, string password ) : bool
wwwAuthenticateHeader string
userName string
password string
리턴 bool

SignalInputData() 공개 메소드

public SignalInputData ( int recAmount ) : bool
recAmount int
리턴 bool

프로퍼티 상세

InboundConnectivity 공개적으로 프로퍼티

public InboundConnectivity,CSharpRTMP.Core.Protocols.Rtsp InboundConnectivity
리턴 InboundConnectivity

InboundSDP 공개적으로 프로퍼티

public Variant InboundSDP
리턴 Variant

LastRequestSequence 공개적으로 프로퍼티

public uint LastRequestSequence
리턴 uint

OutboundConnectivity 공개적으로 프로퍼티

public OutboundConnectivity,CSharpRTMP.Core.Protocols.Rtsp OutboundConnectivity
리턴 OutboundConnectivity