• /
  • EnglishEspañolFrançais日本語한국어Português
  • 로그인지금 시작하기

Install VegaTracker for Shaka Player

Install the New Relic VegaTracker to monitor Shaka Player video playback in your Amazon Fire TV application.

Before you begin

Complete the common installation steps first to create your application and retrieve your mobile application token.

Install the tracker

Install the Shaka package

bash
$
npm install @newrelic/video-shaka --save

Install device info

This step is optional. The device info library provides real device attributes — model, OS version, and UUID — in your video events. Without it, events use placeholder values for deviceModel and deviceUuid.

bash
$
npm install @amazon-devices/react-native-device-info --save

Initialize VegaTracker

Initialize VegaTracker inside the onSurfaceViewCreated callback. This ensures the player's async attach is complete before initialization.

Pass your Shaka player instance and the info object. The info object must include your account ID, application token, and endpoint. If you installed the device info library, also pass device attributes as info.deviceInfo.

When playback ends, call tracker.dispose() to release resources.

For the initialization example, use the code snippet in the New Relic guided install.

Next steps

To continue, explore the following resources.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.