chromecast

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	// contains filtered or unexported fields
}

Device implements device.Device for Google Chromecast devices.

func NewDevice

func NewDevice(info device.Info) *Device

NewDevice creates a Device from discovery info.

func (*Device) Close

func (c *Device) Close() error

func (*Device) Connect

func (c *Device) Connect() error

func (*Device) Play

func (c *Device) Play(ctx context.Context, streamURL *url.URL, contentType string) error

func (*Device) SupportedContentTypes

func (c *Device) SupportedContentTypes() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL