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