UNPKG

@livepeer/core

Version:

Livepeer UI Kit's core vanilla JS library.

14 lines (12 loc) 1.12 kB
declare const STREAM_OPEN_ERROR_MESSAGE = "stream open failed"; declare const STREAM_OFFLINE_ERROR_MESSAGE = "stream is offline"; declare const ACCESS_CONTROL_ERROR_MESSAGE = "shutting down since this session is not allowed to view this stream"; declare const BFRAMES_ERROR_MESSAGE = "metadata indicates that webrtc playback contains bframes"; declare const NOT_ACCEPTABLE_ERROR_MESSAGE = "response indicates unacceptable playback protocol"; declare const PERMISSIONS_ERROR_MESSAGE = "user did not allow the permissions request"; declare const isStreamOfflineError: (error: Error) => boolean; declare const isAccessControlError: (error: Error) => boolean; declare const isBframesError: (error: Error) => boolean; declare const isNotAcceptableError: (error: Error) => boolean; declare const isPermissionsError: (error: Error) => boolean; export { ACCESS_CONTROL_ERROR_MESSAGE, BFRAMES_ERROR_MESSAGE, NOT_ACCEPTABLE_ERROR_MESSAGE, PERMISSIONS_ERROR_MESSAGE, STREAM_OFFLINE_ERROR_MESSAGE, STREAM_OPEN_ERROR_MESSAGE, isAccessControlError, isBframesError, isNotAcceptableError, isPermissionsError, isStreamOfflineError };