$PREBUILT/bin/ $HOST-ld -rpath-link= $PLATFORM/usr/lib -L $PLATFORM/usr/lib -soname libffmpeg.so -shared -nostdlib -z noexecstack -Bsymbolic -whole-archive -no-undefined -o libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog -dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/ $HOST/4.9.x/libgcc. $PREBUILT/bin/ $HOST-ar d libavcodec/libavcodec.a inverse.o extra-ldflags= "-L $BUILD_DIR/lib/ $CPU " \ extra-cflags= "-I $BUILD_DIR/include -fPIC -DANDROID -Wfatal-errors -Wno-deprecated $OPTIMIZE_CFLAGS " \ MIPS_PREBUILT= $NDK/toolchains/mipsel-linux-android-4.9/prebuilt/darwin-x86_64 MIPS_PLATFORM= $NDK/platforms/android-23/arch-mips/ From there you can build a normal WebRTC experience and use ffmpeg to broadcast whatevers in your headless Chrome instance via RTMP. RTSP to WHIP If you would want to take the feed from an RTSP camera instead we could use ffmpeg to consume the RTSP. X86_PLATFORM= $NDK/platforms/android-23/arch-x86/ To playback the WebRTC stream we use our media server independent WebRTC-player.
0 Comments
Leave a Reply. |