Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The GCKMediaInformation class stores details about a media item, like content ID, URL, type, metadata, stream duration, and more.
It includes properties for ad breaks, ad break clips, media tracks, text track style, and custom data.
Two deprecated initializers are listed, with a recommendation to use GCKMediaInformationBuilder instead.
The mediaTrackWithID: method helps find a specific media track using its ID.
Several properties provide detailed information about the media, such as content ID, URL, stream type, metadata, ad breaks, stream duration, and custom data.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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"]]