TextTracksManager - manage media text tracks.The PlayerManager also exposes the new sub-manager classes: Which can be provided globally or per load request. Singleton, and it manages the media session, media requests, GoogleĪssistant voice requests ( CommandAndControlManager in v2),Īnd fires media events. Version, playback config, etc.) to the context. Which is a singleton that manages the cast session, senders, sending customĬan be used to provide global application options (such as queue, receiver CastReceiverManager class is replaced by.The following v2 services are replaced by corresponding CAF services: The data objects that were used by v2 are the same in CAF and are exposed under Instead of cast.receiver namespace for all exposed APIs. The Web Receiver is using a new namespace The Web Receiver API tries to follow the conventions that were introduced by In addition to supporting new media commands-like "change tracks by language”Īnd "change playback rate”-CAF also provides better queueing, built-in ads Migrating to CAF will add the support for voice control with Google Assistant.Īny new Google Assistant voice command will automatically be supported when For a complete list see Supported Media for Google Cast.Ĭurrently CAF does not support a user-provided player. Streaming and types supported by the Media Element source property (MP3, MP4, With the player can be eliminated, so you can concentrate on writingĬAF seamlessly integrates MPL and Shaka players to support a wider range ofĬontent types including-HTTP Live Streaming (TS and CMAF), MPEG-DASH, Smooth Why migrate?īy migrating a Receiver v2 application to Web Receiver, a lot of code that deals Using CSS, and a data binding service to simplify UI implementation. CAF SDK also provides a default UI that can be easily styled Implementation and support for the Cast media and Google Assistant It provides full integration of a player (MPL and Shaka) and full The Web Receiver provides an API that is more consistent with the new CAF senderĪPIs. The Web Receiver SDK provides anĮasy, streamlined SDK for developing media Web Receiver applications. The new Cast Application Framework (CAF) SDK, also known as Web Receiver v3, isĪ major upgrade from the Receiver v2 SDK. This guide explains how to migrate a Cast Receiver v2 app to the latest Web
0 Comments
Leave a Reply. |