Open patriciocordova opened 9 years ago
I would like to enable TS and RTPS support too.
Thanks !
I don't have time right now to add it, but if someone else would like to make a pull request that is fine.
Could you just tell us in a compressed manner what to do?
I am not entirely sure, I have not looked into the networking side of the application because I forked it. There are 2 files related to networking in the repo.
You will also need to build ffmpeg with rtmp. Here are some...
--enable-protocol=rtmps \
--enable-protocol=rtmpt \
--enable-protocol=rtmpte \
--enable-protocol=rtp \
--enable-protocol=rtmp \
--enable-protocol=tcp \
--enable-protocol=rtmpe \
As for the code I am not sure but this can be a starting point.
Hello,
I try build from ubuntu linux with
Android SDK: android-sdk_r24.4.1-linux.tgz Android NDK: android-ndk-r12b-linux-x86_64.zip
edit VPlayer_lib/ffmpeg_build/build_android.sh PREFIX_FDK_AAC=yes PLATFORM_VERSION=9 -enable-librtmp //inside build_ffmpeg() function
//File VPlayer_library/jni/Application.mk
APP_ABI := armeabi-v7a armeabi x86 mips APP_PLATFORM := android-21 APP_OPTIM := release
Iam getting error
checking for arm-linux-gcc... /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/android-ndk-linux/platforms/android-21/arch-arm/
checking whether the C compiler works... no
configure: error: in /home/VPlayer_lib/ffmpeg_build/fdk-aac': configure: error: C compiler cannot create executables See
config.log' for more details
//config.log
configure:2917: $? = 0 configure:2930: result: gnutar configure:2990: checking whether make supports nested variables configure:3007: result: yes configure:3044: checking for arm-linux-gcc configure:3071: result: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/andro$ configure:3340: checking for C compiler version configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$ ./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$ configure:3360: $? = 126 configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$ ./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$ configure:3360: $? = 126 configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$ ./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$ configure:3360: $? = 126 configure:3349: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$ ./configure: line 3351: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$ configure:3360: $? = 126 configure:3380: checking whether the C compiler works configure:3402: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/android/andro$ ./configure: line 3404: /home/android/android-ndk-linux/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: cannot execute binar$ configure:3406: $? = 126 configure:3444: result: no configure: failed program was: | /* confdefs.h _/ | #define PACKAGE_NAME "fdk-aac" | #define PACKAGE_TARNAME "fdk-aac" | #define PACKAGE_VERSION "0.1.4" | #define PACKAGE_STRING "fdk-aac 0.1.4" | #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/opencore-amr/" | #define PACKAGE_URL "" | #define PACKAGE "fdk-aac" | #define VERSION "0.1.4" | /_ end confdefs.h. */ |
---|---|---|---|---|---|---|---|---|---|---|
int | ||||||||||
main () | ||||||||||
{ | ||||||||||
; | ||||||||||
return 0; | ||||||||||
} |
configure:3449: error: in /home/VPlayer_lib/ffmpeg_build/fdk-aac': configure:3451: error: C compiler cannot create executables See
config.log' for more details
What the problem ?
I dont have time to look into this currently, when I have a chance I will try it myself.
Matthew how can I enable RTMP support? Thanks.