However, the YouTube “WatchMe” project is designed for mobile app developer use - starting, stopping, viewing and sharing live events from an Android app interface. YouTube, of course, already offers live streaming functionality, which allows event creators to capture and share live video using either custom encoders and controls, or, for something simpler, users can opt to live stream a Google Hangout using their webcam. The company says the app being offered today is still in the experimental phase. To get started, developers have to sync with the Github repo, then utilize the Google Developer Console to enable the YouTube Data API and the Google+ API, and create a client ID for Android. The new app takes advantage of several APIs, including the YouTube Data API v3, YouTube Live Streaming API, Google Play Services and Plus API, says the company in a blog post announcing the new project on the YouTube API Blog. In addition to offering the ability to start and stop a live streaming session with buttons, the app’s interface allows users to tap a thumbnail to kick off a live broadcast session, from the looks of things, as well as “+1” the event – meaning recommend the broadcast on Google’s social network, Google+. This could be for apps that already focus on sharing video, and now want to offer a “Live” component, or it could be a function within a broader news or event-focused application, perhaps. Obviously, the app included on GitHub is just reference material - the real goal is to offer a toolkit for developers who want to add a similar capability to their own apps. The app also introduces a simple interface allowing an end user to press a button to start broadcasting from their phone to YouTube, and another button to end the event. In file included from /Clients/Ankur/JniDemo/app/src/main/cpp/native-lib.cpp:4: /Clients/Ankur/JniDemo/app/src/main/cpp/libavcodec/avcodec.h:31:10:įatal error: 'libavutil/samplefmt.YouTube is bringing its live broadcasting capabilities to the world of third-party app developers starting today with the launch of the new open source project called “ YouTube WatchMe for Android.” The project, available on GitHub, offers a reference app designed for the Android operating system that creates a YouTube Live Streaming Event. Building CXX object CMakeFiles/native-lib.dir/src/main/cpp/įAILED: /Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -target=mips64el-none-linux-android -gcc-toolchain=/Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64 -sysroot=/Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot -Dnative_lib_EXPORTS -I././././src/main/cpp/include/libavcodec -I././././src/main/cpp/include/libavformat -I././././src/main/cpp/include/libavutil -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/mips64/include -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot/usr/include/mips64el-linux-android -D_ANDROID_API_=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fintegrated-as -Wa,-noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/native-lib.dir/src/main/cpp/ -MF CMakeFiles/native-lib.dir/src/main/cpp/.d -o CMakeFiles/native-lib.dir/src/main/cpp/ -c /Clients/Ankur/JniDemo/app/src/main/cpp/native-lib.cpp Users/nomankhan/Library/Android/sdk/cmake/459/bin/cmake with arguments Perhaps suggest any good rtmp library to broadcast phone video to youtube channel.Įrror:FAILURE: Build failed with an exception.Įxecution failed for task ':app:externalNativeBuildDebug'. I also changed to #include "./libavutil/samplefmt.h" still same error. In file avecode.h at code #include "libavutil/samplefmt.h I am making application to broadcast phone video to youtube channel.
0 Comments
Leave a Reply. |