C# Class RtmfpDownloader.DownloadProtocol

Inheritance: CSharpRTMP.Core.Protocols.Rtmfp.OutboundRTMFPProtocol, IDownload
Exibir arquivo Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
AppName string
DownloadSession DownloadSession
Speed long
StreamName string
TcUrl string

Public Methods

Method Description
CreateSession ( Peer peer, Cookie cookie ) : Session
GetSpeed ( ) : long
Restart ( ) : void
Start ( string url, string filePath ) : void
Stop ( ) : void

Private Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

CreateSession() public method

public CreateSession ( Peer peer, Cookie cookie ) : Session
peer Peer
cookie CSharpRTMP.Core.Protocols.Rtmfp.Cookie
return Session

GetSpeed() public method

public GetSpeed ( ) : long
return long

Restart() public method

public Restart ( ) : void
return void

Start() public method

public Start ( string url, string filePath ) : void
url string
filePath string
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

AppName public_oe property

public string AppName
return string

DownloadSession public_oe property

public DownloadSession,RtmfpDownloader DownloadSession
return DownloadSession

Speed public_oe property

public long Speed
return long

StreamName public_oe property

public string StreamName
return string

TcUrl public_oe property

public string TcUrl
return string