Video call in iOS

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

 



Hi all,

I've been trying to build a demo app where you can make audio and video
calls.
I'm using pjsip 2.1.0 with ffmpeg and h264. I'm also using the
ios_dev.mmfile and libyuv library that Samuel worked out.

I changed some code to present the main and preview windows.

My problem:
Although i'm able to send video packets correctly, i cannot figure out how
to present the ones i'm getting. I get nothing but a green window. When i'm
lucky i'm able to see a distorted image.

I noticed that there are some ffmpeg errors showing up on the console:

*15:53:18.130         ffmpeg  h264: non-existing PPS 0 referenced*

*15:53:18.130         ffmpeg  h264: decode_slice_header error*

*15:53:18.130         ffmpeg  h264: no frame!*

*15:53:18.130 ffmpeg_vid_cod  ffmpeg err -1: Operation not permitted*

*15:53:18.130 vstdec0x1ada01  codec decode() error: Bad or corrupted
bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087]*

When debugging it looks like we're converting a YUV image to a BGRA one,
and then presenting it. It all looks good.


Does anyone have any hints?

Could it be a wrong configuration when compiling ffmpeg or x264?


Thank you very much,

Jules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130429/d733f505/attachment-0001.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