mcpField
I
ima-dai-sdk

ima-dai-sdk

github.com/googleDevelopment21.6k4.6k installsUpdated today
Repository

About ima-dai-sdk

An integration skill for developers using the IMA DAI SDK to load live and on-demand streams in apps, including content configured or ingested in Google Ad Manager. It outlines initialization, stream requests, metadata forwarding, and cleanup across platforms.

Key features

  1. 01Load HLS or DASH streams
  2. 02Support livestream and VOD content
  3. 03Listen for stream events
  4. 04Forward timed metadata
  5. 05Clean up after stream errors or exit

Use cases

  1. 01Integrate Google Ad Manager livestreams
  2. 02Play VOD ingested into Google Ad Manager
  3. 03Set up DAI streams on supported platforms

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/google/skills --skill ima-dai-sdk

After installing, type/ima-dai-sdkin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
android-ImaServerSideAdInsertionMediaSource-guide.md
cast-StreamManager-guide.md
ios-IMAStreamRequest-guide.md
roku-StreamManager-guide.md
web-StreamManager-guide.md

Details

From the project README

IMA DAI SDK

Use the IMA DAI SDK to load HLS or DASH streams into the app for:

  • Livestream events configured in Google Ad Manager.
  • Video on demand (VOD) content ingested into Google Ad Manager.

Prerequisites

Review the platform-specific integration guides for the target platforms:

Quick start (general workflow)

  1. Import the SDK
  2. Initialize the SDK
  3. Add stream event listeners
  4. Set up timed metadata forwarding
  5. Make a stream request
  6. Clean up SDK resources when the stream fails or the user leaves the stream.

Comments

Markdown supported