C# Class CSharpRTMP.Core.Protocols.Cluster.BaseClusterProtocol

Inheritance: BaseProtocol
Afficher le fichier Open project: langhuihui/csharprtmp Class Usage Examples

Méthodes publiques

Свойство Type Description
InStreams InClusterStream>.Dictionary
SOs HashSet

Méthodes publiques

Méthode Description
Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
Deserialize ( ) : Variant
GetRoom ( string appName ) : BaseClientApplication
GetRoom ( uint appId ) : BaseClientApplication
PlayStream ( uint appId, string streamName ) : void
PublishStream ( uint appId, IInStream inNetStream, string type = "live" ) : void
Send ( ClusterMessageType type ) : void
Send ( ClusterMessageType type, Action writeAction ) : void
Send ( ClusterMessageType type, InputStream message ) : void
Send ( ClusterMessageType type, object message ) : void
Send ( ClusterMessageType type, uint streamId, Stream pData, uint dataLength, uint processedLength, uint totalLength, uint absoluteTimestamp ) : void
SharedObjectTrack ( BaseClientApplication app, string name, uint version, bool isPersistent, Variant primitives ) : void
SignalInputData ( int recAmount ) : bool

Méthodes protégées

Méthode Description
FeedData ( bool isAudio ) : void
OnReceive ( ClusterMessageType type ) : void

Method Details

Broadcast() public méthode

public Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
appId uint
pFrom BaseProtocol
invokeInfo Variant
Résultat void

Deserialize() public méthode

public Deserialize ( ) : Variant
Résultat Variant

FeedData() protected méthode

protected FeedData ( bool isAudio ) : void
isAudio bool
Résultat void

GetRoom() public méthode

public GetRoom ( string appName ) : BaseClientApplication
appName string
Résultat BaseClientApplication

GetRoom() public méthode

public GetRoom ( uint appId ) : BaseClientApplication
appId uint
Résultat BaseClientApplication

OnReceive() protected méthode

protected OnReceive ( ClusterMessageType type ) : void
type ClusterMessageType
Résultat void

PlayStream() public méthode

public PlayStream ( uint appId, string streamName ) : void
appId uint
streamName string
Résultat void

PublishStream() public méthode

public PublishStream ( uint appId, IInStream inNetStream, string type = "live" ) : void
appId uint
inNetStream IInStream
type string
Résultat void

Send() public méthode

public Send ( ClusterMessageType type ) : void
type ClusterMessageType
Résultat void

Send() public méthode

public Send ( ClusterMessageType type, Action writeAction ) : void
type ClusterMessageType
writeAction Action
Résultat void

Send() public méthode

public Send ( ClusterMessageType type, InputStream message ) : void
type ClusterMessageType
message CSharpRTMP.Common.InputStream
Résultat void

Send() public méthode

public Send ( ClusterMessageType type, object message ) : void
type ClusterMessageType
message object
Résultat void

Send() public méthode

public Send ( ClusterMessageType type, uint streamId, Stream pData, uint dataLength, uint processedLength, uint totalLength, uint absoluteTimestamp ) : void
type ClusterMessageType
streamId uint
pData Stream
dataLength uint
processedLength uint
totalLength uint
absoluteTimestamp uint
Résultat void

SharedObjectTrack() public méthode

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

SignalInputData() public méthode

public SignalInputData ( int recAmount ) : bool
recAmount int
Résultat bool

Property Details

InStreams public_oe property

public Dictionary InStreams
Résultat InClusterStream>.Dictionary

SOs public_oe property

public HashSet SOs
Résultat HashSet