C# Class CSharpRTMP.Core.Protocols.Rtsp.RtspProtocol

Inheritance: BaseProtocol
Afficher le fichier Open project: langhuihui/csharprtmp Class Usage Examples

Méthodes publiques

Свойство Type Description
InboundConnectivity InboundConnectivity
InboundSDP Variant
LastRequestSequence uint
OutboundConnectivity OutboundConnectivity

Méthodes publiques

Méthode Description
ClearResponseMessage ( ) : void
CloseOutboundConnectivity ( ) : void
EnableKeepAlive ( uint period, string keepAliveURI ) : bool
GenerateSessionId ( ) : string
GetInboundConnectivity ( string sdpStreamName, uint bandwidthHint, byte rtcpDetectionInterval ) : InboundConnectivity
GetOutboundConnectivity ( IInNetStream pInNetStream, bool forceTcp ) : OutboundConnectivity
GetRequest ( uint seqId, Variant result, string &content ) : bool
GetStats ( Variant info, uint namespaceId ) : void
Initialize ( Variant parameters ) : bool
PushRequestContent ( string outboundContent, bool append ) : void
PushRequestFirstLine ( string method, string url, string version ) : void
PushRequestHeader ( string name, string value ) : void
PushResponseContent ( string outboundContent, bool append ) : void
PushResponseFirstLine ( string version, uint code, string reason ) : void
PushResponseHeader ( string name, string value ) : void
RtspProtocol ( ) : System
SendKeepAliveOptions ( ) : bool
SendMessage ( Variant headers, string content ) : bool
SendRaw ( MsgHdr message, RTPClient &client, bool isAudio, bool isData ) : bool
SendRaw ( byte buffer ) : bool
SendRequestMessage ( ) : bool
SendResponseMessage ( ) : bool
SetAuthentication ( string wwwAuthenticateHeader, string userName, string password ) : bool
SignalInputData ( int recAmount ) : bool

Private Methods

Méthode Description
CloseInboundConnectivity ( ) : void
HandleRTSPMessage ( ) : bool
ParseFirstLine ( string line ) : bool
ParseNormalHeaders ( ) : bool

Method Details

ClearResponseMessage() public méthode

public ClearResponseMessage ( ) : void
Résultat void

CloseOutboundConnectivity() public méthode

public CloseOutboundConnectivity ( ) : void
Résultat void

EnableKeepAlive() public méthode

public EnableKeepAlive ( uint period, string keepAliveURI ) : bool
period uint
keepAliveURI string
Résultat bool

GenerateSessionId() public méthode

public GenerateSessionId ( ) : string
Résultat string

GetInboundConnectivity() public méthode

public GetInboundConnectivity ( string sdpStreamName, uint bandwidthHint, byte rtcpDetectionInterval ) : InboundConnectivity
sdpStreamName string
bandwidthHint uint
rtcpDetectionInterval byte
Résultat InboundConnectivity

GetOutboundConnectivity() public méthode

public GetOutboundConnectivity ( IInNetStream pInNetStream, bool forceTcp ) : OutboundConnectivity
pInNetStream IInNetStream
forceTcp bool
Résultat OutboundConnectivity

GetRequest() public méthode

public GetRequest ( uint seqId, Variant result, string &content ) : bool
seqId uint
result Variant
content string
Résultat bool

GetStats() public méthode

public GetStats ( Variant info, uint namespaceId ) : void
info Variant
namespaceId uint
Résultat void

Initialize() public méthode

public Initialize ( Variant parameters ) : bool
parameters Variant
Résultat bool

PushRequestContent() public méthode

public PushRequestContent ( string outboundContent, bool append ) : void
outboundContent string
append bool
Résultat void

PushRequestFirstLine() public méthode

public PushRequestFirstLine ( string method, string url, string version ) : void
method string
url string
version string
Résultat void

PushRequestHeader() public méthode

public PushRequestHeader ( string name, string value ) : void
name string
value string
Résultat void

PushResponseContent() public méthode

public PushResponseContent ( string outboundContent, bool append ) : void
outboundContent string
append bool
Résultat void

PushResponseFirstLine() public méthode

public PushResponseFirstLine ( string version, uint code, string reason ) : void
version string
code uint
reason string
Résultat void

PushResponseHeader() public méthode

public PushResponseHeader ( string name, string value ) : void
name string
value string
Résultat void

RtspProtocol() public méthode

public RtspProtocol ( ) : System
Résultat System

SendKeepAliveOptions() public méthode

public SendKeepAliveOptions ( ) : bool
Résultat bool

SendMessage() public méthode

public SendMessage ( Variant headers, string content ) : bool
headers Variant
content string
Résultat bool

SendRaw() public méthode

public SendRaw ( MsgHdr message, RTPClient &client, bool isAudio, bool isData ) : bool
message MsgHdr
client RTPClient
isAudio bool
isData bool
Résultat bool

SendRaw() public méthode

public SendRaw ( byte buffer ) : bool
buffer byte
Résultat bool

SendRequestMessage() public méthode

public SendRequestMessage ( ) : bool
Résultat bool

SendResponseMessage() public méthode

public SendResponseMessage ( ) : bool
Résultat bool

SetAuthentication() public méthode

public SetAuthentication ( string wwwAuthenticateHeader, string userName, string password ) : bool
wwwAuthenticateHeader string
userName string
password string
Résultat bool

SignalInputData() public méthode

public SignalInputData ( int recAmount ) : bool
recAmount int
Résultat bool

Property Details

InboundConnectivity public_oe property

public InboundConnectivity,CSharpRTMP.Core.Protocols.Rtsp InboundConnectivity
Résultat InboundConnectivity

InboundSDP public_oe property

public Variant InboundSDP
Résultat Variant

LastRequestSequence public_oe property

public uint LastRequestSequence
Résultat uint

OutboundConnectivity public_oe property

public OutboundConnectivity,CSharpRTMP.Core.Protocols.Rtsp OutboundConnectivity
Résultat OutboundConnectivity