StreamOutput
extends Message
in package
Generated from protobuf message <code>livekit.StreamOutput</code>
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- getProtocol() : int
- required
- getUrls() : RepeatedField<string|int, string>
- required
- setProtocol() : $this
- required
- setUrls() : $this
- required
Properties
$protocol
required
protected
mixed
$protocol
= 0
Generated from protobuf field .livekit.StreamProtocol protocol = 1;
$urls
required
private
mixed
$urls
Generated from protobuf field repeated string urls = 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 $protocol required @type string[] $urls required}
getProtocol()
required
public
getProtocol() : int
Generated from protobuf field .livekit.StreamProtocol protocol = 1;
Return values
intgetUrls()
required
public
getUrls() : RepeatedField<string|int, string>
Generated from protobuf field repeated string urls = 2;
Return values
RepeatedField<string|int, string>setProtocol()
required
public
setProtocol(int $var) : $this
Generated from protobuf field .livekit.StreamProtocol protocol = 1;
Parameters
- $var : int
Return values
$thissetUrls()
required
public
setUrls(array<string|int, string> $var) : $this
Generated from protobuf field repeated string urls = 2;
Parameters
- $var : array<string|int, string>