linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] video H264 codec


From: Cynthia He
Subject: Re: [Linphone-developers] video H264 codec
Date: Thu, 17 Mar 2016 15:56:02 +0000

I have figured out that one of the reasons of not seeing the codec is that media streamer was not able to load the plugins due to it using a relative path for the plugin directory (./lib/mediastreamer/plugins).

On OS X, current directory varies depending on how the app is started.  Since I have no control over how user will run the app, I found that the plugins can be loaded with ms_load_plugins(charString) after linphone core is created.  

Now I see from debug output that 4 plugins were loaded by media streamer.  But the new issue is that linphone_core_get_audio_codecs or linphone_core_get_video_codecs does not seem to know about any of the new codecs loaded.

How do I ask linphone core to refresh its list of codecs?

Here is the output from loading the plugins:

2016-03-17 11:22:39:996 ortp-message-Loading plugin /Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmsilbc.0.dylib...
2016-03-17 11:22:40:005 ortp-message-Plugin loaded (/Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmsilbc.0.dylib)

2016-03-17 11:22:40:005 ortp-message-Loading plugin /Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmsopenh264.0.dylib...

2016-03-17 11:22:40:015 ortp-message-msopenh264-1.1.1 plugin registered.

2016-03-17 11:22:40:015 ortp-message-Plugin loaded (/Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmsopenh264.0.dylib)

2016-03-17 11:22:40:015 ortp-message-Loading plugin /Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmssilk.0.dylib...
2016-03-17 11:22:40:022 ortp-message- libmssilk 1.0.2 plugin loaded
2016-03-17 11:22:40:022 ortp-message-Plugin loaded (/Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmssilk.0.dylib)

2016-03-17 11:22:40:022 ortp-message-Loading plugin /Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmswebrtc.0.dylib...
2016-03-17 11:22:40:028 ortp-message-libmswebrtc 1.0.0 plugin loaded, iSAC codec version 3.6.0
2016-03-17 11:22:40:028 ortp-message-Plugin loaded (/Users/thisuser/Library/Developer/Xcode/DerivedData/myapp-carbbnslxexreshgpbuuyoxaonmd/Build/Products/Debug/myapp.app/Contents/MacOS/lib/mediastreamer/plugins/libmswebrtc.0.dylib)




On Mar 16, 2016, at 10:59 AM, Cynthia He <address@hidden> wrote:

I looked around more.  Now my question seems to be:  

Will the out-of-box binary linphone SDK download with added libopenh264.dylib work with H264 codec, or do I have to build the sdk myself (something I have been trying to avoid)?

Thanks for any help.



On Mar 15, 2016, at 5:25 PM, Cynthia He <address@hidden> wrote:

Hello all,

This is on OS X 64-bit platform.

I am trying to send video using H264 codec.  My liblinphone library is directly from binary package downloaded from linphone.org.  I have compiled openh264 and have added the libopenh264.dylib to my Xcode project.  

I used wireshark to capture the network traffic and inspected the invite packet sent to sip server, and the only video codec in the SDP is VP8.

Is there anything else I need to do in order to use h264?

Thanks.

CynHe
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]