DataTrackInfo
extends Message
in package
Generated from protobuf message <code>livekit.DataTrackInfo</code>
Table of Contents
Properties
- $encryption : mixed
- Method used for end-to-end encryption (E2EE) on packet payloads.
- $name : mixed
- Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
- $pub_handle : mixed
- Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
- $sid : mixed
- Server-assigned track identifier.
Methods
- __construct() : mixed
- Constructor.
- getEncryption() : int
- Method used for end-to-end encryption (E2EE) on packet payloads.
- getName() : string
- Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
- getPubHandle() : int
- Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
- getSid() : string
- Server-assigned track identifier.
- setEncryption() : $this
- Method used for end-to-end encryption (E2EE) on packet payloads.
- setName() : $this
- Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
- setPubHandle() : $this
- Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
- setSid() : $this
- Server-assigned track identifier.
Properties
$encryption
Method used for end-to-end encryption (E2EE) on packet payloads.
protected
mixed
$encryption
= 0
Generated from protobuf field .livekit.Encryption.Type encryption = 4;
$name
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
protected
mixed
$name
= ''
Generated from protobuf field string name = 3;
$pub_handle
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
protected
mixed
$pub_handle
= 0
Generated from protobuf field uint32 pub_handle = 1;
$sid
Server-assigned track identifier.
protected
mixed
$sid
= ''
Generated from protobuf field string sid = 2;
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 $pub_handle Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. @type string $sid Server-assigned track identifier. @type string $name Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. @type int $encryption Method used for end-to-end encryption (E2EE) on packet payloads.}
getEncryption()
Method used for end-to-end encryption (E2EE) on packet payloads.
public
getEncryption() : int
Generated from protobuf field .livekit.Encryption.Type encryption = 4;
Return values
intgetName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
public
getName() : string
Generated from protobuf field string name = 3;
Return values
stringgetPubHandle()
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
public
getPubHandle() : int
Generated from protobuf field uint32 pub_handle = 1;
Return values
intgetSid()
Server-assigned track identifier.
public
getSid() : string
Generated from protobuf field string sid = 2;
Return values
stringsetEncryption()
Method used for end-to-end encryption (E2EE) on packet payloads.
public
setEncryption(int $var) : $this
Generated from protobuf field .livekit.Encryption.Type encryption = 4;
Parameters
- $var : int
Return values
$thissetName()
Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
public
setName(string $var) : $this
Generated from protobuf field string name = 3;
Parameters
- $var : string
Return values
$thissetPubHandle()
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
public
setPubHandle(int $var) : $this
Generated from protobuf field uint32 pub_handle = 1;
Parameters
- $var : int
Return values
$thissetSid()
Server-assigned track identifier.
public
setSid(string $var) : $this
Generated from protobuf field string sid = 2;
Parameters
- $var : string