Tried them all but nothing woks. When I try to perform a video call I get this: > Answer with code (100-699) (empty to cancel): 200 > 13:15:19.410 pjsua_call.c !Answering call 1: code=200 > 13:15:19.410 pjsua_media.c ...Call 1: updating media.. > 13:15:19.410 pjsua_aud.c ....Audio channel update.. > 13:15:19.410 strm0x138cbf8 .....VAD temporarily disabled > 13:15:19.410 strm0x138cbf8 .....Encoder stream started > 13:15:19.411 strm0x138cbf8 .....Decoder stream started > 13:15:19.411 pjsua_media.c ....Audio updated, stream #0: PCMA (sendrecv) > 13:15:19.411 pjsua_vid.c ....Video channel update.. > 13:15:19.412 pjsua_media.c ....pjsua_vid_channel_update() failed for call_id 1 media 1: Codec internal creation error (PJMEDIA_CODEC_EFAILED) > 13:15:19.412 pjsua_app.c ...Call 1 media 0 [type=audio], status is Active > 13:15:19.412 pjsua_aud.c ...Conf disconnect: 2 -x- 0 > 13:15:19.412 conference.c ....Port 2 (ring) stop transmitting to port 0 (pulse) > 13:15:19.412 pjsua_aud.c ...Conf connect: 3 --> 0 > 13:15:19.412 conference.c ....Port 3 (sip:098 at 134.90.248.43) transmitting to port 0 (pulse) > 13:15:19.413 pjsua_aud.c ...Conf connect: 0 --> 3 > 13:15:19.413 conference.c ....Port 0 (pulse) transmitting to port 3 (sip:098 at 134.90.248.43) > 13:15:19.413 pjsua_app.c ...Call 1 media 1 [type=video], status is None > 13:15:19.413 pjsua_app.c ...Just rejected incoming video offer on call 1, use "vid call enable 1" or "vid call add" to enable video! > 13:15:19.413 pjsua_core.c ....TX 1040 bytes Response msg 200/INVITE/cseq=102 (tdta0x7ff8e000ea20) to UDP 134.90.248.43:5060: > SIP/2.0 200 OK > Via: SIP/2.0/UDP 134.90.248.43:5060;rport=5060;received=134.90.248.43;branch=z9hG4bK184847bb > Call-ID: 46b3ed753a07e98d5580be290cbf6efc at 134.90.248.43:5060 > From: "Video Test 2s" <sip:098@134.90.248.43>;tag=as0a99bca8 > To: <sip:video1 at 82.48.244.142;ob>;tag=aaIQ6tzEExvRR8F.j1aBUpuhCuaqEz86 > CSeq: 102 INVITE > Contact: <sip:video1 at 82.48.244.142:5060;ob> > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS > Supported: replaces, 100rel, timer, norefersub > Content-Type: application/sdp > Content-Length: 469 In particular I noticed this line: > pjsua_vid_channel_update() failed for call_id 1 media 1: Codec internal creation error (PJMEDIA_CODEC_EFAILED) Even vid_streamutil doesn't work, can it be a codec problem? How to be sure? -- Federico On Thursday, May 2, 2013 at 2:59 PM, samuelv at laposte.net wrote: > Hi, > > You should enable the options: > - enable video > - auto transmit > - auto display > > Sorry, I don't remember the correct option names of pjsua. > > Samuel > > Le 2 mai 2013 ? 11:41, Federico De Meo <demeof at gmail.com (mailto:demeof at gmail.com)> a ?crit : > > > Hi, > > > > did you manage to run video calls on desktop using pjsua? > > I'm trying to perform a simple video call to check the behaviour with no success. > > > > -- > > Federico > > > > > > On Thursday, May 2, 2013 at 11:07 AM, samuelv at laposte.net (mailto:samuelv at laposte.net) wrote: > > > > > Hi, > > > > > > You can use pjsip 2.1.0. There is no specific branch for iPhone. > > > > > > Samuel > > > > > > Le 2 mai 2013 ? 10:56, Jules Jefferson <jjefferson2089 at gmail.com (mailto:jjefferson2089 at gmail.com)> a ?crit : > > > > > > > Thank you Albert. I'll give it a try. > > > > > > > > By the way, i'm not getting the latest version from the trunk, i'm actually using the one available for download - 2.1.0. > > > > I can't figure out which one i should use. Is there like a specific branch for iphone that i should get instead? > > > > > > > > Thanks, > > > > Jules > > > > > > > > > > > > > > > > > > > > On Mon, Apr 29, 2013 at 10:30 AM, Albert Nadal <anadalg at gmail.com (mailto:anadalg at gmail.com)> wrote: > > > > > Hi Jules, a year ago I developed a workaround for running videoconference using the iOS port, I remember I get green frames when receiving the video during the first tests. First of all, be sure you are receiving RTP packets in the receiver endpoint. Check the image color space conversion when sending the frames, I did it by using simple and very fast memcpy operations. I recommend you to send allways the same frame from a local image (in CIF, QCIF or the size you need) in your resources bundle instead of trying to send the frames retrieved from the AVFoundation API. Also I recommend you to use first the h263 codec implementation included in the ffmpeg, but its just a recomendation for making your tests more easy. Luck! > > > > > > > > > > Albert, > > > > > http://lafruitera.com > > > > > > > > > > > > > > > 2013/4/29 Jules Jefferson <jjefferson2089 at gmail.com (mailto:jjefferson2089 at gmail.com)> > > > > > > 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.mm (http://ios_dev.mm) file 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 > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Visit our blog: http://blog.pjsip.org > > > > > > > > > > > > pjsip mailing list > > > > > > pjsip at lists.pjsip.org (mailto: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 (mailto: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 (mailto: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 (mailto: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 (mailto: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 (mailto: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/20130502/2ef98200/attachment-0001.html>