CompressionType
in package
The compression type of the whole data stream This will only get populated when send to participants with a client protocol >= 2 which advertise a client capability of CAP_COMPRESSION_DEFLATE_RAW
Protobuf type livekit.DataStream.CompressionType
Table of Contents
Constants
- DEFLATE_RAW : mixed = 1
- DEFLATE_RAW = DEFLATE without header+checksum/trailer
- NONE : mixed = 0
- Generated from protobuf enum <code>NONE = 0;</code>
Properties
- $valueToName : mixed
Methods
Constants
DEFLATE_RAW
DEFLATE_RAW = DEFLATE without header+checksum/trailer
public
mixed
DEFLATE_RAW
= 1
Generated from protobuf enum DEFLATE_RAW = 1;
NONE
Generated from protobuf enum <code>NONE = 0;</code>
public
mixed
NONE
= 0
Properties
$valueToName
private
static mixed
$valueToName
= [self::NONE => 'NONE', self::DEFLATE_RAW => 'DEFLATE_RAW']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed