fix skill issues w/ restream

This commit is contained in:
Laptop
2025-06-21 12:34:45 +03:00
parent 5e96cee22e
commit cf369e3f28
4 changed files with 43 additions and 47 deletions

View File

@@ -50,16 +50,20 @@ type Track struct {
type TrackPolicy string
const (
PolicyBlock TrackPolicy = "BLOCK" // not available (in your country)
PolicySnip TrackPolicy = "SNIP" // 30-second snippet available
PolicyAllow TrackPolicy = "ALLOW" // all good
PolicyMonetize TrackPolicy = "MONETIZE" // seems like only certain countries get this policy? sometimes protected by widevine and fairplay
PolicyBlock TrackPolicy = "BLOCK" // not available (in your country)
PolicySnip TrackPolicy = "SNIP" // 30-second snippet available
PolicyAllow TrackPolicy = "ALLOW" // all good
)
type Protocol string
const (
ProtocolHLS Protocol = "hls"
ProtocolProgressive Protocol = "progressive"
ProtocolHLS Protocol = "hls"
ProtocolProgressive Protocol = "progressive"
ProtocolEncryptedHLS Protocol = "encrypted-hls" // idk, haven't seen in the wild
ProtocolCTREncryptedHLS Protocol = "ctr-encrypted-hls" // google's widevine
ProtocolCBCEncryptedHLS Protocol = "cbc-encrypted-hls" // apple's fairplay
)
type Format struct {