From d172c441e5557a56508ee5ad2a8c9fb97dc650a7 Mon Sep 17 00:00:00 2001 From: Artem Yelizarov Date: Tue, 11 Jun 2024 15:02:44 +0300 Subject: [PATCH] Use playback-sdk-ios as hosting base path --- docs/data/documentation/playbacksdk.json | 2 +- docs/data/tutorials/playbacksdk/getstarted.json | 2 +- docs/data/tutorials/table-of-contents.json | 2 +- docs/documentation/playbacksdk/index.html | 2 +- docs/index.html | 2 +- docs/metadata.json | 2 +- docs/tutorials/playbacksdk/getstarted/index.html | 2 +- docs/tutorials/table-of-contents/index.html | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/data/documentation/playbacksdk.json b/docs/data/documentation/playbacksdk.json index 8526bb9..adba963 100644 --- a/docs/data/documentation/playbacksdk.json +++ b/docs/data/documentation/playbacksdk.json @@ -1 +1 @@ -{"kind":"symbol","metadata":{"modules":[{"name":"PlaybackSDK"}],"role":"collection","roleHeading":"Framework","externalID":"PlaybackSDK","symbolKind":"module","title":"PlaybackSDK"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK"},"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"variants":[{"paths":["\/documentation\/playbacksdk"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[[]]},"references":{"doc://PlaybackSDK/documentation/PlaybackSDK":{"role":"collection","kind":"symbol","url":"\/documentation\/playbacksdk","abstract":[],"type":"topic","identifier":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK","title":"PlaybackSDK"}}} \ No newline at end of file +{"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[[]]},"identifier":{"url":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK","interfaceLanguage":"swift"},"metadata":{"title":"PlaybackSDK","modules":[{"name":"PlaybackSDK"}],"role":"collection","symbolKind":"module","externalID":"PlaybackSDK","roleHeading":"Framework"},"sections":[],"variants":[{"paths":["\/documentation\/playbacksdk"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaybackSDK/documentation/PlaybackSDK":{"identifier":"doc:\/\/PlaybackSDK\/documentation\/PlaybackSDK","url":"\/documentation\/playbacksdk","kind":"symbol","title":"PlaybackSDK","type":"topic","role":"collection","abstract":[]}}} \ No newline at end of file diff --git a/docs/data/tutorials/playbacksdk/getstarted.json b/docs/data/tutorials/playbacksdk/getstarted.json index a00bc22..19bd758 100644 --- a/docs/data/tutorials/playbacksdk/getstarted.json +++ b/docs/data/tutorials/playbacksdk/getstarted.json @@ -1 +1 @@ -{"kind":"project","hierarchy":{"modules":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","projects":[{"sections":[{"kind":"task","reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Playback-SDK"}],"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"}]}],"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","paths":[["doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/$volume","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"},"schemaVersion":{"minor":3,"patch":0,"major":0},"metadata":{"title":"Playback SDK Overview","role":"project","category":"PlaybackSDK Tutorial","categoryPathComponent":"Table-Of-Contents"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/tutorials\/playbacksdk\/getstarted"]}],"sections":[{"content":[{"inlineContent":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"type":"paragraph"},{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Key Features:"}]}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Abstraction:"}]},{"type":"text","text":" Hides the complexities of underlying video APIs, allowing you to focus on the core playback experience."}]}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Flexibility:"}]},{"type":"text","text":" Supports different video providers and allows the creation of custom playback plugins for extended functionalities."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Error Handling:"}]},{"type":"text","text":" Provides mechanisms to handle potential issues during playback and notify your application."}]}]}]}],"title":"Playback SDK Overview","chapter":"Getting Started","estimatedTimeInMinutes":30,"kind":"hero"},{"kind":"tasks","tasks":[{"title":"Playback SDK","contentSection":[{"kind":"fullWidth","content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"text":"Explore how to use StreamAMG Playback SDK.","type":"text"}],"type":"strong"}]}]}],"stepsSection":[{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 1:","type":"text"}]},{"type":"text","text":" Initialize the Playback SDK by providing your API key and register the default player plugin."},{"text":" ","type":"text"},{"type":"strong","inlineContent":[{"type":"text","text":"Make sure this step is done when the app starts."}]}]}],"media":null,"caption":[],"type":"step","code":"PlayBackDemoApp.swift","runtimePreview":null},{"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"text":"Step 2:","type":"text"}]},{"type":"text","text":""},{"text":" ","type":"text"},{"type":"text","text":"Load the player using the Playback SDK and handle any playback errors."}]}],"media":null,"code":"PlayerTestView.swift","caption":[{"type":"paragraph","inlineContent":[{"text":"In this step, the code utilizes the ","type":"text"},{"type":"strong","inlineContent":[{"type":"text","text":"loadPlayer"}]},{"type":"text","text":" function provided by the Playback SDK to initialize and load the video player. The function takes the entry ID and authorization token as parameters. Additionally, it includes a closure to handle any potential playback errors that may occur during the loading process."},{"text":" ","type":"text"},{"text":"The ","type":"text"},{"type":"strong","inlineContent":[{"type":"text","text":"handlePlaybackError"}]},{"text":" function is called within the closure to handle the playback errors. It switches on the type of error received and provides appropriate error handling based on the type of error encountered.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The code also includes a placeholder comment to indicate where the removal of the player could be implemented in the "},{"type":"strong","inlineContent":[{"text":"onDisappear","type":"text"}]},{"text":" modifier.","type":"text"},{"type":"text","text":" "},{"type":"text","text":"If you want to allow users to access free content or if you’re implementing a guest mode, you can pass an empty string or "},{"inlineContent":[{"type":"text","text":"nil"}],"type":"strong"},{"type":"text","text":" value as the "},{"inlineContent":[{"type":"text","text":"authorizationToken"}],"type":"strong"},{"type":"text","text":" when calling the "},{"type":"strong","inlineContent":[{"type":"text","text":"loadPlayer"}]},{"text":" function. This will bypass the need for authentication, enabling unrestricted access to the specified content.","type":"text"}]}],"type":"step","runtimePreview":null},{"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"This step describes enum for error handling. Above is the error enum returned by the SDK, where the apiError also has the reason code and message for the API error. The playback API is returning the reason code in the response. For the list of the error codes and reasons, please refer to "},{"identifier":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data","isActive":true,"type":"reference"}]}],"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"text":"Step 3:","type":"text"}],"type":"strong"},{"text":" ","type":"text"},{"text":"Handle the playback errors from Playback SDK.","type":"text"}]}],"type":"step","code":"PlayBackAPIError.swift","media":null,"runtimePreview":null}],"anchor":"Playback-SDK"}]}],"references":{"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"role":"project","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","title":"Playback SDK Overview","type":"topic","kind":"project","estimatedTime":"30min","url":"\/tutorials\/playbacksdk\/getstarted","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}]},"PlayBackAPIError.swift":{"highlights":[],"type":"file","identifier":"PlayBackAPIError.swift","fileName":"PlayBackAPIError.swift","fileType":"swift","syntax":"swift","content":["import Foundation","","public enum PlayBackAPIError: Error {",""," case invalidResponsePlaybackData",""," case invalidPlaybackDataURL",""," case invalidPlayerInformationURL",""," case initializationError",""," case loadHLSStreamError",""," case networkError(Error)",""," case apiError(statusCode: Int, message: String)","}"]},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"role":"overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","title":"Introduction to PlaybackSDK","type":"topic","kind":"overview","url":"\/tutorials\/table-of-contents","abstract":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Getting-Started":{"kind":"article","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","abstract":[],"title":"Getting Started","type":"topic","role":"article","url":"\/tutorials\/table-of-contents\/getting-started"},"PlayBackDemoApp.swift":{"fileName":"PlayBackDemoApp.swift","highlights":[],"type":"file","fileType":"swift","syntax":"swift","identifier":"PlayBackDemoApp.swift","content":["import SwiftUI","import PlaybackSDK","","@main","struct PlayBackDemoApp: App {"," "," let sdkManager = PlayBackSDKManager()"," let apiKey = \"API_KEY\""," var body: some Scene {"," WindowGroup {"," HomeView()"," }"," }"," "," init() {"," \/\/ Initialize the Playback SDK with the provided API key and base URL"," PlayBackSDKManager.shared.initialize(apiKey: apiKey) { result in"," switch result {"," case .success(let license):"," \/\/ Obtained license upon successful initialization"," print(\"SDK initialized with license: \\(license)\")"," "," \/\/ Register the video player plugin"," let bitmovinPlugin = BitmovinPlayerPlugin()"," VideoPlayerPluginManager.shared.registerPlugin(bitmovinPlugin)"," "," case .failure(let error):"," \/\/ Print an error message and set initializationError flag upon initialization failure"," print(\"SDK initialization failed with error: \\(error)\")"," "," }"," }"," }","}"]},"PlayerTestView.swift":{"fileType":"swift","syntax":"swift","fileName":"PlayerTestView.swift","identifier":"PlayerTestView.swift","type":"file","highlights":[],"content":["import SwiftUI","import PlaybackSDK","","struct PlayerTestView: View {"," "," private let entryID = \"ENTRY_ID\""," private let authorizationToken = \"JWT_TOKEN\""," "," var body: some View {"," VStack {"," \/\/ Load player with the playback SDK"," PlayBackSDKManager.shared.loadPlayer(entryID: entryID, authorizationToken: authorizationToken) { error in"," handlePlaybackError(error)"," }"," .onDisappear {"," \/\/ Remove the player here"," }"," Spacer()"," }"," .padding()"," }"," "," private func handlePlaybackError(_ error: PlaybackError) {"," switch error {"," case .apiError(let statusCode, let errorMessage, let reason):"," print(\"\\(errorMessage) Status Code \\(statusCode)\")"," errorMessage = \"\\(errorMessage) Status Code \\(statusCode) Reason \\(reason)\""," default:"," print(\"Error loading HLS stream in PlaybackUIView: \\(error.localizedDescription)\")"," errorMessage = \"Error code and errorrMessage not found: \\(error.localizedDescription)\""," }"," }"," ","}"]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Playback-SDK":{"role":"pseudoSymbol","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Playback-SDK","type":"section","title":"Playback SDK","kind":"section","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"url":"\/tutorials\/playbacksdk\/getstarted#Playback-SDK"},"https://streamamg.stoplight.io/docs/playback-documentation-portal/ec642e6dcbb13-get-video-playback-data":{"type":"link","url":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data","title":"Get Video Playback Data | Playback","titleInlineContent":[{"text":"Get Video Playback Data | Playback","type":"text"}],"identifier":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data"}}} \ No newline at end of file +{"sections":[{"kind":"hero","estimatedTimeInMinutes":30,"content":[{"type":"paragraph","inlineContent":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}]},{"inlineContent":[{"type":"strong","inlineContent":[{"text":"Key Features:","type":"text"}]}],"type":"paragraph"},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"text":"Abstraction:","type":"text"}]},{"type":"text","text":" Hides the complexities of underlying video APIs, allowing you to focus on the core playback experience."}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Flexibility:"}],"type":"strong"},{"text":" Supports different video providers and allows the creation of custom playback plugins for extended functionalities.","type":"text"}]}]},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Error Handling:"}]},{"text":" Provides mechanisms to handle potential issues during playback and notify your application.","type":"text"}],"type":"paragraph"}]}]}],"title":"Playback SDK Overview","chapter":"Getting Started"},{"tasks":[{"stepsSection":[{"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Step 1:"}],"type":"strong"},{"type":"text","text":" Initialize the Playback SDK by providing your API key and register the default player plugin."},{"type":"text","text":" "},{"type":"strong","inlineContent":[{"type":"text","text":"Make sure this step is done when the app starts."}]}]}],"code":"PlayBackDemoApp.swift","runtimePreview":null,"caption":[],"media":null,"type":"step"},{"content":[{"inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Step 2:"}]},{"text":"","type":"text"},{"text":" ","type":"text"},{"text":"Load the player using the Playback SDK and handle any playback errors.","type":"text"}],"type":"paragraph"}],"caption":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In this step, the code utilizes the "},{"type":"strong","inlineContent":[{"text":"loadPlayer","type":"text"}]},{"type":"text","text":" function provided by the Playback SDK to initialize and load the video player. The function takes the entry ID and authorization token as parameters. Additionally, it includes a closure to handle any potential playback errors that may occur during the loading process."},{"text":" ","type":"text"},{"type":"text","text":"The "},{"type":"strong","inlineContent":[{"text":"handlePlaybackError","type":"text"}]},{"text":" function is called within the closure to handle the playback errors. It switches on the type of error received and provides appropriate error handling based on the type of error encountered.","type":"text"},{"type":"text","text":" "},{"text":"The code also includes a placeholder comment to indicate where the removal of the player could be implemented in the ","type":"text"},{"type":"strong","inlineContent":[{"text":"onDisappear","type":"text"}]},{"type":"text","text":" modifier."},{"type":"text","text":" "},{"text":"If you want to allow users to access free content or if you’re implementing a guest mode, you can pass an empty string or ","type":"text"},{"type":"strong","inlineContent":[{"type":"text","text":"nil"}]},{"type":"text","text":" value as the "},{"inlineContent":[{"text":"authorizationToken","type":"text"}],"type":"strong"},{"type":"text","text":" when calling the "},{"inlineContent":[{"type":"text","text":"loadPlayer"}],"type":"strong"},{"type":"text","text":" function. This will bypass the need for authentication, enabling unrestricted access to the specified content."}]}],"media":null,"code":"PlayerTestView.swift","runtimePreview":null,"type":"step"},{"type":"step","code":"PlayBackAPIError.swift","runtimePreview":null,"caption":[{"type":"paragraph","inlineContent":[{"text":"This step describes enum for error handling. Above is the error enum returned by the SDK, where the apiError also has the reason code and message for the API error. The playback API is returning the reason code in the response. For the list of the error codes and reasons, please refer to ","type":"text"},{"type":"reference","identifier":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data","isActive":true}]}],"content":[{"type":"paragraph","inlineContent":[{"type":"strong","inlineContent":[{"type":"text","text":"Step 3:"}]},{"type":"text","text":" "},{"text":"Handle the playback errors from Playback SDK.","type":"text"}]}],"media":null}],"anchor":"Playback-SDK","contentSection":[{"content":[{"type":"paragraph","inlineContent":[{"inlineContent":[{"type":"text","text":"Explore how to use StreamAMG Playback SDK."}],"type":"strong"}]}],"kind":"fullWidth"}],"title":"Playback SDK"}],"kind":"tasks"}],"metadata":{"category":"PlaybackSDK Tutorial","role":"project","categoryPathComponent":"Table-Of-Contents","title":"Playback SDK Overview"},"variants":[{"paths":["\/tutorials\/playbacksdk\/getstarted"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/$volume","doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started"]],"modules":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","projects":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","sections":[{"reference":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Playback-SDK","kind":"task"}]}]}],"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents"},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"project","references":{"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted#Playback-SDK":{"type":"section","url":"\/tutorials\/playbacksdk\/getstarted#Playback-SDK","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}],"role":"pseudoSymbol","kind":"section","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted#Playback-SDK","title":"Playback SDK"},"PlayBackDemoApp.swift":{"highlights":[],"content":["import SwiftUI","import PlaybackSDK","","@main","struct PlayBackDemoApp: App {"," "," let sdkManager = PlayBackSDKManager()"," let apiKey = \"API_KEY\""," var body: some Scene {"," WindowGroup {"," HomeView()"," }"," }"," "," init() {"," \/\/ Initialize the Playback SDK with the provided API key and base URL"," PlayBackSDKManager.shared.initialize(apiKey: apiKey) { result in"," switch result {"," case .success(let license):"," \/\/ Obtained license upon successful initialization"," print(\"SDK initialized with license: \\(license)\")"," "," \/\/ Register the video player plugin"," let bitmovinPlugin = BitmovinPlayerPlugin()"," VideoPlayerPluginManager.shared.registerPlugin(bitmovinPlugin)"," "," case .failure(let error):"," \/\/ Print an error message and set initializationError flag upon initialization failure"," print(\"SDK initialization failed with error: \\(error)\")"," "," }"," }"," }","}"],"syntax":"swift","fileType":"swift","identifier":"PlayBackDemoApp.swift","type":"file","fileName":"PlayBackDemoApp.swift"},"PlayerTestView.swift":{"fileType":"swift","syntax":"swift","type":"file","highlights":[],"fileName":"PlayerTestView.swift","content":["import SwiftUI","import PlaybackSDK","","struct PlayerTestView: View {"," "," private let entryID = \"ENTRY_ID\""," private let authorizationToken = \"JWT_TOKEN\""," "," var body: some View {"," VStack {"," \/\/ Load player with the playback SDK"," PlayBackSDKManager.shared.loadPlayer(entryID: entryID, authorizationToken: authorizationToken) { error in"," handlePlaybackError(error)"," }"," .onDisappear {"," \/\/ Remove the player here"," }"," Spacer()"," }"," .padding()"," }"," "," private func handlePlaybackError(_ error: PlaybackError) {"," switch error {"," case .apiError(let statusCode, let errorMessage, let reason):"," print(\"\\(errorMessage) Status Code \\(statusCode)\")"," errorMessage = \"\\(errorMessage) Status Code \\(statusCode) Reason \\(reason)\""," default:"," print(\"Error loading HLS stream in PlaybackUIView: \\(error.localizedDescription)\")"," errorMessage = \"Error code and errorrMessage not found: \\(error.localizedDescription)\""," }"," }"," ","}"],"identifier":"PlayerTestView.swift"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"url":"\/tutorials\/table-of-contents","title":"Introduction to PlaybackSDK","role":"overview","type":"topic","kind":"overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","abstract":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]},"https://streamamg.stoplight.io/docs/playback-documentation-portal/ec642e6dcbb13-get-video-playback-data":{"identifier":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data","type":"link","title":"Get Video Playback Data | Playback","titleInlineContent":[{"type":"text","text":"Get Video Playback Data | Playback"}],"url":"https:\/\/streamamg.stoplight.io\/docs\/playback-documentation-portal\/ec642e6dcbb13-get-video-playback-data"},"PlayBackAPIError.swift":{"content":["import Foundation","","public enum PlayBackAPIError: Error {",""," case invalidResponsePlaybackData",""," case invalidPlaybackDataURL",""," case invalidPlayerInformationURL",""," case initializationError",""," case loadHLSStreamError",""," case networkError(Error)",""," case apiError(statusCode: Int, message: String)","}"],"fileType":"swift","identifier":"PlayBackAPIError.swift","syntax":"swift","highlights":[],"type":"file","fileName":"PlayBackAPIError.swift"},"doc://PlaybackSDK/tutorials/Table-Of-Contents/Getting-Started":{"type":"topic","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents\/Getting-Started","kind":"article","url":"\/tutorials\/table-of-contents\/getting-started","abstract":[],"title":"Getting Started","role":"article"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"title":"Playback SDK Overview","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"url":"\/tutorials\/playbacksdk\/getstarted","type":"topic","kind":"project","estimatedTime":"30min","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","role":"project"}}} \ No newline at end of file diff --git a/docs/data/tutorials/table-of-contents.json b/docs/data/tutorials/table-of-contents.json index 6f48e05..f9a35ad 100644 --- a/docs/data/tutorials/table-of-contents.json +++ b/docs/data/tutorials/table-of-contents.json @@ -1 +1 @@ -{"sections":[{"title":"Introduction to PlaybackSDK","kind":"hero","action":{"isActive":true,"overridingTitle":"Get started","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"type":"reference"},"content":[{"inlineContent":[{"text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications.","type":"text"}],"type":"paragraph"}]},{"name":null,"kind":"volume","chapters":[{"name":"Getting Started","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"In this chapter, we’ll start by setting up the PlaybackSDK from the initialisation to load the PlayBack Player Plugin."}]}],"tutorials":["doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"],"image":"ios-marketing.png"}],"image":null,"content":[]},{"tiles":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Browse and search the PlaybackSDK documentation."}]},{"items":[{"content":[{"inlineContent":[{"isActive":true,"identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"reference"}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"isActive":true,"identifier":"https:\/\/streamamg.stoplight.io","type":"reference"}]}]}],"type":"unorderedList"}],"identifier":"documentation","title":"Documentation"}],"content":[{"inlineContent":[{"text":"Explore more resources for learning about PlaybackSDK.","type":"text"}],"type":"paragraph"}],"kind":"resources"}],"kind":"overview","schemaVersion":{"patch":0,"minor":3,"major":0},"metadata":{"role":"overview","category":"PlaybackSDK Tutorial","categoryPathComponent":"Table-Of-Contents","estimatedTime":"30min","title":"Introduction to PlaybackSDK"},"identifier":{"url":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","interfaceLanguage":"swift"},"hierarchy":{"paths":[],"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents"},"variants":[{"paths":["\/tutorials\/table-of-contents"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"role":"overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","title":"Introduction to PlaybackSDK","type":"topic","kind":"overview","url":"\/tutorials\/table-of-contents","abstract":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]},"ios-marketing.png":{"variants":[{"traits":["1x","light"],"url":"\/images\/ios-marketing.png"}],"alt":"Getting Started with PlaybackSDK","identifier":"ios-marketing.png","type":"image"},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"role":"project","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","title":"Playback SDK Overview","type":"topic","kind":"project","estimatedTime":"30min","url":"\/tutorials\/playbacksdk\/getstarted","abstract":[{"type":"text","text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic."}]},"https://streamamg.stoplight.io":{"titleInlineContent":[{"type":"text","text":"Stoplight PlayBack API"}],"url":"https:\/\/streamamg.stoplight.io","title":"Stoplight PlayBack API","identifier":"https:\/\/streamamg.stoplight.io","type":"link"},"https://github.com/StreamAMG/playback-sdk-ios/tree/main":{"title":"GitHub Repository","identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"link","titleInlineContent":[{"type":"text","text":"GitHub Repository"}],"url":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main"}}} \ No newline at end of file +{"hierarchy":{"reference":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","paths":[]},"identifier":{"url":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","interfaceLanguage":"swift"},"metadata":{"category":"PlaybackSDK Tutorial","estimatedTime":"30min","categoryPathComponent":"Table-Of-Contents","role":"overview","title":"Introduction to PlaybackSDK"},"schemaVersion":{"major":0,"patch":0,"minor":3},"sections":[{"action":{"identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","isActive":true,"overridingTitle":"Get started","overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"type":"reference"},"kind":"hero","title":"Introduction to PlaybackSDK","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]}]},{"content":[],"kind":"volume","chapters":[{"name":"Getting Started","image":"ios-marketing.png","tutorials":["doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted"],"content":[{"inlineContent":[{"text":"In this chapter, we’ll start by setting up the PlaybackSDK from the initialisation to load the PlayBack Player Plugin.","type":"text"}],"type":"paragraph"}]}],"name":null,"image":null},{"kind":"resources","tiles":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Browse and search the PlaybackSDK documentation."}]},{"type":"unorderedList","items":[{"content":[{"inlineContent":[{"identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"reference","isActive":true}],"type":"paragraph"}]},{"content":[{"type":"paragraph","inlineContent":[{"identifier":"https:\/\/streamamg.stoplight.io","isActive":true,"type":"reference"}]}]}]}],"identifier":"documentation","title":"Documentation"}],"content":[{"type":"paragraph","inlineContent":[{"text":"Explore more resources for learning about PlaybackSDK.","type":"text"}]}]}],"variants":[{"paths":["\/tutorials\/table-of-contents"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"overview","references":{"https://github.com/StreamAMG/playback-sdk-ios/tree/main":{"identifier":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","title":"GitHub Repository","url":"https:\/\/github.com\/StreamAMG\/playback-sdk-ios\/tree\/main","type":"link","titleInlineContent":[{"text":"GitHub Repository","type":"text"}]},"doc://PlaybackSDK/tutorials/PlaybackSDK/GetStarted":{"title":"Playback SDK Overview","abstract":[{"text":"Playback SDK simplifies integrating video playback functionalities into OTT applications. It provides a unified interface for interacting with video APIs and managing playback logic.","type":"text"}],"url":"\/tutorials\/playbacksdk\/getstarted","type":"topic","kind":"project","estimatedTime":"30min","identifier":"doc:\/\/PlaybackSDK\/tutorials\/PlaybackSDK\/GetStarted","role":"project"},"ios-marketing.png":{"variants":[{"traits":["1x","light"],"url":"\/images\/ios-marketing.png"}],"alt":"Getting Started with PlaybackSDK","identifier":"ios-marketing.png","type":"image"},"doc://PlaybackSDK/tutorials/Table-Of-Contents":{"url":"\/tutorials\/table-of-contents","title":"Introduction to PlaybackSDK","role":"overview","type":"topic","kind":"overview","identifier":"doc:\/\/PlaybackSDK\/tutorials\/Table-Of-Contents","abstract":[{"type":"text","text":"Welcome to the PlaybackSDK tutorial! In this tutorial, you will learn how to integrate and use the PlaybackSDK in your iOS applications."}]},"https://streamamg.stoplight.io":{"title":"Stoplight PlayBack API","url":"https:\/\/streamamg.stoplight.io","titleInlineContent":[{"text":"Stoplight PlayBack API","type":"text"}],"identifier":"https:\/\/streamamg.stoplight.io","type":"link"}}} \ No newline at end of file diff --git a/docs/documentation/playbacksdk/index.html b/docs/documentation/playbacksdk/index.html index d5df4d7..c25d820 100644 --- a/docs/documentation/playbacksdk/index.html +++ b/docs/documentation/playbacksdk/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d5df4d7..c25d820 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/metadata.json b/docs/metadata.json index 3988104..2820538 100644 --- a/docs/metadata.json +++ b/docs/metadata.json @@ -1 +1 @@ -{"bundleIdentifier":"PlaybackSDK","bundleDisplayName":"PlaybackSDK","schemaVersion":{"major":0,"minor":1,"patch":0}} \ No newline at end of file +{"bundleIdentifier":"PlaybackSDK","bundleDisplayName":"PlaybackSDK","schemaVersion":{"major":0,"patch":0,"minor":1}} \ No newline at end of file diff --git a/docs/tutorials/playbacksdk/getstarted/index.html b/docs/tutorials/playbacksdk/getstarted/index.html index d5df4d7..c25d820 100644 --- a/docs/tutorials/playbacksdk/getstarted/index.html +++ b/docs/tutorials/playbacksdk/getstarted/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file diff --git a/docs/tutorials/table-of-contents/index.html b/docs/tutorials/table-of-contents/index.html index d5df4d7..c25d820 100644 --- a/docs/tutorials/table-of-contents/index.html +++ b/docs/tutorials/table-of-contents/index.html @@ -1 +1 @@ -Documentation
\ No newline at end of file +Documentation
\ No newline at end of file