C# Class CSharpRTMP.Core.Streaming.StreamsManager

Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
Application BaseClientApplication
StreamsByName Dictionary>
StreamsByProtocolId Dictionary>
StreamsByType Dictionary>
StreamsByUniqueId IStream>.Dictionary

Public Methods

Method Description
CreateOutFileStream ( BaseProtocol protocol, IInStream instream, bool append ) : IOutFileStream
CreateOutFileStream ( BaseProtocol protocol, string name, string filePath, bool append ) : IOutFileStream
FindByName ( string name, bool partial ) : IStream>.Dictionary
FindByProtocolId ( uint id ) : IStream>.Dictionary
FindByProtocolIdByName ( uint protocolId, string name, bool partial ) : IStream>.Dictionary
FindByProtocolIdByType ( uint protocolId, ulong type, bool partial ) : IStream>.Dictionary
FindByProtocolIdByTypeByName ( uint protocolId, ulong type, string name, bool partialType, bool partialName ) : IStream>.Dictionary
FindByType ( ulong type, bool partialType ) : IStream>.Dictionary
FindByTypeByName ( ulong type, string name, bool partialType, bool partialName ) : IStream>.Dictionary
FindByUniqueId ( uint uniqueId ) : IStream
GenerateUniqueId ( ) : uint
GetMetaData ( string streamName, bool extractInnerMetadata, Variant configuration ) : Variant
GetWaitingSubscribers ( string streamName, ulong inboundStreamType ) : IEnumerable
RegisterStream ( IStream stream ) : bool
StreamNameAvailable ( string streamName ) : bool
StreamsManager ( BaseClientApplication pApplication ) : System
UnRegisterStream ( IStream stream ) : void
UnRegisterStreams ( uint protocolId ) : void

Method Details

CreateOutFileStream() public method

public CreateOutFileStream ( BaseProtocol protocol, IInStream instream, bool append ) : IOutFileStream
protocol CSharpRTMP.Core.Protocols.BaseProtocol
instream IInStream
append bool
return IOutFileStream

CreateOutFileStream() public method

public CreateOutFileStream ( BaseProtocol protocol, string name, string filePath, bool append ) : IOutFileStream
protocol CSharpRTMP.Core.Protocols.BaseProtocol
name string
filePath string
append bool
return IOutFileStream

FindByName() public method

public FindByName ( string name, bool partial ) : IStream>.Dictionary
name string
partial bool
return IStream>.Dictionary

FindByProtocolId() public method

public FindByProtocolId ( uint id ) : IStream>.Dictionary
id uint
return IStream>.Dictionary

FindByProtocolIdByName() public method

public FindByProtocolIdByName ( uint protocolId, string name, bool partial ) : IStream>.Dictionary
protocolId uint
name string
partial bool
return IStream>.Dictionary

FindByProtocolIdByType() public method

public FindByProtocolIdByType ( uint protocolId, ulong type, bool partial ) : IStream>.Dictionary
protocolId uint
type ulong
partial bool
return IStream>.Dictionary

FindByProtocolIdByTypeByName() public method

public FindByProtocolIdByTypeByName ( uint protocolId, ulong type, string name, bool partialType, bool partialName ) : IStream>.Dictionary
protocolId uint
type ulong
name string
partialType bool
partialName bool
return IStream>.Dictionary

FindByType() public method

public FindByType ( ulong type, bool partialType ) : IStream>.Dictionary
type ulong
partialType bool
return IStream>.Dictionary

FindByTypeByName() public method

public FindByTypeByName ( ulong type, string name, bool partialType, bool partialName ) : IStream>.Dictionary
type ulong
name string
partialType bool
partialName bool
return IStream>.Dictionary

FindByUniqueId() public method

public FindByUniqueId ( uint uniqueId ) : IStream
uniqueId uint
return IStream

GenerateUniqueId() public method

public GenerateUniqueId ( ) : uint
return uint

GetMetaData() public method

public GetMetaData ( string streamName, bool extractInnerMetadata, Variant configuration ) : Variant
streamName string
extractInnerMetadata bool
configuration Variant
return Variant

GetWaitingSubscribers() public method

public GetWaitingSubscribers ( string streamName, ulong inboundStreamType ) : IEnumerable
streamName string
inboundStreamType ulong
return IEnumerable

RegisterStream() public method

public RegisterStream ( IStream stream ) : bool
stream IStream
return bool

StreamNameAvailable() public method

public StreamNameAvailable ( string streamName ) : bool
streamName string
return bool

StreamsManager() public method

public StreamsManager ( BaseClientApplication pApplication ) : System
pApplication BaseClientApplication
return System

UnRegisterStream() public method

public UnRegisterStream ( IStream stream ) : void
stream IStream
return void

UnRegisterStreams() public method

public UnRegisterStreams ( uint protocolId ) : void
protocolId uint
return void

Property Details

Application public property

public BaseClientApplication Application
return BaseClientApplication

StreamsByName public property

public Dictionary> StreamsByName
return Dictionary>

StreamsByProtocolId public property

public Dictionary> StreamsByProtocolId
return Dictionary>

StreamsByType public property

public Dictionary> StreamsByType
return Dictionary>

StreamsByUniqueId public property

public Dictionary StreamsByUniqueId
return IStream>.Dictionary