Can simple_pjsua make a video call?

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

 



This is something I have been trying to achieve also (not had success as
yet).

One of the things I missed the first time around was to build x264 lib with
--disable-asm.

Cheers

John


On 30 May 2014 18:06, SL <pj at lugato.it> wrote:

>  Hi,
> Is there anyone that is able to successfully make simple_pjsua working
> with video?
> If so, please suggest me a remote user agent that can offer a good
> videocall capability when it connects to simple_pjsua
>
> By my side, I am trying to get simple_pjsua working with video, but I just
> got an empty frozen windows in the remote user agent.
>
> I'm trying to do this on Raspberry PI with Linux/Rasbpian o/s. Anyways I
> think that my code should compile on any platform, as original simple_pjsua
> should do. I don't think it is something related to Raspberry, but I would
> like to be sure on this point.
>
> Actually original simple_pjsua should automatically enable video by
> default, if it is compiled with video enabled pjsip library, by using
> default video drivers. Please notice that a remote user agent that properly
> support H264 streaming is needed to test it.
>
> Anyway I made some simply changes to avoid platform-dependant
> compatibility problems with audio and video drivers.
>
> Since Raspberry PI hasn't any audio input, I used null-audio and I
> short-circuited incoming audio streaming to remote user agent, by sending
> back audio to remote user agent and echoes incoming voice. This trick works
> fine and avoid to get in trouble with Linux audio support.
>
> I also disabled camera driver since this force pjsua to use internal
> colorbar generator. This should show colorbar on remote user agent video
> window, as a proof that video streaming works fine. Colorbar should also be
> easier to compress than camera frames, so it should make H264 compression
> task lighter.
>
> Finally I also tried to turn video session to one-way, thinking it is a
> good Idea to relief cpu from decoding incoming H264 video stream, with
> following code:
>
>   PJ_LOG(3,(THIS_FILE, "I'm going to change video stream direction to 1
> (ENCODE)"));
>   pjsua_call_vid_strm_op_param vid_strm_param;
>   pjsua_call_vid_strm_op_param_default(&vid_strm_param);
>   vid_strm_param.dir=PJMEDIA_DIR_ENCODING;
>   vid_strm_param.cap_dev=-1; // default capture device
>   vid_strm_param.med_idx=-1; // default media stream index
>   status =
> pjsua_call_set_vid_strm(call_id,PJSUA_CALL_VID_STRM_CHANGE_DIR,&vid_strm_param);
>
> but this doesn't seem to work since log shows that vid_strm_param.dir
> change is not been accepted and communication get on with double way video
> streaming anyway.
>
> I can send my code (modified simple_pjsua) and related Makefile to compile
> it, to anyone interested in making an attempt to run it and trying to solve
> problems in making video calls working on Raspberry PI with simple_pjsua.
>
> Thanks in advance for any suggestion.
> Best regards
> Silvio
>
>
>    - Tedesco - rilevata
>    - Afrikaans
>    - Albanese
>    - Arabo
>    - Bielorusso
>    - Bulgaro
>    - Catalano
>    - Cinese
>    - Cinese (Semplificato)
>    - Cinese (Tradizionale)
>    - Croato
>    - Ceco
>    - Danese
>    - Olandese
>    - Inglese
>    - Estone
>    - Filippino
>    - Finlandese
>    - Francese
>    - Galiziano
>    - Tedesco
>    - Greco
>    - Ebraico
>    - Creolo haitiano
>    - Hindi
>    - Ungherese
>    - Islandese
>    - Indonesiano
>    - Irlandese
>    - Italiano
>    - Giapponese
>    - Coreano
>    - Lettone
>    - Lituano
>    - Macedone
>    - Malese
>    - Maltese
>    - Norvegese
>    - Farsi
>    - Polacco
>    - Portoghese
>    - Portoghese (Portogallo)
>    - Romeno
>    - Russo
>    - Serbo
>    - Slovacco
>    - Sloveno
>    - Spagnolo
>    - Swahili
>    - Svedese
>    - Thai
>    - Turco
>    - Ucraino
>    - Vietnamita
>    - Gallese
>    - Yiddish
>
>
>    - Afrikaans
>    - Albanese
>    - Arabo
>    - Bielorusso
>    - Bulgaro
>    - Catalano
>    - Cinese
>    - Cinese (Semplificato)
>    - Cinese (Tradizionale)
>    - Croato
>    - Ceco
>    - Danese
>    - Olandese
>    - Inglese
>    - Estone
>    - Filippino
>    - Finlandese
>    - Francese
>    - Galiziano
>    - Tedesco
>    - Greco
>    - Ebraico
>    - Creolo haitiano
>    - Hindi
>    - Ungherese
>    - Islandese
>    - Indonesiano
>    - Irlandese
>    - Italiano
>    - Giapponese
>    - Coreano
>    - Lettone
>    - Lituano
>    - Macedone
>    - Malese
>    - Maltese
>    - Norvegese
>    - Farsi
>    - Polacco
>    - Portoghese
>    - Portoghese (Portogallo)
>    - Romeno
>    - Russo
>    - Serbo
>    - Slovacco
>    - Sloveno
>    - Spagnolo
>    - Swahili
>    - Svedese
>    - Thai
>    - Turco
>    - Ucraino
>    - Vietnamita
>    - Gallese
>    - Yiddish
>
>
> _______________________________________________
> 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/20140603/7c1bb4e1/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