Hi,<br>I try to use Telepathy-qt4 API to implement video call with GTALK protocal. <br>I called below API in my demo:<br> QStringList clientCapabilities;<br> clientCapabilities<br> << QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/gtalk-p2p")<br>
<< QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/ice-udp")<br> << QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/wlm-8.5")<br>
<< QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/video/h264")<br> << QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/video/theora")<br>
<< QLatin1String(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_MEDIA_SIGNALLING "/audio/speex");<br>
ensureStreamedMediaCall( contactName, userActionTime,preferredHandler ) );<br>
QList<Tp::MediaStreamType> request_types;<br> request_types.append(Tp::MediaStreamTypeVideo);<br><div class="im"> request_types.append(Tp::MediaStreamTypeAudio);<br> ret = (*mWaiter)( mChannel->requestStreams( aTarget, request_types);<br>
<br>Error log as below:<br>
DEBUG: Received StreamedMedia.StreamError for stream 1<br>
with error code 2 and message: ""<br>
Error code:<br>
Codec negotiation failed<br>
<br>
I'm not sure if I need call some codec API and if I need to launch camera by myself, has telepathy packaged them and there are Available API already?<br><br>Thanks,<br>Cassie<br><br></div>