If the device does not support the Intent, then the device could prompt the user to install or upgrade the YouTube app.If the device supports the Intent, then the device could launch the live stream flow.The validateMobileLiveIntent calls the canResolveMobileLiveIntent method in the context of an if-else statement.The canResolveMobileLiveIntent method verifies that the device supports the Mobile Live Intent.The following code sample defines two methods to do that: Your client should first confirm that the Mobile Live Intent can be launched by verifying that the YouTube app is installed on the device and that the YouTube app version supports live streaming. Launching the live streaming flow Step 1: Check for support The value can be used to annotate the stream with a branded message, such as "Streamed live from DEVICE". It is placed in the Intent extras bundle as a String. This parameter provides a text description of the live stream. The value enables accurate attribution and accounting. This value must follow the android-app: scheme format with a package name. This parameter specifies a URI that represents the application launching the live streaming Activity. Increase user engagement and build live streaming into your iOS or Android app with the help of Wowza Professional Services. The following Intent extras set parameters associated with the live stream: Params The YouTube application setup flow handles the stream configuration. It also specifies the package name for the YouTube mobile app. The Mobile Live Intent uses a custom Action string to navigate to the live creation Activity within the YouTube app. The Intent initiates the live streaming process by starting an Activity in the YouTube application. To link into the YouTube Mobile live streaming flow, your Android app launches an Intent. YouTube app installed: Version 13.02 or higher.Video encoder: Hardware accelerated video encoder capable of encoding 720P raw video to H.264/AVC at 30Hz or better.Audio encoder: Hardware accelerated audio encoder capable of encoding 8-bit PCM mono audio to AAC at 44.1KHz or better. Camera: At least one camera capable of recording 720p at at least 30Hz.Android release: Marshmallow (API 23) or higher.Finally, the user starts the live stream and broadcasts the view from the front or rear camera.Īndroid devices must meet the following requirements to properly support YouTube live streaming and the Mobile Live deep link:.Then, the user navigates to the Thumbnail Photo screen to set a thumbnail image for the stream.First, the user configures the stream, setting the title, privacy mode, and other stream options.This flow shows the user experience for an app that deep links into the YouTube application, where the user lands on the Mobile Live Stream Setup screen. An app only needs to provide an entry point, such as a button that the user can click, that starts the Mobile Live flow via the Android Intent mechanism. A player for enjoying streamed content Featuring a straightforward and simple interface, this tool allows users to connect to different servers by just entering a URL. The YouTube Mobile Live deep link enables Android applications to initiate a YouTube live stream directly from a mobile device. Live Stream Player is one of them and is presented as a player for connecting to third-party servers using different protocols. It is no longer supported or maintained by
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |