Documentation

EncryptedPacket extends Message
in package

Generated from protobuf message <code>livekit.EncryptedPacket</code>

Table of Contents

Properties

$encrypted_value  : mixed
This is an encrypted EncryptedPacketPayload message representation
$encryption_type  : mixed
Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>
$iv  : mixed
Generated from protobuf field <code>bytes iv = 2;</code>
$key_index  : mixed
Generated from protobuf field <code>uint32 key_index = 3;</code>

Methods

__construct()  : mixed
Constructor.
getEncryptedValue()  : string
This is an encrypted EncryptedPacketPayload message representation
getEncryptionType()  : int
Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>
getIv()  : string
Generated from protobuf field <code>bytes iv = 2;</code>
getKeyIndex()  : int
Generated from protobuf field <code>uint32 key_index = 3;</code>
setEncryptedValue()  : $this
This is an encrypted EncryptedPacketPayload message representation
setEncryptionType()  : $this
Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>
setIv()  : $this
Generated from protobuf field <code>bytes iv = 2;</code>
setKeyIndex()  : $this
Generated from protobuf field <code>uint32 key_index = 3;</code>

Properties

$encrypted_value

This is an encrypted EncryptedPacketPayload message representation

protected mixed $encrypted_value = ''

Generated from protobuf field bytes encrypted_value = 4;

$encryption_type

Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>

protected mixed $encryption_type = 0

$iv

Generated from protobuf field <code>bytes iv = 2;</code>

protected mixed $iv = ''

$key_index

Generated from protobuf field <code>uint32 key_index = 3;</code>

protected mixed $key_index = 0

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type int $encryption_type
@type string $iv
@type int $key_index
@type string $encrypted_value
      This is an encrypted EncryptedPacketPayload message representation

}

getEncryptedValue()

This is an encrypted EncryptedPacketPayload message representation

public getEncryptedValue() : string

Generated from protobuf field bytes encrypted_value = 4;

Return values
string

getEncryptionType()

Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>

public getEncryptionType() : int
Return values
int

getIv()

Generated from protobuf field <code>bytes iv = 2;</code>

public getIv() : string
Return values
string

getKeyIndex()

Generated from protobuf field <code>uint32 key_index = 3;</code>

public getKeyIndex() : int
Return values
int

setEncryptedValue()

This is an encrypted EncryptedPacketPayload message representation

public setEncryptedValue(string $var) : $this

Generated from protobuf field bytes encrypted_value = 4;

Parameters
$var : string
Return values
$this

setEncryptionType()

Generated from protobuf field <code>.livekit.Encryption.Type encryption_type = 1;</code>

public setEncryptionType(int $var) : $this
Parameters
$var : int
Return values
$this

setIv()

Generated from protobuf field <code>bytes iv = 2;</code>

public setIv(string $var) : $this
Parameters
$var : string
Return values
$this

setKeyIndex()

Generated from protobuf field <code>uint32 key_index = 3;</code>

public setKeyIndex(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results