From 6288e76ded4ab1bddcdce44c64cf3d4f590416a4 Mon Sep 17 00:00:00 2001 From: Francesco Puglisi Date: Thu, 19 Nov 2026 09:38:32 +0000 Subject: [PATCH] Use TheoLiveSource(src:) in iOS OptiView Live getting-started guide Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../ios/theolive/00-getting-started.mdx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/theoplayer/how-to-guides/ios/theolive/00-getting-started.mdx b/theoplayer/how-to-guides/ios/theolive/00-getting-started.mdx index 07805d51be2b..00e868940423 100644 --- a/theoplayer/how-to-guides/ios/theolive/00-getting-started.mdx +++ b/theoplayer/how-to-guides/ios/theolive/00-getting-started.mdx @@ -14,12 +14,25 @@ sidebar_label: Getting started ### Add an OptiView Live source After setting up your THEOplayer in your app, set its source to a `SourceDescription` containing a `TheoLiveSource`. -You'll need an OptiView Live channel ID: +Pass the identifier of your OptiView Live distribution as `src`: ```swift -theoplayer.source = SourceDescription(source: TheoLiveSource(channelId: "3aa5qylwwk7gijsobayq09yee")) +theoplayer.source = SourceDescription(source: TheoLiveSource(src: "3aa5qylwwk7gijsobayq09yee")) ``` +The `src` parameter accepts any of these formats: + +- A V1 channel ID, e.g. `2jENbm22UH5PobDm0Dqjtmkrx2E` +- A V2/V3 distribution ID, e.g. `1f17631a-861d-42c2-9105-d97de0ab9c07` +- A V3 organization ID and distribution name separated by `/`, e.g. `1f17631a-861d-42c2-9105-d97de0ab9c06/my-distribution` + +:::note + +`TheoLiveSource(src:)` was introduced in THEOplayer 11.17.0, replacing the deprecated `TheoLiveSource(channelId:)`. +On older versions, use `TheoLiveSource(channelId:)` instead. + +::: + ## More information - [API references](pathname:///theoplayer/v11/api-reference/ios/)