Package-level declarations
Types
Link copied to clipboard
Segment container of HLS streams sent to the cast receiver. The receiver cannot detect this and assumes TS unless told otherwise; OGPlayer defaults to FMP4 — the CMAF packaging the SDK recommends everywhere. Pass TS to OGCastConnector when your HLS uses MPEG-TS segments.
Link copied to clipboard
class OGCastConnector @JvmOverloads constructor(context: Context, hlsSegmentFormat: CastHlsSegmentFormat = CastHlsSegmentFormat.FMP4, customDataProvider: () -> Map<String, Any?>? = null) : CastConnector
Chromecast sender connector backed by Media3's CastPlayer. Requires Google Play Services and a Cast OptionsProvider in the host app manifest — OGCastOptionsProvider can be used directly and defaults to Google's default media receiver; a custom Web Receiver ID is configured via manifest meta-data (see OGCastOptionsProvider).
Link copied to clipboard
Cast configuration referenced by name from the host app manifest: