This page provides an overview of the installation steps when using CocoaPods to install the Streaming Video & Ads agent. For the complete installation with code examples, use the guided install.
Add dependencies
Add the video agent pods to your Podfile.
Install pods
Run pod install in your terminal.
Build project
Open your project in Xcode and build it.
Click Continue.
Initialize video tracker
Select the agent type that matches your implementation:
- Video agent with AVPlayer tracker only: For video playback tracking
- Video agent with AVPlayer and IMA trackers: For video playback and ad tracking
Click See your data to view your streaming data in New Relic.
What's next?
- View your data: Learn about the different views available in New Relic to monitor your streaming video and ads
- Compatibility requirements: Check supported platforms and versions
- Update the agent: Keep your agent up to date