[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Roku SDK

In this tutorial you will learn how to add the Bitmovin Player Roku SDK to your project, set up the player license, use the player and how to configure it.

Before we start...Link Icon

Creating your own Roku channel

In order to use our Bitmovin Roku Player you will need to have your own custom Roku channel. Check out Rokus Development Overview to get started. There is also a Hello World example available which can be used for this guide.

Once you have your own channel in place you can follow the steps below to add the Bitmovin Roku player to it.

Step 1: Adding your License KeyLink Icon

Add the Bitmovin License Key to your channels manifest.

Alternatively, you can add the license key to your player config later on. More on the player config down below.

Also check out our FAQ here to learn how to allowlist your Roku channel.

Step 2: Add the SDK to your projectLink Icon

Add the player SDK to your project using a component library

Start the download of the component library by adding it to your scene and check for the download being finished by observing the loadStatus field.

Add the player to your project directly

Alternatively, the player SDK can be downloaded and added to your components folder directly.

Step 3: Setup the PlayerLink Icon

Create the player

Once the download of the library is complete you can create an instance of the player.

Create a player config

Create a player config to configure the player to your needs.

For additional information as well as a list of all available parameters for the player config take a look at the setup method in our documentation.

Configure the player

Pass the created player config to the player using the setup call.

Create Source config

Create a source config consisting of at least a stream url with the corresponding format and a title to be passed to the player.

For additional information as well as a list of all available parameters for the source config take a look at the load method in our documentation.

Load the source config

Load the created source config into the player using the load call.

Step 4: Final ReviewLink Icon

Now that you have learned how to add the player to your project, configure and use it you can start having a look at the API Reference and adapt the player to your needs.

Also check out our Example Repository where you can find a full example of what has been shown here.

More ExamplesLink Icon

You can find many more fully functional code examples in our Github Repository.

Github

Give us feedback