Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrackInfo ¶
type VideoConfig ¶
type VideoConfig struct {
Track TrackInfo `json:"track"`
}
type VideoService ¶
type VideoServiceImpl ¶
type VideoServiceImpl struct {
// contains filtered or unexported fields
}
func NewVideoServiceImpl ¶
func NewVideoServiceImpl( extcmdService extcmd.ExternalCmdService, httpClient *util.HttpClient, logger *util.TinyLogger, ) *VideoServiceImpl
func (*VideoServiceImpl) ParseVideo ¶
ParseVideo returns *TrackInfo. It contains playlist url and content id. Typically playlist url has `.m3u8` extension.
func (*VideoServiceImpl) SavePlaylist ¶
func (svc *VideoServiceImpl) SavePlaylist(track *TrackInfo) error
Click to show internal directories.
Click to hide internal directories.