[Telepathy] Video call with GTalk

flower bean beanflowersh at gmail.com
Sun Mar 27 22:14:36 PDT 2011


Thanks very much for your response.
I was create Voice call successfully via call below API:
QList<Tp::MediaStreamType> request_types;
        request_types.append(Tp::MediaStreamTypeAudio);
        mRetValue = (*mWaiter)( mChannel->requestStreams( aTarget,
request_types) );
*but fail to create Video call as below(especially no audio):*
        request_types.append(Tp::MediaStreamTypeVideo);
        request_types.append(Tp::MediaStreamTypeAudio);
        mRetValue = (*mWaiter)( mChannel->requestStreams( aTarget,
request_types) );
Channel fully ready, Audio/Video stream created successfully, but there is
no audio and video output, what do I need to do else?

Thanks in advance!
Cassie

2011/3/28 Olivier Crête <olivier.crete at collabora.co.uk>

>  On Mon, 2011-03-28 at 10:41 +0800, flower bean wrote:
> > Hello,
> >      I use telepathy-qt4 to implement video call with GTalk protocal.
> >      I'm not sure if I need to launch camera by myself, if yes, does
> > it use the API org.maemo.Telepathy.StreamEngine.StartCamera()?
> >      I have called org.maemo.Telepathy.StreamEngine.AttachToChannel,
> > do I also need to call StartCamera/VideoPreviewSize etc. separatly ?
>
> I assume you're on Maemo5 (stream-engine is only for Maemo).
>
> You don't have to call StartCamera(), its only there if you want to
> start the camera before the call actually starts (like the Maemo5
> default UI does).
>
> VideoOutputSize and VideoPreviewSize are signals that tell the UI what
> resolution the output/preview is so the UI can put its output window at
> the right ratio.
>
> That said, be careful, I'm not sure how will it will interact with the
> official UI if you use stream-engine.
>
> --
> Olivier Crête
> olivier.crete at collabora.co.uk
> Collabora Ltd
>
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20110328/07d6b095/attachment.html>


More information about the telepathy mailing list