Gstreamer + RTMP using cerbero on Max OS for armv7s

Sebastian Dröge sebastian at centricular.com
Wed Dec 25 00:56:38 PST 2013


On Di, 2013-12-24 at 21:21 -0800, kashif at devdesks.com wrote:
> ok i added the -shared flag
> when i build it, build runs fine but
> when i run
>  ./cerbero-uninstalled -c config/cross-ios-universal.cbc package
> gstreamer-1.0
> it gives the following error
> 
> [(52/68) rtmpdump -> fetch ]
> -----> Step done
> [(52/68) rtmpdump -> extract ]
> -----> Step done
> [(52/68) rtmpdump -> configure ]
> -----> Step done
> [(52/68) rtmpdump -> compile ]
> Running command 'make'
> gcc -Wall   -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL  -O2 -fPIC  -arch
> i386  -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
> -c -o rtmp.o rtmp.c
> rtmp.c:40:10: fatal error: 'openssl/ssl.h' file not found
> #include <openssl/ssl.h>
>          ^
> 1 error generated.
> make[1]: *** [rtmp.o] Error 1
> make: *** [librtmp/librtmp.a] Error 2
> ***** Error running 'package' command:
> Recipe 'rtmpdump' failed at the build step 'compile'
> 
> 
> i downloaded openssl and added it to the rtmdump folder but no luck... any
> ideas

Well, just dumping the openssl sources there is not going to help much.
You have to build openssl as it's a dependency for rtmpdump.

Alternatively rtmpdump can be built with gnutls too, for which there
already is a recipe and which is already built for ios. See the Makefile
in rtmpdump, you can select between openssl, gnutls and polarssl there.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131225/b5787228/attachment.pgp>


More information about the gstreamer-devel mailing list