Documentation

DisabledCodecs extends Message
in package

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

Table of Contents

Properties

$codecs  : mixed
disabled for both publish and subscribe
$publish  : mixed
only disable for publish

Methods

__construct()  : mixed
Constructor.
getCodecs()  : RepeatedField<string|int, Codec>
disabled for both publish and subscribe
getPublish()  : RepeatedField<string|int, Codec>
only disable for publish
setCodecs()  : $this
disabled for both publish and subscribe
setPublish()  : $this
only disable for publish

Properties

$codecs

disabled for both publish and subscribe

private mixed $codecs

Generated from protobuf field repeated .livekit.Codec codecs = 1;

$publish

only disable for publish

private mixed $publish

Generated from protobuf field repeated .livekit.Codec publish = 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 \Livekit\Codec[] $codecs
      disabled for both publish and subscribe
@type \Livekit\Codec[] $publish
      only disable for publish

}

getCodecs()

disabled for both publish and subscribe

public getCodecs() : RepeatedField<string|int, Codec>

Generated from protobuf field repeated .livekit.Codec codecs = 1;

Return values
RepeatedField<string|int, Codec>

getPublish()

only disable for publish

public getPublish() : RepeatedField<string|int, Codec>

Generated from protobuf field repeated .livekit.Codec publish = 2;

Return values
RepeatedField<string|int, Codec>

setCodecs()

disabled for both publish and subscribe

public setCodecs(array<string|int, Codec$var) : $this

Generated from protobuf field repeated .livekit.Codec codecs = 1;

Parameters
$var : array<string|int, Codec>
Return values
$this

setPublish()

only disable for publish

public setPublish(array<string|int, Codec$var) : $this

Generated from protobuf field repeated .livekit.Codec publish = 2;

Parameters
$var : array<string|int, Codec>
Return values
$this

        
On this page

Search results