## Overview
The BambuserPlayerSDK is a powerful tool that enables developers to integrate live and on-demand video streaming functionality into their iOS applications. With a wide range of features and a simple-to-use interface, the BambuserPlayerSDK allows you to create immersive and engaging video experiences for your users.
## Installation
### Cocoapods
To install the BambuserPlayerSDK using Cocoapods, add the following line to your `Podfile`:
“`
pod ‘BambuserPlayerSDK’
“`
Then, run `pod install` command to fetch and include the BambuserPlayerSDK in your project.
### Manual Installation
To manually install the BambuserPlayerSDK, perform the following steps:
1. Download the latest version of the BambuserPlayerSDK from the official website or from a reliable source.
2. Drag and drop the BambuserPlayerSDK framework into your Xcode project.
3. Make sure to check “Copy items if needed” and select the appropriate target.
## Getting Started
To get started with the BambuserPlayerSDK, follow the steps below:
1. Import the BambuserPlayerSDK module in your source file:
“`swift
import BambuserPlayerSDK
“`
2. Create an instance of `BambuserPlayer` and add it to your view hierarchy:
“`swift
let bambuserPlayer = BambuserPlayer()
view.addSubview(bambuserPlayer)
“`
3. Set the desired video resource to play:
“`swift
bambuserPlayer.resourceUri = “https://example.com/livestream”
“`
4. Start playing the video:
“`swift
bambuserPlayer.play()
“`
## Features
### Live Video Streaming
The BambuserPlayerSDK allows you to seamlessly integrate live video streaming into your application. Whether you want to live stream an event, a live concert, or a sports match, the BambuserPlayerSDK enables you to provide your users with an immersive viewing experience.
### On-Demand Video Playback
In addition to live video streaming, the BambuserPlayerSDK also supports on-demand video playback. This feature enables you to provide your users with a vast library of recorded videos that they can watch whenever they want.
### Customization Options
The BambuserPlayerSDK provides a range of customization options, allowing you to tailor the player’s appearance and behavior to match your application’s brand identity and user experience. You can customize the player’s controls, playback settings, aspect ratio, and more.
### Analytics and Metrics
To help you track and understand your users’ engagement with your video content, the BambuserPlayerSDK offers built-in analytics and metrics. You can obtain valuable insights such as viewer count, play duration, and playback errors.
## Documentation
For detailed information on how to use the BambuserPlayerSDK and explore its full capabilities, please refer to the official [BambuserPlayerSDK documentation](https://yourdocumentationlink.com).
## Support
If you encounter any issues or have any questions regarding the BambuserPlayerSDK, you can reach out to our support team at [support@bambuser.com](mailto:support@bambuser.com). We are happy to assist you and provide timely solutions to your queries.
## Conclusion
The BambuserPlayerSDK allows you to effortlessly integrate live and on-demand video streaming functionality into your iOS applications. With its wide range of features and flexible customization options, the BambuserPlayerSDK empowers you to create engaging and immersive video experiences for your users.