#include <TelepathyQt4/Client/StreamedMediaChannel>
This subclass of Channel will eventually provide a high-level API for the StreamedMedia interface. Until then, it's just a Channel.
Telepathy::Client::StreamedMediaChannel::StreamedMediaChannel | ( | Connection * | connection, | |
const QString & | objectPath, | |||
const QVariantMap & | immutableProperties, | |||
QObject * | parent = 0 | |||
) |
Creates a StreamedMediaChannel associated with the given object on the same service as the given connection.
connection | Connection owning this StreamedMediaChannel, and specifying the service. | |
objectPath | Path to the object on the service. | |
immutableProperties | The immutable properties of the channel, as signalled by NewChannels or returned by CreateChannel or EnsureChannel | |
parent | Passed to the parent class constructor. |
Telepathy::Client::StreamedMediaChannel::~StreamedMediaChannel | ( | ) |
Class destructor.
PendingOperation * Telepathy::Client::StreamedMediaChannel::acceptCall | ( | ) |
References Telepathy::Client::Channel::groupAddSelfHandle().
bool Telepathy::Client::StreamedMediaChannel::awaitingLocalAnswer | ( | ) | const |
bool Telepathy::Client::StreamedMediaChannel::awaitingRemoteAnswer | ( | ) | const |
PendingOperation * Telepathy::Client::StreamedMediaChannel::removeStream | ( | const MediaStreamPtr & | stream | ) |
Remove the specified stream from this channel.
stream | Stream to remove. |
References Telepathy::Client::Channel::streamedMediaInterface().
PendingOperation * Telepathy::Client::StreamedMediaChannel::removeStreams | ( | const MediaStreams & | streams | ) |
Remove the specified streams from this channel.
streams | List of streams to remove. |
References Telepathy::Client::Channel::streamedMediaInterface().
PendingMediaStreams * Telepathy::Client::StreamedMediaChannel::requestStream | ( | const ContactPtr & | contact, | |
Telepathy::MediaStreamType | type | |||
) |
References PendingMediaStreams.
PendingMediaStreams * Telepathy::Client::StreamedMediaChannel::requestStreams | ( | const ContactPtr & | contact, | |
QList< Telepathy::MediaStreamType > | types | |||
) |
References PendingMediaStreams.
void Telepathy::Client::StreamedMediaChannel::streamAdded | ( | const Telepathy::Client::MediaStreamPtr & | stream | ) | [signal] |
void Telepathy::Client::StreamedMediaChannel::streamDirectionChanged | ( | const Telepathy::Client::MediaStreamPtr & | stream, | |
Telepathy::MediaStreamDirection | direction, | |||
Telepathy::MediaStreamPendingSend | pendingSend | |||
) | [signal] |
void Telepathy::Client::StreamedMediaChannel::streamError | ( | const Telepathy::Client::MediaStreamPtr & | stream, | |
Telepathy::MediaStreamError | errorCode, | |||
const QString & | errorMessage | |||
) | [signal] |
void Telepathy::Client::StreamedMediaChannel::streamRemoved | ( | const Telepathy::Client::MediaStreamPtr & | stream | ) | [signal] |
MediaStreams Telepathy::Client::StreamedMediaChannel::streams | ( | ) | const |
Return a list of streams in this channel. This list is empty unless the FeatureStreams Feature has been enabled.
Streams are added to the list when they are received; the streamAdded signal is emitted.
References FeatureStreams, Telepathy::Client::ReadyObject::isReady(), and Telepathy::warning().
Referenced by streamsForType().
MediaStreams Telepathy::Client::StreamedMediaChannel::streamsForType | ( | Telepathy::MediaStreamType | type | ) | const |
References FeatureStreams, Telepathy::Client::ReadyObject::isReady(), streams(), and Telepathy::warning().
void Telepathy::Client::StreamedMediaChannel::streamStateChanged | ( | const Telepathy::Client::MediaStreamPtr & | stream, | |
Telepathy::MediaStreamState | ||||
) | [signal] |
friend class PendingMediaStreams [friend] |
Referenced by requestStream(), and requestStreams().
friend struct Private [friend] |
Reimplemented from Telepathy::Client::Channel.
const Feature Telepathy::Client::StreamedMediaChannel::FeatureStreams = Feature(StreamedMediaChannel::staticMetaObject.className(), 0) [static] |
Referenced by streams(), and streamsForType().