simulatorvideosource

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

func NewService

func NewService() Service

func (Service) DownloadVideo

func (Service) DownloadVideo(ctx context.Context, videoRef models.VideoRef, options models.DownloadOptions, logline func(line models.LogMessage)) (outputFilename string, err error)

BuildDownloadTask returns a new task that will download the video.

func (Service) GetVideoMetadata

func (Service) GetVideoMetadata(ctx context.Context, videoRef models.VideoRef) (*models.Video, error)

GetVideoMetadata returns the metadata details for a sourceID.

func (Service) GetVideoURL

func (s Service) GetVideoURL(videoRef models.VideoRef) string

Jump to

Keyboard shortcuts

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