C# Class CSharpRTMP.Core.Protocols.Rtsp.BaseRtspAppProtocolHandler

Inheritance: BaseAppProtocolHandler
Afficher le fichier Open project: langhuihui/csharprtmp

Méthodes publiques

Méthode Description
BaseRtspAppProtocolHandler ( Variant configuration ) : System
Broadcast ( BaseProtocol @from, Variant invokeInfo ) : void
CallClient ( BaseProtocol to, string functionName, Variant param ) : void
HandleRTSPRequest ( RtspProtocol from, Variant requestHeaders, string requestContent ) : bool
HandleRTSPResponse ( RtspProtocol rtspProtocol, Variant responseHeaders, string &responseContent ) : bool
ParseAuthenticationNode ( Variant node, Variant result ) : bool
RegisterProtocol ( BaseProtocol protocol ) : void
SharedObjectTrack ( BaseProtocol to, string name, uint version, bool isPersistent, Variant primitives ) : void
UnRegisterProtocol ( BaseProtocol protocol ) : void

Méthodes protégées

Méthode Description
GetAuthenticationRealm ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : string
NeedAuthentication ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : bool

Private Methods

Méthode Description
ComputeSDP ( RtspProtocol pFrom, string localStreamName, string targetStreamName, string host ) : string
GetAudioTrack ( RtspProtocol pFrom, StreamCapabilities pCapabilities ) : string
GetInboundStream ( string streamName ) : IInNetStream
GetOutboundConnectivity ( RtspProtocol pFrom, bool forceTcp ) : OutboundConnectivity
GetVideoTrack ( RtspProtocol pFrom, StreamCapabilities pCapabilities ) : string
HandleRTSPRequestAnnounce ( RtspProtocol pFrom, Variant requestHeaders, string requestContent ) : bool
HandleRTSPRequestPlay ( RtspProtocol pFrom, Variant requestHeaders, string requestContent ) : bool
HandleRTSPRequestSetupInbound ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : bool
HandleRTSPRequestSetupOutbound ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : bool
HandleRTSPResponse ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Announce ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Describe ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Options ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Play ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Record ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
HandleRTSPResponse200Setup ( RtspProtocol rtspProtocol, Variant requestHeaders, string &requestContent, Variant responseHeaders, string &responseContent ) : bool
ParseUsersFile ( ) : bool
SendAuthenticationChallenge ( RtspProtocol from, Variant realm ) : bool
SendSetupTrackMessages ( RtspProtocol rtspProtocol ) : bool

Method Details

BaseRtspAppProtocolHandler() public méthode

public BaseRtspAppProtocolHandler ( Variant configuration ) : System
configuration Variant
Résultat System

Broadcast() public méthode

public Broadcast ( BaseProtocol @from, Variant invokeInfo ) : void
@from BaseProtocol
invokeInfo Variant
Résultat void

CallClient() public méthode

public CallClient ( BaseProtocol to, string functionName, Variant param ) : void
to BaseProtocol
functionName string
param Variant
Résultat void

GetAuthenticationRealm() protected méthode

protected GetAuthenticationRealm ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : string
@from RtspProtocol
requestHeaders Variant
requestContent string
Résultat string

HandleRTSPRequest() public méthode

public HandleRTSPRequest ( RtspProtocol from, Variant requestHeaders, string requestContent ) : bool
from RtspProtocol
requestHeaders Variant
requestContent string
Résultat bool

HandleRTSPResponse() public méthode

public HandleRTSPResponse ( RtspProtocol rtspProtocol, Variant responseHeaders, string &responseContent ) : bool
rtspProtocol RtspProtocol
responseHeaders Variant
responseContent string
Résultat bool

NeedAuthentication() protected méthode

protected NeedAuthentication ( RtspProtocol @from, Variant requestHeaders, string requestContent ) : bool
@from RtspProtocol
requestHeaders Variant
requestContent string
Résultat bool

ParseAuthenticationNode() public méthode

public ParseAuthenticationNode ( Variant node, Variant result ) : bool
node Variant
result Variant
Résultat bool

RegisterProtocol() public méthode

public RegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
Résultat void

SharedObjectTrack() public méthode

public SharedObjectTrack ( BaseProtocol to, string name, uint version, bool isPersistent, Variant primitives ) : void
to BaseProtocol
name string
version uint
isPersistent bool
primitives Variant
Résultat void

UnRegisterProtocol() public méthode

public UnRegisterProtocol ( BaseProtocol protocol ) : void
protocol BaseProtocol
Résultat void