Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
GCKMediaInformation is a class that aggregates information about a media item.
The class includes properties such as contentID, contentURL, streamType, contentType, metadata, adBreaks, adBreakClips, streamDuration, mediaTracks, textTrackStyle, entity, VMAP, startAbsoluteTime, hlsSegmentFormat, hlsVideoSegmentFormat, and customData.
The class includes instance methods for initialization and searching for media tracks by ID.
The initialization methods using initWithContentID are deprecated and recommend using GCKMediaInformationBuilder instead.
The epoch time, in seconds, of a live stream's start time.
For live streams that have a known start time, e.g. a live TV show or sport game, it would be the epoch time that the event started. Otherwise, it will be start time of the live seekable range when the streaming started.
[null,null,["Last updated 2024-09-18 UTC."],[],["The `GCKMediaInformation` class aggregates data about a media item, including its `contentID`, `contentURL`, `streamType`, and `contentType`. It also includes media metadata, such as `metadata`, `adBreaks`, `adBreakClips`, `streamDuration`, and `mediaTracks`. Actions include initializing the media item using deprecated methods, searching for a media track by its ID with `mediaTrackWithID:`, and accessing properties, which includes properties like the `textTrackStyle`, `entity`, `VMAP`, `startAbsoluteTime`, `hlsSegmentFormat`, `hlsVideoSegmentFormat`, and custom data (`customData`).\n"]]