C# Class Core.Protocols.Rtmp.ConnectionMessageFactory

显示文件 Open project: langhuihui/csharprtmp

Public Methods

Method 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

Method 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 method

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
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeConnectError() public static method

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
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeConnectResult() public static method

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
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetPong() public static method

public static GetPong ( ) : AmfMessage
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage