QMediaRtpStream Class Reference
|
Constant | Value | Description |
---|---|---|
QMediaRtpStream::SendOnly | 0x01 | The stream sends data. |
QMediaRtpStream::ReceiveOnly | 0x02 | The stream receives data. |
QMediaRtpStream::SendReceive | SendOnly | ReceiveOnly | The stream both sends and receives data. |
Identifies the current state of an RTP stream.
Constant | Value | Description |
---|---|---|
QMediaRtpStream::Connecting | 0 | The stream is in the process of establishing a connection. |
QMediaRtpStream::Connected | 1 | The stream is connected. |
QMediaRtpStream::Disconnecting | 2 | The stream is in the process of tearing down a connection. |
QMediaRtpStream::Disconnected | 3 | The stream is disconnected. |
Identifies the type of an RTP stream.
Constant | Value | Description |
---|---|---|
QMediaRtpStream::Audio | 0 | The stream is an audio stream. |
QMediaRtpStream::Video | 1 | The stream is a video stream. |
Constructs a type RTP stream with the given parent which sends and/or receives data according to direction.
Destroys a stream.
Starts the inbound stream listening for data on the given address and port.
See also inboundAddress(), inboundPort(), inboundState(), disconnectInbound(), and connectOutbound().
Starts the outbound stream sending data to a host with the given address and port.
See also outboundAddress(), outboundPort(), outboundState(), disconnectOutbound(), and connectInbound().
Returns the direction of a stream.
Stops the inbound stream receiving data.
Stops the outbound stream sending data.
Returns the address the inbound stream is receiving data at.
See also setInboundAddress().
Signals that the inbound stream has been connected.
Signals that the inbound stream has been disconnected.
Signals that an error occurred in the inbound stream.
See also setInboundError().
Returns a string describing the last error to occur to the inbound stream.
Returns the payload of the inbound stream.
See also setInboundPayload().
Signals that the payload of the incoming stream has changed.
Returns a list of payloads the inbound stream can expect to receive.
See also setInboundPayloads().
Returns the port number the inbound stream is receiving data on.
See also setInboundPort().
Returns the state of the inbound stream.
See also setInboundState().
Signals that the state of the inbound stream has changed.
Returns the address the outbound stream is sending to.
See also setOutboundAddress().
Signals that the outbound streamm has been connected.
Signals that the outbound stream has been disconnected.
Signals that an error occurred in the outbound stream.
See also setOutboundError().
Returns a string describing the last error to occur to the outbound stream.
Returns the payload used for outbound data.
See also setOutboundPayload().
Returns the port number the outbound stream is sending to.
See also setOutboundPort().
Returns the current state of the outbound stream.
See also setOutboundState().
Signals that the state of the outbound stream has changed.
Sets the address the inbound stream listens for data at.
See also inboundAddress().
Sets a string describing the last error to the inbound stream.
This will emit the inboundError() signal.
See also inboundError().
Sets the payload of the inbound stream.
See also inboundPayload().
Sets a list of payloads the inbound stream can expect to receive.
See also inboundPayloads().
Sets the port the inbound stream listens for data on.
See also inboundPort().
Sets the current state of the inbound stream.
This emits the inboundStateChanged() signal.
See also inboundState().
Sets the address the outbound stream sends data to.
See also outboundAddress().
Sets a string describing the last error to occur the the outbound stream.
See also outboundError().
Sets the payload to used for outbound data.
Returns true if the payload could be set and false otherwise.
Setting the payload will fail if the session does not support any equivalent outbound payload.
See also outboundPayload(), QMediaRtpSession::supportedOutboundPayloads(), and QMediaRtpPayload::isEquivalent().
Sets the port the outbound stream sends data to.
See also outboundPort().
Sets the state of the outbound stream.
This will emit the outboundStateChanged() signal.
See also outboundState().
Returns the type of a stream.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com