Fix url retrieval to match updated getVideo JSON response schema (#48)
This commit is contained in:
Родитель
97064f9b1b
Коммит
32d79f0ee9
|
@ -133,8 +133,8 @@ export class Player extends BaseWidget {
|
|||
} else {
|
||||
const response = await videoInformation.json();
|
||||
// Init media API
|
||||
MediaApi.baseStream = response.properties.streaming.archiveBaseUrl;
|
||||
MediaApi.liveStream = response.properties.streaming.rtspTunnelUrl;
|
||||
MediaApi.baseStream = response.properties.contentUrls.archiveBaseUrl;
|
||||
MediaApi.liveStream = response.properties.contentUrls.rtspTunnelUrl;
|
||||
|
||||
// Authorize video
|
||||
await AvaAPi.authorize();
|
||||
|
|
Загрузка…
Ссылка в новой задаче