Hello Google Cast developers!
We’re providing a preview of the next Cast Web Receiver SDK to allow developers to test their apps in advance of the production release.
Changes include:
- Add Subtype string parsing to Smooth manifests.
- Support async requests in the manifestRequestHandler, segmentRequestHandler, and licenseRequestHandler for ShakaPlayer.
- Add support for forced subtitles.
- Bump the default Shaka version in CAF to v4.3.4.
- Clarify setActiveByIds parameter description.
- Correct how CAF chooses distinct audio tracks.
- Correct request body type conversions for Shaka request filters.
- Added capability to query CreativeInformation related to a BreakClip in BreakManager.
- Display the media metadata such as title and subtitle during loading of the media element on DPad-controlled devices.
- Fix BreakClip so that it provides a HlsSegmentFormat field and a HlsVideoSegmentFormat field.
- Fix case-sensitive MIME type comparisons using MPL.
- Fix live HLS (TS-based) infinite buffering on load using Shaka Player.
- Fix the PlayerDataBinder#isAtLiveEdge property behavior.
- Fix infinite loop on insufficient data provided in TS segments using MPL.
- Provide error.stack for Shaka Player errors.
- Use audioMimeType field instead of audioCodec from Shaka Player's track object to populate the cast.framework.messages.Track.trackContentType field for variant tracks.
- Add shaka.extern.track.label to
cast.framework.messages.Track.name for Shaka Player tracks.
- Expand `cast.framework.Stats` object to account for existing fields in `shaka.extern.Stats`.
- Fix media time calculations for content with expanded embedded breaks.
Developers can test the new Web Receiver SDK prior to release using the preview URL at
https://www.gstatic.com/cast/sdk/libs/caf_receiver/preview/cast_receiver_framework.js. This preview period will be available for 3-5 weeks. For those using Shaka player, we suggest you test streaming content for an extended period of time. See more on this in the devsite guide:
https://developers.google.com/cast/preview-url.
Best regards,
Google Cast SDK Team