C# Класс FluorineFx.Net.NetStream

Наследование: FluorineFx.Messaging.Rtmp.Stream.AbstractClientStream, IPendingServiceCallback, IEventDispatcher, INetStreamEventHandler
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Close ( ) : void
DispatchEvent ( IEvent @event ) : void
NetStream ( NetConnection connection ) : log4net

Initializes a new instance of the NetStream class that can be used for playing video files through the specified NetConnection object.

NetStream ( NetConnection connection, string peerId ) : log4net

Initializes a new instance of the NetStream class that can be used for playing video files through the specified NetConnection object.

OnStreamEvent ( FluorineFx.Messaging.Rtmp.Event.Notify notify ) : void
Play ( ) : void

Plays media files.

ResultReceived ( IPendingServiceCall call ) : void
Start ( ) : void
Stop ( ) : void

Приватные методы

Метод Описание
RaiseNetStatus ( ASObject info ) : void
RaiseNetStatus ( Exception exception ) : void
RaiseNetStatus ( string message ) : void
RaiseNetStatus ( string code, Exception exception ) : void
RaiseNetStreamAudio ( FluorineFx.Messaging.Rtmp.Event.AudioData audioData ) : void
RaiseNetStreamVideo ( FluorineFx.Messaging.Rtmp.Event.VideoData videoData ) : void
RaiseOnMetaData ( IDictionary obj ) : void
RaiseOnPlayStatus ( IDictionary infoObject ) : void

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

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

public Close ( ) : void
Результат void

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

public DispatchEvent ( IEvent @event ) : void
@event IEvent
Результат void

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

Initializes a new instance of the NetStream class that can be used for playing video files through the specified NetConnection object.
public NetStream ( NetConnection connection ) : log4net
connection NetConnection A NetConnection object.
Результат log4net

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

Initializes a new instance of the NetStream class that can be used for playing video files through the specified NetConnection object.
public NetStream ( NetConnection connection, string peerId ) : log4net
connection NetConnection A NetConnection object.
peerId string Not available.
Результат log4net

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

public OnStreamEvent ( FluorineFx.Messaging.Rtmp.Event.Notify notify ) : void
notify FluorineFx.Messaging.Rtmp.Event.Notify
Результат void

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

Plays media files.
public Play ( ) : void
Результат void

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

public ResultReceived ( IPendingServiceCall call ) : void
call IPendingServiceCall
Результат void

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

public Start ( ) : void
Результат void

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

public Stop ( ) : void
Результат void