mirror of https://github.com/OpenVidu/openvidu.git
Merge branch 'master' of https://github.com/OpenVidu/openvidu
commit
21b94bc4fd
|
@ -156,7 +156,7 @@ export class RecordingService {
|
||||||
const queryParamForAvoidCache = `?t=${new Date().getTime()}`;
|
const queryParamForAvoidCache = `?t=${new Date().getTime()}`;
|
||||||
const baseUrl = this.libService.getRecordingStreamBaseUrl();
|
const baseUrl = this.libService.getRecordingStreamBaseUrl();
|
||||||
let streamRecordingUrl = '';
|
let streamRecordingUrl = '';
|
||||||
if (baseUrl === 'call/api/recordings') {
|
if (baseUrl === 'call/api/recordings/') {
|
||||||
// Keep the compatibility with the old version
|
// Keep the compatibility with the old version
|
||||||
streamRecordingUrl = `${baseUrl}${recording.id}/stream${queryParamForAvoidCache}`;
|
streamRecordingUrl = `${baseUrl}${recording.id}/stream${queryParamForAvoidCache}`;
|
||||||
} else {
|
} else {
|
||||||
|
@ -175,7 +175,7 @@ export class RecordingService {
|
||||||
const queryParamForAvoidCache = `?t=${new Date().getTime()}`;
|
const queryParamForAvoidCache = `?t=${new Date().getTime()}`;
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
const baseUrl = this.libService.getRecordingStreamBaseUrl();
|
const baseUrl = this.libService.getRecordingStreamBaseUrl();
|
||||||
if (baseUrl === 'call/api/recordings') {
|
if (baseUrl === 'call/api/recordings/') {
|
||||||
// Keep the compatibility with the old version
|
// Keep the compatibility with the old version
|
||||||
link.href = `${baseUrl}${recording.id}/stream${queryParamForAvoidCache}`;
|
link.href = `${baseUrl}${recording.id}/stream${queryParamForAvoidCache}`;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue