Documentation

Action
in package

indicates action clients should take on receiving this message

Protobuf type livekit.LeaveRequest.Action

Table of Contents

Constants

DISCONNECT  = 0
should disconnect
RECONNECT  = 2
should attempt a reconnect, i. e. no `reconnect=1`
RESUME  = 1
should attempt a resume with `reconnect=1` in join URL

Properties

$valueToName  : mixed

Methods

name()  : mixed
value()  : mixed

Constants

DISCONNECT

should disconnect

public mixed DISCONNECT = 0

Generated from protobuf enum DISCONNECT = 0;

RECONNECT

should attempt a reconnect, i. e. no `reconnect=1`

public mixed RECONNECT = 2

Generated from protobuf enum RECONNECT = 2;

RESUME

should attempt a resume with `reconnect=1` in join URL

public mixed RESUME = 1

Generated from protobuf enum RESUME = 1;

Properties

$valueToName

private static mixed $valueToName = [self::DISCONNECT => 'DISCONNECT', self::RESUME => 'RESUME', self::RECONNECT => 'RECONNECT']

Methods

name()

public static name(mixed $value) : mixed
Parameters
$value : mixed

value()

public static value(mixed $name) : mixed
Parameters
$name : mixed

        
On this page

Search results