From 3138b3bc8003243edc64e509cae7f4bae0342443 Mon Sep 17 00:00:00 2001 From: Stefano Russello Date: Tue, 17 Dec 2024 12:10:19 +0100 Subject: [PATCH 1/3] CORE-5261 Stoplight documentation - Recover deleted stoplight json file - Re-added spectral.mjs file on gitignore --- .gitignore | 1 + .stoplight.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .stoplight.json diff --git a/.gitignore b/.gitignore index aa724b7..441e09d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ .externalNativeBuild .cxx local.properties +.spectral.mjs \ No newline at end of file diff --git a/.stoplight.json b/.stoplight.json new file mode 100644 index 0000000..ef30153 --- /dev/null +++ b/.stoplight.json @@ -0,0 +1,20 @@ +{ + "exclude": [ + ".git*", + ".idea", + "app", + "gradle*", + "playback-sdk-android", + "build*", + "settings*", + "docs" + ], + "formats": { + "markdown": { + "rootDir": "docs", + "include": [ + "**/*.md" + ] + } + } +} \ No newline at end of file From daeda26694487770e2841e0f986c550869c4f547 Mon Sep 17 00:00:00 2001 From: Stefano Russello Date: Tue, 17 Dec 2024 12:22:13 +0100 Subject: [PATCH 2/3] CORE-5261 Stoplight documentation Fix hashtags for Analytics and Resources --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c85840c..7777d4d 100755 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ To use the Google Chromecast support, use the `updateCastContext` method of the ... } ``` -# Bitmovin analytics +## Bitmovin analytics Currently SDK support tracking analytics on Bitmovin service. In case you have a logged-in user and want to track Bitmovin analytics for the current session, you need to pass the user's ID in the `analyticsViewerId` parameter. @@ -204,7 +204,7 @@ Currently SDK support tracking analytics on Bitmovin service. In case you have a } ``` -# Resources +## Resources - **Tutorial:** [Tutorial](https://streamamg.github.io/playback-sdk-android/tutorials/playbacksdk/getstarted) - **Demo app:** [GitHub Repository](https://github.com/StreamAMG/playback-demo-android) From eee28c1c4d455a5a29d72eabb4b66c56c5468e1f Mon Sep 17 00:00:00 2001 From: Stefano Russello Date: Tue, 17 Dec 2024 12:23:14 +0100 Subject: [PATCH 3/3] CORE-5261 Stoplight documentation Fix note tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7777d4d..f2e0519 100755 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ To play on-demand and live videos that require authorization, at some point befo Then the same token should be passed into the `loadPlayer(entryID, authorizationToken, onError)` method of `PlaybackSDkManager`. For the free videos that user should be able to watch without logging in, starting the session is not required and `authorizationToken` can be set to an empty string or `null`. -> \[!NOTE] +> \[NOTE] > If the user is authenticated, has enough access level to watch a video, the session was started and the same token was passed to the player but the videos still throw a 401 error, it might be related to these requests having different user-agent headers. ## Configure user-agent