C# Class Core.Protocols.Rtmp.ConnectionMessageFactory

Afficher le fichier Open project: langhuihui/csharprtmp

Méthodes publiques

Méthode Description
GetInvokeConnect ( string appName, string tcUrl, double audioCodecs, double capabilities, string flashVer, bool fPad, string pageUrl, string swfUrl, double videoCodecs, double videoFunction, double objectEncoding ) : AmfMessage
GetInvokeConnectError ( uint channelId, uint streamId, uint requestId, string level, string code, string decription ) : AmfMessage
GetInvokeConnectResult ( AmfMessage request, string level = Defines.RM_INVOKE_PARAMS_RESULT_LEVEL_STATUS, string code = Defines.RM_INVOKE_PARAMS_RESULT_CODE_NETCONNECTIONCONNECTSUCCESS, string description = Defines.RM_INVOKE_PARAMS_RESULT_DESCRIPTION_CONNECTIONSUCCEEDED ) : AmfMessage
GetPong ( ) : AmfMessage

Private Methods

Méthode Description
GetInvokeClose ( ) : AmfMessage
GetInvokeConnectError ( AmfMessage message, string description, string level = Defines.RM_INVOKE_PARAMS_RESULT_LEVEL_ERROR, string code = Defines.RM_INVOKE_PARAMS_RESULT_CODE_NETCONNECTIONCONNECTREJECTED ) : AmfMessage
GetInvokeConnectResult ( uint channelId, uint streamId, uint requestId, string level, string code, string decription, double objectEncoding ) : AmfMessage

Method Details

GetInvokeConnect() public static méthode

public static GetInvokeConnect ( string appName, string tcUrl, double audioCodecs, double capabilities, string flashVer, bool fPad, string pageUrl, string swfUrl, double videoCodecs, double videoFunction, double objectEncoding ) : AmfMessage
appName string
tcUrl string
audioCodecs double
capabilities double
flashVer string
fPad bool
pageUrl string
swfUrl string
videoCodecs double
videoFunction double
objectEncoding double
Résultat CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeConnectError() public static méthode

public static GetInvokeConnectError ( uint channelId, uint streamId, uint requestId, string level, string code, string decription ) : AmfMessage
channelId uint
streamId uint
requestId uint
level string
code string
decription string
Résultat CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeConnectResult() public static méthode

public static GetInvokeConnectResult ( AmfMessage request, string level = Defines.RM_INVOKE_PARAMS_RESULT_LEVEL_STATUS, string code = Defines.RM_INVOKE_PARAMS_RESULT_CODE_NETCONNECTIONCONNECTSUCCESS, string description = Defines.RM_INVOKE_PARAMS_RESULT_DESCRIPTION_CONNECTIONSUCCEEDED ) : AmfMessage
request CSharpRTMP.Core.Protocols.Rtmp.AmfMessage
level string
code string
description string
Résultat CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetPong() public static méthode

public static GetPong ( ) : AmfMessage
Résultat CSharpRTMP.Core.Protocols.Rtmp.AmfMessage