Video media channel update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux