<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><strong>but fail to create Video call as below(especially no audio):</strong></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 <br><br>2011/3/28 Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a>></span><br></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">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">olivier.crete@collabora.co.uk</a><br>Collabora Ltd<br></font><br>_______________________________________________<br>
telepathy mailing list<br><a href="mailto:telepathy@lists.freedesktop.org">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>