C# Класс CSharpRTMP.Core.Protocols.Cluster.BaseClusterProtocol

Наследование: BaseProtocol
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
InStreams InClusterStream>.Dictionary
SOs HashSet

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
FeedData ( bool isAudio ) : void
OnReceive ( ClusterMessageType type ) : void

Описание методов

Broadcast() публичный Метод

public Broadcast ( uint appId, BaseProtocol pFrom, Variant invokeInfo ) : void
appId uint
pFrom BaseProtocol
invokeInfo Variant
Результат void

Deserialize() публичный Метод

public Deserialize ( ) : Variant
Результат Variant

FeedData() защищенный Метод

protected FeedData ( bool isAudio ) : void
isAudio bool
Результат void

GetRoom() публичный Метод

public GetRoom ( string appName ) : BaseClientApplication
appName string
Результат BaseClientApplication

GetRoom() публичный Метод

public GetRoom ( uint appId ) : BaseClientApplication
appId uint
Результат BaseClientApplication

OnReceive() защищенный Метод

protected OnReceive ( ClusterMessageType type ) : void
type ClusterMessageType
Результат void

PlayStream() публичный Метод

public PlayStream ( uint appId, string streamName ) : void
appId uint
streamName string
Результат void

PublishStream() публичный Метод

public PublishStream ( uint appId, IInStream inNetStream, string type = "live" ) : void
appId uint
inNetStream IInStream
type string
Результат void

Send() публичный Метод

public Send ( ClusterMessageType type ) : void
type ClusterMessageType
Результат void

Send() публичный Метод

public Send ( ClusterMessageType type, Action writeAction ) : void
type ClusterMessageType
writeAction Action
Результат void

Send() публичный Метод

public Send ( ClusterMessageType type, InputStream message ) : void
type ClusterMessageType
message CSharpRTMP.Common.InputStream
Результат void

Send() публичный Метод

public Send ( ClusterMessageType type, object message ) : void
type ClusterMessageType
message object
Результат void

Send() публичный Метод

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
Результат void

SharedObjectTrack() публичный Метод

public SharedObjectTrack ( BaseClientApplication app, string name, uint version, bool isPersistent, Variant primitives ) : void
app BaseClientApplication
name string
version uint
isPersistent bool
primitives Variant
Результат void

SignalInputData() публичный Метод

public SignalInputData ( int recAmount ) : bool
recAmount int
Результат bool

Описание свойств

InStreams публичное свойство

public Dictionary InStreams
Результат InClusterStream>.Dictionary

SOs публичное свойство

public HashSet SOs
Результат HashSet