[pjsip] Video media channel update
P.Muge Ersoy
muge.ersoy at gmail.com
Tue Oct 7 08:33:50 EDT 2008
Hi;
I am still struggling with adding h263 codec..
I have a problem at the below code ;
status = pjmedia_stream_create(endpt, session->pool,
&session->stream_info[i],
(transports?transports[i]:NULL),
session,
&session->stream[i]);
if (status == PJ_SUCCESS){
status = pjmedia_stream_start(session->stream[i]);
}
As far as i examine the code i need to create two different rtp stream for
both audio and video.. I check transports[1] (which is for the video stream)
and it was null .. So i set it to transports[0] for both streams .. but than
i had a problem with PJ_ASSERT_RETURN(!udp->attached, PJ_EINVALIDOP);
Do you advice to create two calls as if in the pjsua_media_channel_update
function or handling everything inside the somewhere else :) not sure
where..
Thanks advance
muge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081007/cd285dd6/attachment.html>
More information about the pjsip
mailing list