Adding Video

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

 



Yeah, it does seem nasty! You may need to create another stream module
for video rather than modifying the stream module, then you may also
need to modify other pjmedia modules, e.g: session. So, have fun &
good luck! :)

Regards,
nanang


On Wed, Nov 26, 2008 at 10:20 PM, P.Muge Ersoy <muge.ersoy at gmail.com> wrote:
> Thank you Nanang... I figured out it.. Now i am able to receive the video
> rtp stream.. struggle on connecting the video codecs for decoding.. Though
> it is really nasty work to do ! :)
>
> Muge
>
> On Wed, Nov 26, 2008 at 4:22 PM, Nanang Izzuddin <nanang at pjsip.org> wrote:
>>
>> Hi,
>>
>> I guess you can fill the media transport for video in session creation,
>> e.g:
>> ---
>> pjmedia_transport *tp[2];
>> tp[0] = call->med_tp;
>> tp[1] = call->vmed_tp;
>> status = pjmedia_session_create(med_endpt, &sess_info,
>>                                         tp, call, &call->session);
>> ---
>> Actually I have no experience in adding video stream into pjsip, just
>> trying to 'help' here.
>>
>> Regards,
>> nanang
>>
>>
>> On Wed, Nov 19, 2008 at 3:21 PM, P.Muge Ersoy <muge.ersoy at gmail.com>
>> wrote:
>> > Hi All;
>> >
>> > I am in the middle of the video implementation i would be appreciated if
>> > you
>> > help me about the assertion i had during development.. I created two
>> > stream
>> > in one session.. media created for both video and audio.. i just
>> > initialize
>> > media for once.. i though it is enough.. now after the stream created ,
>> > transport try to attach to the stream.. but "call-> med_tp" is only one
>> > and
>> > media trasport (tp) is only used once for audio stream.. how can i
>> > create tp
>> > array to be used in video stream ? i add vmed_tp to call struct but
>> > couldnt
>> > find where to fill it .. status = pjmedia_stream_create(endpt,
>> > session->pool, &session->stream_info[i],
>> > (transports?transports[i]:NULL),
>> > session, &session->stream[i]); when this function creates the video
>> > stream
>> > .. transport become null .. and assertion occurs.. if i use the tp of
>> > audio
>> > it gave assertion for "it already used once" .. I tried to comment out
>> > it ,,
>> > this time, my audio port started to stream to remote clients video
>> > port...
>> > After awhile remote client started to stream video to my audio port ..
>> > It
>> > all mixed up:/
>> >
>> > Thanks advance for your help and ideas
>> >
>> > muge
>> >
>> > _______________________________________________
>> > Visit our blog: http://blog.pjsip.org
>> >
>> > pjsip mailing list
>> > pjsip at lists.pjsip.org
>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> >
>> >
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[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