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

Inheritance: BaseAppProtocolHandler
Mostra file Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Connected bool

Public Methods

Method Description
Broadcast ( BaseProtocol @from, Variant invokeInfo ) : void
Broadcast ( uint appId, BaseProtocol to, Variant invokeInfo ) : void
CallAppFunction ( uint appId, string functionName, Variant invoke ) : void
CallClient ( BaseProtocol to, string functionName, Variant invoke ) : void
OnSOCreated ( SO so ) : void
PlayStream ( uint appId, string streamName ) : void
PublishStream ( uint appId, IInStream inStream, string type = "live" ) : void
SharedObjectTrack ( BaseProtocol to, string name, uint version, bool isPersistent, Variant primitives ) : void

Protected Methods

Method Description
BaseClusterAppProtocolHandler ( Variant configuration ) : System

Method Details

BaseClusterAppProtocolHandler() protected method

protected BaseClusterAppProtocolHandler ( Variant configuration ) : System
configuration Variant
return System

Broadcast() public method

public Broadcast ( BaseProtocol @from, Variant invokeInfo ) : void
@from BaseProtocol
invokeInfo Variant
return void

Broadcast() public abstract method

public abstract Broadcast ( uint appId, BaseProtocol to, Variant invokeInfo ) : void
appId uint
to BaseProtocol
invokeInfo Variant
return void

CallAppFunction() public abstract method

public abstract CallAppFunction ( uint appId, string functionName, Variant invoke ) : void
appId uint
functionName string
invoke Variant
return void

CallClient() public method

public CallClient ( BaseProtocol to, string functionName, Variant invoke ) : void
to BaseProtocol
functionName string
invoke Variant
return void

OnSOCreated() public abstract method

public abstract OnSOCreated ( SO so ) : void
so CSharpRTMP.Core.Protocols.Rtmp.SO
return void

PlayStream() public abstract method

public abstract PlayStream ( uint appId, string streamName ) : void
appId uint
streamName string
return void

PublishStream() public abstract method

public abstract PublishStream ( uint appId, IInStream inStream, string type = "live" ) : void
appId uint
inStream IInStream
type string
return void

SharedObjectTrack() public method

public SharedObjectTrack ( BaseProtocol to, string name, uint version, bool isPersistent, Variant primitives ) : void
to BaseProtocol
name string
version uint
isPersistent bool
primitives Variant
return void

Property Details

Connected public_oe property

public bool Connected
return bool