|
From: | IVAN FERNANDEZ |
Subject: | [Linphone-developers] problems with video calls (h264) in linphonec |
Date: | Thu, 18 Oct 2012 18:21:59 +0200 |
Hi list,
I've compiled a linphone 3.5.2 (+ h264 + g729 support) on MAC OS from the sources (running Lion 10.7.5)
I'm using the command line version of the client (console/.linphonec) and all is working well for audio calls (g729) against android/iPhone versions of linphone, but I'm facing problems with video.
First, I haven't been able to launch linphonec with the -V or -D functions due to some kind of problem with the display window generation:
clonnin19:console my$ ./linphonec -V
NLS disabled.
Ready
linphonec> Oct 18 17:32:32 etu19.alisys.as linphonec[9912] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Oct 18 17:32:32 etu19.alisys.as linphonec[9912] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Oct 18 17:32:32 etu19.alisys.as linphonec[9912] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Oct 18 17:32:32 etu19.alisys.as linphonec[9912] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection
2012-10-18 17:32:32.702 linphonec[9912:2a03] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow on line 263'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff88059f56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff85016d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff88059d8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff88059d14 +[NSException raise:format:] + 116
4 AppKit 0x00007fff813b716f _NSCreateWindowWithOpaqueShape2 + 755
5 AppKit 0x00007fff813056c5 -[NSWindow _commonAwake] + 1875
6 AppKit 0x00007fff81304360 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1871
7 AppKit 0x00007fff813033af -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1502
8 AppKit 0x00007fff81302d7f -[NSWindow initWithContentRect:styleMask:backing:defer:] + 47
9 libmediastreamer.1.dylib 0x000000010541cc6b osx_gl_preprocess + 187
10 libmediastreamer.1.dylib 0x000000010540529c ms_ticker_attach_multiple + 268
11 libmediastreamer.1.dylib 0x000000010540537d ms_ticker_attach + 13
12 libmediastreamer.1.dylib 0x0000000105428c68 video_preview_start + 456
13 liblinphone.5.dylib 0x0000000105327bf3 linphone_core_iterate + 1091
14 linphonec 0x00000001053079ae linphonec_idle_call + 46
15 libreadline.6.2.dylib 0x000000010568f4b6 rl_read_key + 166
16 libreadline.6.2.dylib 0x0000000105679e25 readline_internal_char + 117
17 libreadline.6.2.dylib 0x000000010567a1f5 readline + 101
18 linphonec 0x00000001053086ca linphonec_readline + 314
19 linphonec 0x00000001053090f2 main + 2210
20 linphonec 0x0000000105307654 start + 52
)
terminate called throwing an exceptionAbort trap: 6
On the other hand, I have been able to launch linphonec with the -C option (the one that I need, indeed), but when the video call is stablished, the mac integrated camera doesn't go active and look'd to be some problem with ortp library:
linphonec> Call 2 with "2000002-Galaxy" <sip:address@hidden:7228> connected.
ortp-error-no such method on filter MSV4m, fid=16390 method index=0
ortp-error-Cannot apply default x264 configuration
x264 [warning]: lookaheadless mb-tree requires intra refresh or infinite keyint
x264 [info]: using cpu capabilities: none!
x264 [info]: profile Constrained Baseline, level 1.3
Media streams established with "2000002-Galaxy" <sip:address@hidden:7228> for call 2 (video).
The call looks to have been established, but nothing happens in the MAC and the Galaxy terminal only shows a black screen.
The only video codec that I'm enabling in both clients is h264 and I've check that the selected webcam is the good one:
linphonec> webcam use 0
Using video device QT Capture: FaceTime HD Camera (Built-in)
Any of you are having similar problems?
Thanks and regards,
[Prev in Thread] | Current Thread | [Next in Thread] |