Documentation

DataTrackSubscriptionOptions extends Message
in package

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

Table of Contents

Properties

$target_fps  : mixed
Rate in frames per second (FPS) the subscriber wants to receive frames at.

Methods

__construct()  : mixed
Constructor.
clearTargetFps()  : mixed
getTargetFps()  : int
Rate in frames per second (FPS) the subscriber wants to receive frames at.
hasTargetFps()  : mixed
setTargetFps()  : $this
Rate in frames per second (FPS) the subscriber wants to receive frames at.

Properties

$target_fps

Rate in frames per second (FPS) the subscriber wants to receive frames at.

protected mixed $target_fps = null

If omitted, the subscriber defaults to the publisher's fps

Generated from protobuf field optional uint32 target_fps = 1;

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 $target_fps
      Rate in frames per second (FPS) the subscriber wants to receive frames at.
      If omitted, the subscriber defaults to the publisher's fps

}

getTargetFps()

Rate in frames per second (FPS) the subscriber wants to receive frames at.

public getTargetFps() : int

If omitted, the subscriber defaults to the publisher's fps

Generated from protobuf field optional uint32 target_fps = 1;

Return values
int

setTargetFps()

Rate in frames per second (FPS) the subscriber wants to receive frames at.

public setTargetFps(int $var) : $this

If omitted, the subscriber defaults to the publisher's fps

Generated from protobuf field optional uint32 target_fps = 1;

Parameters
$var : int
Return values
$this

        
On this page

Search results