Skip to content

Instantly share code, notes, and snippets.

@kinisoftware
Created April 18, 2021 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinisoftware/1decc6648a6bdd9cc9f1b1118267f733 to your computer and use it in GitHub Desktop.
Save kinisoftware/1decc6648a6bdd9cc9f1b1118267f733 to your computer and use it in GitHub Desktop.
{
"type": "AudioPlayer.Play",
"playBehavior": "valid playBehavior value such as ENQUEUE",
"audioItem": {
"stream": {
"url": "https://cdn.example.com/url-of-the-stream-to-play",
"token": "opaque token representing this stream",
"expectedPreviousToken": "opaque token representing the previous stream",
"offsetInMilliseconds": 0,
"caption": {
"content": "WEBVTT\n\n00:00.000 --> 00:02.107\n<00:00.006>My <00:00.0192>Audio <00:01.232>Captions.\n",
"type": "WEBVTT"
}
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment