2021-07-27 22:35:22 +02:00
|
|
|
export const LIVESTREAM_REPLAY_API = 'https://api.live.odysee.com/v1/replays/odysee';
|
|
|
|
export const LIVESTREAM_RTMP_URL = 'rtmp://stream.odysee.com/live';
|
2022-04-20 21:48:45 +02:00
|
|
|
export const LIVESTREAM_KILL = 'https://api.odysee.live/streams/kill?app=live&';
|
2021-11-17 08:45:58 +01:00
|
|
|
|
2022-03-15 17:18:08 +01:00
|
|
|
// new livestream endpoints (old can be removed at some future point)
|
2022-04-13 17:30:19 +02:00
|
|
|
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';
|
2022-03-15 17:18:08 +01:00
|
|
|
|
2021-11-17 14:04:17 +01:00
|
|
|
export const MAX_LIVESTREAM_COMMENTS = 50;
|
2021-12-16 22:59:13 +01:00
|
|
|
|
2022-03-16 03:45:16 +01:00
|
|
|
export const LIVESTREAM_STATUS_CHECK_INTERVAL = 45 * 1000;
|
|
|
|
export const LIVESTREAM_STATUS_CHECK_INTERVAL_SOON = 15 * 1000;
|
2022-02-24 00:26:23 +01:00
|
|
|
export const LIVESTREAM_STARTS_SOON_BUFFER = 15;
|
2021-12-16 22:59:13 +01:00
|
|
|
export const LIVESTREAM_STARTED_RECENTLY_BUFFER = 15;
|
2022-01-11 17:33:33 +01:00
|
|
|
export const LIVESTREAM_UPCOMING_BUFFER = 35;
|
2022-05-11 10:04:12 +02:00
|
|
|
|
|
|
|
export const FETCH_ACTIVE_LIVESTREAMS_MIN_INTERVAL_MS = 5 * 60 * 1000;
|