# Migrating to OptiView Live v2

If you are using OptiView Live v2 for your live streams, you will need to do some extra configuration to successfully play back your OptiView Live streams on Roku.

## Initial Setup

1. Follow [our Getting Started guide](https://docs-preview.optiview.dolby.com/pr-913/theoplayer/getting-started/sdks/roku/getting-started.md) to set up THEOplayer in your Roku app.
2. Add an OptiView Live source to your player's source.

### Configure OptiView Live for v2

Since THEOplayer 11.5.0, the player tries the OptiView Live v2 discovery URL first, so v2 sources play without extra configuration. To avoid failed discovery requests, or with earlier versions of THEOplayer, specify one or more discovery URLs. On the player configuration object, you may add the discovery URLs using the `theoLive` property on the player configuration. See [Discovery URLs](https://docs-preview.optiview.dolby.com/pr-913/theoplayer/how-to-guides/roku/theolive/discovery-urls.md) for more information.

```brightscript
playerConfiguration = {
  license: "<YOUR_LICENSE_HERE>",
  theoLive: {
    discoveryUrls: ["https://discovery.theo.live/v2/distributions/"]
  }
}
m.player.callFunc("configure", playerConfiguration)
```
