Add video

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

 



Hi Hubert;

Haven't you created another stream for video ?

As far as i understand after SDP negotiation you get if there is video
stream or not...

This is my OK answer form pjsip to another sip client

m=audio 4000 RTP/AVP 3
a=rtpmap:3 GSM/8000
m=video 4002 RTP/AVP 98
a=rtpmap:98 H264/90000
a=recvonly

Everything seems pretty. But after streams are created Pjsip mixes the ports
with audio and video and it all crashes ...
How is your point of view to audio and video streams in your application.

Regards
Muge


On Fri, Oct 10, 2008 at 1:02 AM, Hubert Langevin
<hubertlangevin at gmail.com>wrote:

> Hello everyone,
>
> I'm using VLC for video streaming in pjsip. I haven't completely
> finished it yet but i can now make some video calls between PCs. In
> the callback on_call_state() in pjsua_app.c when i get an incoming
> call i check if it has video media. I do this by grabbing the
> local_sdp and remote_sdp using call_id, acquire_call,
> pjmedia_sdp_neg_get_active_local(),
> pjmedia_sdp_neg_get_active_remote(), etc. I also had to change a few
> things in negotiating SDP's. If i have video media i just grab the
> remote IP and port number out of the remote_sdp, put these values in
> the commands buffer for VLC and start playing from remote stream and
> streaming off my webcam using the VLC functions: VLC_Create(),
> VLC_Init(int, int, char **s), VLC_Play(int), VLC_AddIntf(int, char *s,
> int, int), VLC_Die(), VLC_CleanUp(), VLC_Destroy(), VLC_Pause(int),
> VLC_Stop(int), VLC_FullScreen(int). It works fine but as soon as I get
> two video calls up on my PC my CPU usage jumps really high and stays
> there for the duration of the two calls. Is it because I'm using the
> wrong type of video codec? I'm currently using H264.
>
> Any ideas would be greatly appreciated.
>
> Hubert
>
> On Fri, Oct 10, 2008 at 4:39 AM, Tiago R?s <tiagores at gmail.com> wrote:
> > Hello all,
> > Thanks for your responses.
> >
> > My Idea is to make some kind of videoconference. It should be signaled
> with
> > SIP, and stream via RTP.
> > I'm able to capture video using directshow libraries, and it would be
> great
> > to use transport functions of PJSIP to do the rest.
> > What do you think?
> >
> > Thanks,
> > Tiago
> >
> > 2008/10/9 P.Muge Ersoy <muge.ersoy at gmail.com>
> >>
> >> Hi;
> >>
> >> Did you able to start two way stream with 264 . I have some port issues
> ..
> >> video stream is using audio streams port.. i will be handling it soon i
> >> guess..
> >>
> >> and what are you using for displaying stream , ? VLC or ffmpeg  .?
> >>
> >> muge
> >>
> >> On Thu, Oct 9, 2008 at 4:27 PM, Perry Ismangil <perry at pjsip.org> wrote:
> >>>
> >>> emanuele bottegoni wrote:
> >>>>
> >>>> Hi Tiago,
> >>>>
> >>>> I've added negotation to receive H264 streams,is it interesting for
> you?
> >>>> Tell me your problem and if it's possible I can help you.
> >>>>
> >>>> Emanuele Bottegoni
> >>>>
> >>>>
> >>>
> >>> Hi Emanuele,
> >>>
> >>> Certainly, adding video support is always interesting. Contact me if
> you
> >>> are willing to write a wiki page or a blog post about it.
> >>>
> >>> Thank you for your support,
> >>>
> >>>
> >>> --
> >>> Perry Ismangil
> >>> http://www.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
> >>
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081010/59c512e2/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