pssh

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: OSL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(data []byte) ([]byte, error)

func (*Box) Read

func (b *Box) Read(data []byte) error

func (*Box) Widevine

func (b *Box) Widevine() bool

dashif.org/identifiers/content_protection

Jump to

Keyboard shortcuts

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