React Native Google Cast

React Native Google Cast

  • Docs
  • GitHub

›Types

Getting Started

  • Installation
  • Setup
  • Usage
  • Troubleshooting

Guides

  • Custom Channels
  • Customize UI
  • Events
  • Hooks
  • Media Tracks
  • Queueing
  • Volume

Components

  • CastButton
  • ExpandedController

API

  • CastChannel
  • CastContext
  • CastSession
  • DiscoveryManager
  • RemoteMediaClient
  • SessionManager

Types

  • ApplicationMetadata
  • Device
  • MediaInfo
  • MediaLiveSeekableRange
  • MediaLoadRequest
  • MediaMetadata
    • Generic
    • Movie
    • MusicTrack
    • Photo
    • TvShow
    • User
  • MediaQueueContainerMetadata
  • MediaQueueData
  • MediaQueueItem
  • MediaSeekOptions
  • MediaStatus
  • MediaTrack
  • TextTrackStyle
  • UseCastSessionOptions
  • VideoInfo
  • WebImage

Enums

  • ActiveInputState
  • CastState
  • MediaHlsSegmentFormat
  • MediaHlsVideoSegmentFormat
  • MediaPlayerIdleReason
  • MediaPlayerState
  • MediaQueueContainerType
  • MediaQueueType
  • MediaRepeatMode
  • MediaStreamType
  • PlayServicesState
  • StandbyState

VideoInfo

A class that holds video properties of the current media session. The current VideoInfo can be obtained from MediaStatus.

see Android | iOS | Chrome

Hierarchy

  • VideoInfo

Index

Properties

  • hdrType
  • height
  • width

Properties

Optional hdrType

• hdrType? : "DV" | "HDR" | "SDR"

HDR type used in the video, if any.


Optional height

• height? : undefined | number

The video height, in pixels.


Optional width

• width? : undefined | number

The video width, in pixels.

← UseCastSessionOptionsWebImage →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • Optional hdrType
    • Optional height
    • Optional width