8144a9bb87
Re-used lots of Anthony's code + made fixes to a few areas including the publish page. a new videojs video.js@7.18.1 + http-streaming@2.14.2 remove console log
22 lines
1.2 KiB
JavaScript
22 lines
1.2 KiB
JavaScript
export const LIVESTREAM_CDN_DOMAIN = 'cdn.odysee.live';
|
|
export const LIVESTREAM_STREAM_DOMAIN = 'stream.odysee.com';
|
|
export const LIVESTREAM_STREAM_X_PULL = 'bitwaveCDN';
|
|
|
|
export const LIVESTREAM_EMBED_URL = 'https://player.odysee.live/odysee';
|
|
export const LIVESTREAM_LIVE_API = 'https://api.live.odysee.com/v1/odysee/live';
|
|
export const LIVESTREAM_REPLAY_API = 'https://api.live.odysee.com/v1/replays/odysee';
|
|
export const LIVESTREAM_RTMP_URL = 'rtmp://stream.odysee.com/live';
|
|
export const LIVESTREAM_KILL = 'https://api.odysee.live/streams/kill?app=live&';
|
|
|
|
// new livestream endpoints (old can be removed at some future point)
|
|
export const NEW_LIVESTREAM_RTMP_URL = 'rtmp://publish.odysee.live/live';
|
|
export const NEW_LIVESTREAM_REPLAY_API = 'https://api.odysee.live/replays/list';
|
|
export const NEW_LIVESTREAM_LIVE_API = 'https://api.odysee.live/livestream';
|
|
|
|
export const MAX_LIVESTREAM_COMMENTS = 50;
|
|
|
|
export const LIVESTREAM_STATUS_CHECK_INTERVAL = 45 * 1000;
|
|
export const LIVESTREAM_STATUS_CHECK_INTERVAL_SOON = 15 * 1000;
|
|
export const LIVESTREAM_STARTS_SOON_BUFFER = 15;
|
|
export const LIVESTREAM_STARTED_RECENTLY_BUFFER = 15;
|
|
export const LIVESTREAM_UPCOMING_BUFFER = 35;
|