C# Class FluorineFx.Net.NetStream

Inheritance: FluorineFx.Messaging.Rtmp.Stream.AbstractClientStream, IPendingServiceCallback, IEventDispatcher, INetStreamEventHandler
Datei anzeigen Open project: jdecuyper/FluorineFx Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Close() public method

public Close ( ) : void
return void

DispatchEvent() public method

public DispatchEvent ( IEvent @event ) : void
@event IEvent
return void

NetStream() public method

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.
return log4net

NetStream() public method

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.
return log4net

OnStreamEvent() public method

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

Play() public method

Plays media files.
public Play ( ) : void
return void

ResultReceived() public method

public ResultReceived ( IPendingServiceCall call ) : void
call IPendingServiceCall
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void