C# Class Core.Protocols.Rtmp.StreamMessageFactory

ファイルを表示 Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
GetFlexStreamSend ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, string function, Variant parameters ) : AmfMessage
GetInvokeCloseStream ( uint channelId, uint streamId ) : AmfMessage
GetInvokeCreateStream ( ) : AmfMessage
GetInvokeCreateStreamResult ( AmfMessage request, double createdStreamId ) : AmfMessage
GetInvokeCreateStreamResult ( uint channelId, uint streamId, uint requestId, double createdStreamId ) : AmfMessage
GetInvokeDeleteStream ( uint channelId, uint streamId ) : AmfMessage
GetInvokeFCSubscribe ( string streamName ) : AmfMessage
GetInvokeOnFCPublish ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string code, string description ) : AmfMessage
GetInvokeOnStatusStreamPauseNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamPlayFailed ( Variant request, string streamName ) : AmfMessage
GetInvokeOnStatusStreamPlayFailed ( uint channelId, uint streamId, double requestId, string streamName ) : AmfMessage
GetInvokeOnStatusStreamPlayReset ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamPlayStart ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamPlayStop ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamPlayUnpublishNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string clientId ) : AmfMessage
GetInvokeOnStatusStreamPublishBadName ( AmfMessage request, string streamName ) : AmfMessage
GetInvokeOnStatusStreamPublishBadName ( uint channelId, uint streamId, double requestId, string streamName ) : AmfMessage
GetInvokeOnStatusStreamPublished ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string level, string code, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamSeekNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokeOnStatusStreamUnpauseNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
GetInvokePlay ( uint channelId, uint streamId, string streamName, double start, double length ) : AmfMessage
GetInvokePublish ( uint channelId, uint streamId, string streamName, string mode ) : AmfMessage
GetInvokeReleaseStreamErrorNotFound ( AmfMessage request ) : AmfMessage
GetInvokeReleaseStreamResult ( uint channelId, uint streamId, uint requestId, double releasedStreamId ) : AmfMessage
GetNotifyOnMetaData ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, Variant metadata ) : AmfMessage
GetNotifyOnPlayStatusPlayComplete ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double bytes, double duration ) : AmfMessage
GetNotifyOnStatusDataStart ( uint channelId, uint streamId, double timeStamp, bool isAbsolute ) : AmfMessage
GetNotifyRtmpSampleAccess ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, bool audioAccess, bool videoAccess ) : AmfMessage
GetUserControlStream ( ushort operation, uint streamId ) : AmfMessage
GetUserControlStreamBegin ( uint streamId ) : AmfMessage
GetUserControlStreamDry ( uint streamId ) : AmfMessage
GetUserControlStreamEof ( uint streamId ) : AmfMessage
GetUserControlStreamIsRecorded ( uint streamId ) : AmfMessage

Method Details

GetFlexStreamSend() public static method

public static GetFlexStreamSend ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, string function, Variant parameters ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
function string
parameters Variant
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeCloseStream() public static method

public static GetInvokeCloseStream ( uint channelId, uint streamId ) : AmfMessage
channelId uint
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeCreateStream() public static method

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

GetInvokeCreateStreamResult() public static method

public static GetInvokeCreateStreamResult ( AmfMessage request, double createdStreamId ) : AmfMessage
request CSharpRTMP.Core.Protocols.Rtmp.AmfMessage
createdStreamId double
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeCreateStreamResult() public static method

public static GetInvokeCreateStreamResult ( uint channelId, uint streamId, uint requestId, double createdStreamId ) : AmfMessage
channelId uint
streamId uint
requestId uint
createdStreamId double
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeDeleteStream() public static method

public static GetInvokeDeleteStream ( uint channelId, uint streamId ) : AmfMessage
channelId uint
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeFCSubscribe() public static method

public static GetInvokeFCSubscribe ( string streamName ) : AmfMessage
streamName string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnFCPublish() public static method

public static GetInvokeOnFCPublish ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string code, string description ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
code string
description string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPauseNotify() public static method

public static GetInvokeOnStatusStreamPauseNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayFailed() public static method

public static GetInvokeOnStatusStreamPlayFailed ( Variant request, string streamName ) : AmfMessage
request Variant
streamName string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayFailed() public static method

public static GetInvokeOnStatusStreamPlayFailed ( uint channelId, uint streamId, double requestId, string streamName ) : AmfMessage
channelId uint
streamId uint
requestId double
streamName string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayReset() public static method

public static GetInvokeOnStatusStreamPlayReset ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayStart() public static method

public static GetInvokeOnStatusStreamPlayStart ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayStop() public static method

public static GetInvokeOnStatusStreamPlayStop ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPlayUnpublishNotify() public static method

public static GetInvokeOnStatusStreamPlayUnpublishNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPublishBadName() public static method

public static GetInvokeOnStatusStreamPublishBadName ( AmfMessage request, string streamName ) : AmfMessage
request CSharpRTMP.Core.Protocols.Rtmp.AmfMessage
streamName string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPublishBadName() public static method

public static GetInvokeOnStatusStreamPublishBadName ( uint channelId, uint streamId, double requestId, string streamName ) : AmfMessage
channelId uint
streamId uint
requestId double
streamName string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamPublished() public static method

public static GetInvokeOnStatusStreamPublished ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string level, string code, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
level string
code string
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamSeekNotify() public static method

public static GetInvokeOnStatusStreamSeekNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeOnStatusStreamUnpauseNotify() public static method

public static GetInvokeOnStatusStreamUnpauseNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double requestId, string description, string details, string clientId ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
requestId double
description string
details string
clientId string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokePlay() public static method

public static GetInvokePlay ( uint channelId, uint streamId, string streamName, double start, double length ) : AmfMessage
channelId uint
streamId uint
streamName string
start double
length double
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokePublish() public static method

public static GetInvokePublish ( uint channelId, uint streamId, string streamName, string mode ) : AmfMessage
channelId uint
streamId uint
streamName string
mode string
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetInvokeReleaseStreamErrorNotFound() public static method

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

GetInvokeReleaseStreamResult() public static method

public static GetInvokeReleaseStreamResult ( uint channelId, uint streamId, uint requestId, double releasedStreamId ) : AmfMessage
channelId uint
streamId uint
requestId uint
releasedStreamId double
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetNotifyOnMetaData() public static method

public static GetNotifyOnMetaData ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, Variant metadata ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
metadata Variant
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetNotifyOnPlayStatusPlayComplete() public static method

public static GetNotifyOnPlayStatusPlayComplete ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, double bytes, double duration ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
bytes double
duration double
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetNotifyOnStatusDataStart() public static method

public static GetNotifyOnStatusDataStart ( uint channelId, uint streamId, double timeStamp, bool isAbsolute ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetNotifyRtmpSampleAccess() public static method

public static GetNotifyRtmpSampleAccess ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, bool audioAccess, bool videoAccess ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
audioAccess bool
videoAccess bool
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetUserControlStream() public static method

public static GetUserControlStream ( ushort operation, uint streamId ) : AmfMessage
operation ushort
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetUserControlStreamBegin() public static method

public static GetUserControlStreamBegin ( uint streamId ) : AmfMessage
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetUserControlStreamDry() public static method

public static GetUserControlStreamDry ( uint streamId ) : AmfMessage
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetUserControlStreamEof() public static method

public static GetUserControlStreamEof ( uint streamId ) : AmfMessage
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage

GetUserControlStreamIsRecorded() public static method

public static GetUserControlStreamIsRecorded ( uint streamId ) : AmfMessage
streamId uint
return CSharpRTMP.Core.Protocols.Rtmp.AmfMessage