package pssh
import "41.neocities.org/sofia/pssh"
Index
Types
type Box
type Box struct { BoxHeader sofia.BoxHeader FullBoxHeader sofia.FullBoxHeader SystemId sofia.Uuid KidCount uint32 Kid []sofia.Uuid DataSize uint32 Data []uint8 }
ISO/IEC 23001-7
aligned(8) class ProtectionSystemSpecificHeaderBox extends FullBox( 'pssh', version, flags=0, ) { unsigned int(8)[16] SystemID; if (version > 0) { unsigned int(32) KID_count; { unsigned int(8)[16] KID; } [KID_count]; } unsigned int(32) DataSize; unsigned int(8)[DataSize] Data; }
func (*Box) Append
func (b *Box) Append(buf []byte) ([]byte, error)
func (*Box) Read
func (b *Box) Read(buf []byte) error
func (*Box) Widevine
func (b *Box) Widevine() bool
dashif.org/identifiers/content_protection