Do I need to rely on telepathy-stream-engine?<br><br>Thanks,<br>Cassie<br><br><div class="gmail_quote">2011/3/28 flower bean <span dir="ltr"><<a href="mailto:beanflowersh@gmail.com">beanflowersh@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Thanks very much for your response.</div>
<div>I was create Voice call successfully via call below API:</div>
<div>QList<Tp::MediaStreamType> request_types;<br> request_types.append(Tp::MediaStreamTypeAudio);<br> mRetValue = (*mWaiter)( mChannel->requestStreams( aTarget, request_types) );</div>
<div><b>but fail to create Video call as below(especially no audio):</b></div>
<div> request_types.append(Tp::MediaStreamTypeVideo);</div>
<div> request_types.append(Tp::MediaStreamTypeAudio);<br> mRetValue = (*mWaiter)( mChannel->requestStreams( aTarget, request_types) );</div>
<div>Channel fully ready, Audio/Video stream created successfully, but there is no audio and video output, what do I need to do else?</div>
<div> </div>
<div>Thanks in advance!</div>
<div>Cassie <div><div></div><div class="h5"><br><br>2011/3/28 Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.co.uk" target="_blank">olivier.crete@collabora.co.uk</a>></span><br></div></div></div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote"><div><div></div><div class="h5">
<div>
<div></div>
<div>On Mon, 2011-03-28 at 10:41 +0800, flower bean wrote:<br>> Hello,<br>> I use telepathy-qt4 to implement video call with GTalk protocal.<br>> I'm not sure if I need to launch camera by myself, if yes, does<br>
> it use the API org.maemo.Telepathy.StreamEngine.StartCamera()?<br>> I have called org.maemo.Telepathy.StreamEngine.AttachToChannel,<br>> do I also need to call StartCamera/VideoPreviewSize etc. separatly ?<br>
<br></div></div>I assume you're on Maemo5 (stream-engine is only for Maemo).<br><br>You don't have to call StartCamera(), its only there if you want to<br>start the camera before the call actually starts (like the Maemo5<br>
default UI does).<br><br>VideoOutputSize and VideoPreviewSize are signals that tell the UI what<br>resolution the output/preview is so the UI can put its output window at<br>the right ratio.<br><br>That said, be careful, I'm not sure how will it will interact with the<br>
official UI if you use stream-engine.<br><font color="#888888"><br>--<br>Olivier Crête<br><a href="mailto:olivier.crete@collabora.co.uk" target="_blank">olivier.crete@collabora.co.uk</a><br>Collabora Ltd<br></font><br></div>
</div>_______________________________________________<br>
telepathy mailing list<br><a href="mailto:telepathy@lists.freedesktop.org" target="_blank">telepathy@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/telepathy" target="_blank">http://lists.freedesktop.org/mailman/listinfo/telepathy</a><br>
<br></blockquote><br>
</blockquote></div><br>