yt-cast-receiver
- AbortError
- AppError
- BadResponseError
- ConnectionError
- DataError
- DataStore
- DefaultDataStore
- DefaultLogger
- DefaultPlaylistRequestHandler
- DialServerError
- IncompleteAPIDataError
- PairingCodeRequestService
- Player
- Playlist
- PlaylistRequestHandler
- Sender
- SenderConnectionError
- SessionError
- YouTubeCastReceiver
- YouTubeCastReceiverError
- AppOptions
- Client
- DialOptions
- Logger
- PlayerNavInfo
- PlayerState
- PlaylistEvent
- PlaylistPreviousNextVideos
- PlaylistState
- Video
- Volume
- YouTubeCastReceiverOptions
- AUTOPLAY_MODES
- CLIENTS
- CONF_DEFAULTS
- LOG_LEVELS
- MUTE_POLICIES
- PLAYER_STATUSES
- PLAYLIST_EVENT_TYPES
- RESET_PLAYER_ON_DISCONNECT_POLICIES
- STATUSES
Ƭ AutoplayMode: ValueOf
<typeof AUTOPLAY_MODES
>
One of the values in AUTOPLAY_MODES.
Ƭ ClientKey: "YT"
| "YTMUSIC"
Ƭ LogLevel: ValueOf
<typeof LOG_LEVELS
>
One of the values in LOG_LEVELS.
Ƭ PlayerStatus: ValueOf
<typeof PLAYER_STATUSES
>
One of the values in PLAYER_STATUSES.
Ƭ PlaylistEventType: ValueOf
<typeof PLAYLIST_EVENT_TYPES
>
Ƭ YouTubeCastReceiverStatus: ValueOf
<typeof STATUSES
>
One of the values in STATUSES.
src/lib/YouTubeCastReceiver.ts:55
• Const
AUTOPLAY_MODES: Object
Name | Type |
---|---|
DISABLED |
"DISABLED" |
ENABLED |
"ENABLED" |
UNSUPPORTED |
"UNSUPPORTED" |
• Const
CLIENTS: Record
<ClientKey
, Client
>
• Const
CONF_DEFAULTS: Object
Name | Type |
---|---|
BRAND |
"Generic" |
MODEL |
"SmartTV" |
SCREEN_APP |
"ytcr" |
• Const
LOG_LEVELS: Object
Name | Type |
---|---|
DEBUG |
"debug" |
ERROR |
"error" |
INFO |
"info" |
NONE |
"none" |
WARN |
"warn" |
• Const
MUTE_POLICIES: Object
Name | Type |
---|---|
AUTO |
"auto" |
PRESERVE_VOLUME_LEVEL |
"preserveLevel" |
ZERO_VOLUME_LEVEL |
"zeroLevel" |
• Const
PLAYER_STATUSES: Object
Name | Type |
---|---|
IDLE |
-1 |
LOADING |
3 |
PAUSED |
2 |
PLAYING |
1 |
STOPPED |
4 |
• Const
PLAYLIST_EVENT_TYPES: Object
Name | Type |
---|---|
PLAYLIST_ADDED |
"playlistAdded" |
PLAYLIST_CLEARED |
"playlistCleared" |
PLAYLIST_SET |
"playlistSet" |
PLAYLIST_UPDATED |
"playlistUpdated" |
VIDEO_ADDED |
"videoAdded" |
VIDEO_REMOVED |
"videoRemoved" |
VIDEO_SELECTED |
"videoSelected" |
• Const
RESET_PLAYER_ON_DISCONNECT_POLICIES: Object
Name | Type |
---|---|
ALL_DISCONNECTED |
"allDisconnected" |
ALL_EXPLICITLY_DISCONNECTED |
"allExplicitlyDisconnected" |
• Const
STATUSES: Object
Name | Type |
---|---|
RUNNING |
"running" |
STARTING |
"starting" |
STOPPED |
"stopped" |
STOPPING |
"stopping" |