urlreceiver

package
v0.0.0-...-531a2f0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "5CB45E5A"

ID from https://github.com/DeMille/url-cast-receiver

View Source
const Namespace = "urn:x-cast:com.url.cast"

Variables

This section is empty.

Functions

func ExtractID

func ExtractID(rawurl string) (string, error)

func URLLoader

func URLLoader(rawurl string, options ...media.Option) (func(client chromecast.Client, statuses ...chromecast.Status) (<-chan []byte, error), error)

func UseIframe

func UseIframe(c command.Map)

Types

type App

type App struct {
	*command.App
}

func LaunchAndConnect

func LaunchAndConnect(client chromecast.Client, statuses ...chromecast.Status) (App, error)

func (App) Load

func (a App) Load(url string, options ...media.Option) (<-chan []byte, error)

type Option

type Option func(command.Map)

Option to customize the loading

Jump to

Keyboard shortcuts

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