Add Call interface support alongside StreamedMedia interface support to StreamedMediaChannel class. The idea is to keep old methods working and add new methods to support Call interface. The old methods will be marked deprecated and be removed in a new stable version. The initial patch refactors StreamedMediaChannel to prepare it to support the Call interface.
> MediaContentPtr content() const; > > TELEPATHY_QT4_DEPRECATED StreamedMediaChannelPtr channel() const; Why is this deprecated? Even if it's just a shortcut for content()->channel(), it seems a reasonable thing to want to do, and is non-lossy. > SendingState localSendingState() const; > SendingState remoteSendingState(const ContactPtr &contact) const; > > TELEPATHY_QT4_DEPRECATED bool sending() const; Why is this deprecated? It looks as though it should just expand to (localSendingState() == SendingStateSending) which seems perfectly reasonable. > TELEPATHY_QT4_DEPRECATED bool receiving() const; > TELEPATHY_QT4_DEPRECATED bool localSendingRequested() const; > TELEPATHY_QT4_DEPRECATED bool remoteSendingRequested() const; Likewise for these? > TELEPATHY_QT4_DEPRECATED MediaStreamDirection direction() const; > TELEPATHY_QT4_DEPRECATED MediaStreamPendingSend pendingSend() const; I can see the logic in deprecating these, though; they're combining things that don't necessarily make sense to combine.
Merged upstream. It will be included in next version 0.3.0
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.