C# Class CSharpRTMP.Core.Protocols.Rtmp.BaseRTMPAppProtocolHandler

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

Méthodes publiques

Свойство Type Description
ValidateHandshake bool

Protected Properties

Свойство Type Description
_adobeAuthSalt string
_adobeAuthSettings Variant
_authMethod string
_connections BaseRTMPProtocol>.Dictionary
_enableCheckBandwidth bool
_lastUsersFileUpdate System.DateTime
_nextInvokeId uint>.Dictionary
_onBWCheckMessage AmfMessage
_onBWCheckStrippedMessage AmfMessage
_resultMessageTracking Dictionary>
_users Variant

Méthodes publiques

Méthode Description
BaseRTMPAppProtocolHandler ( Variant configuration ) : System
Broadcast ( BaseProtocol from, Variant invokeInfo ) : void
CallClient ( BaseProtocol pTo, string functionName, Variant param ) : void
InboundMessageAvailable ( BaseRTMPProtocol pFrom, Variant messageBody, Channel channel, bool &recycleBody ) : bool
OutboundConnectionEstablished ( OutboundRTMPProtocol pFrom ) : bool
ParseAuthenticationNode ( Variant node, Variant result ) : bool
PullExternalStream ( BaseRTMPProtocol pFrom ) : bool
PullExternalStream ( Uri uri, Variant streamConfig ) : bool
PushLocalStream ( BaseRTMPProtocol pFrom ) : 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
ProcessInvokeConnect ( BaseRTMPProtocol pFrom, AmfMessage message ) : bool
ProcessInvokeGeneric ( BaseRTMPProtocol pFrom, AmfMessage request ) : bool
SendRTMPMessage ( BaseRTMPProtocol pTo, AmfMessage message, bool trackResponse = false, bool recycleMessageBody = true ) : bool

Private Methods

Méthode Description
AuthenticateInbound ( BaseRTMPProtocol pFrom, AmfMessage request, Variant authState ) : bool
AuthenticateInboundAdobe ( BaseRTMPProtocol pFrom, AmfMessage request, Variant authState ) : bool
ConnectForPullPush ( BaseRTMPProtocol pFrom, string uriPath, Variant streamConfig, bool isPull ) : bool
GenerateMetaFiles ( ) : void
GetAuthPassword ( string user ) : string
GetMetaData ( string streamName, bool extractInnerMetadata ) : Variant
NeedsToPullExternalStream ( BaseRTMPProtocol pFrom ) : bool
NeedsToPushLocalStream ( BaseRTMPProtocol pFrom ) : bool
NormalizeStreamName ( string streamName ) : string
ProcessInvokeConnectResult ( BaseRTMPProtocol pFrom, AmfMessage request, AmfMessage response ) : bool
ProcessInvokeCreateStreamResult ( BaseRTMPProtocol pFrom, AmfMessage request, AmfMessage response ) : bool
ProcessInvokeOnStatus ( BaseRTMPProtocol pFrom, AmfMessage request ) : bool
TryLinkToFileStream ( BaseRTMPProtocol pFrom, uint streamId, Variant metadata, string streamName, double startTime, double length, bool &linked ) : bool
TryLinkToLiveStream ( BaseRTMPProtocol pFrom, uint streamId, string streamName, bool &linked ) : bool

Method Details

BaseRTMPAppProtocolHandler() public méthode

public BaseRTMPAppProtocolHandler ( 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 pTo, string functionName, Variant param ) : void
pTo BaseProtocol
functionName string
param Variant
Résultat void

InboundMessageAvailable() public méthode

public InboundMessageAvailable ( BaseRTMPProtocol pFrom, Variant messageBody, Channel channel, bool &recycleBody ) : bool
pFrom BaseRTMPProtocol
messageBody Variant
channel Channel
recycleBody bool
Résultat bool

OutboundConnectionEstablished() public méthode

public OutboundConnectionEstablished ( OutboundRTMPProtocol pFrom ) : bool
pFrom Core.Protocols.Rtmp.OutboundRTMPProtocol
Résultat bool

ParseAuthenticationNode() public méthode

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

ProcessInvokeConnect() protected méthode

protected ProcessInvokeConnect ( BaseRTMPProtocol pFrom, AmfMessage message ) : bool
pFrom BaseRTMPProtocol
message AmfMessage
Résultat bool

ProcessInvokeGeneric() protected méthode

protected ProcessInvokeGeneric ( BaseRTMPProtocol pFrom, AmfMessage request ) : bool
pFrom BaseRTMPProtocol
request AmfMessage
Résultat bool

PullExternalStream() public méthode

public PullExternalStream ( BaseRTMPProtocol pFrom ) : bool
pFrom BaseRTMPProtocol
Résultat bool

PullExternalStream() public méthode

public PullExternalStream ( Uri uri, Variant streamConfig ) : bool
uri System.Uri
streamConfig Variant
Résultat bool

PushLocalStream() public méthode

public PushLocalStream ( BaseRTMPProtocol pFrom ) : bool
pFrom BaseRTMPProtocol
Résultat bool

RegisterProtocol() public méthode

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

SendRTMPMessage() protected méthode

protected SendRTMPMessage ( BaseRTMPProtocol pTo, AmfMessage message, bool trackResponse = false, bool recycleMessageBody = true ) : bool
pTo BaseRTMPProtocol
message AmfMessage
trackResponse bool
recycleMessageBody bool
Résultat bool

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

Property Details

ValidateHandshake public_oe property

public bool ValidateHandshake
Résultat bool

_adobeAuthSalt protected_oe property

protected string _adobeAuthSalt
Résultat string

_adobeAuthSettings protected_oe property

protected Variant _adobeAuthSettings
Résultat Variant

_authMethod protected_oe property

protected string _authMethod
Résultat string

_connections protected_oe property

protected Dictionary _connections
Résultat BaseRTMPProtocol>.Dictionary

_enableCheckBandwidth protected_oe property

protected bool _enableCheckBandwidth
Résultat bool

_lastUsersFileUpdate protected_oe property

protected DateTime,System _lastUsersFileUpdate
Résultat System.DateTime

_nextInvokeId protected_oe property

protected Dictionary _nextInvokeId
Résultat uint>.Dictionary

_onBWCheckMessage protected_oe property

protected AmfMessage,CSharpRTMP.Core.Protocols.Rtmp _onBWCheckMessage
Résultat AmfMessage

_onBWCheckStrippedMessage protected_oe property

protected AmfMessage,CSharpRTMP.Core.Protocols.Rtmp _onBWCheckStrippedMessage
Résultat AmfMessage

_resultMessageTracking protected_oe property

protected Dictionary> _resultMessageTracking
Résultat Dictionary>

_users protected_oe property

protected Variant _users
Résultat Variant