CreateIngressRequest
extends Message
in package
Generated from protobuf message <code>livekit.CreateIngressRequest</code>
Table of Contents
Properties
- $audio : mixed
- Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
- $bypass_transcoding : mixed
- [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
- $enable_transcoding : mixed
- Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
- $enabled : mixed
- The default value is true and when set to false, the new connection attempts will be rejected
- $input_type : mixed
- Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
- $name : mixed
- User provided identifier for the ingress
- $participant_identity : mixed
- publish as participant
- $participant_metadata : mixed
- metadata associated with the publishing participant
- $participant_name : mixed
- name of publishing participant (used for display only)
- $room_name : mixed
- room to publish to
- $url : mixed
- Where to pull media from, only for URL input type
- $video : mixed
- Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
Methods
- __construct() : mixed
- Constructor.
- clearAudio() : mixed
- clearEnabled() : mixed
- clearEnableTranscoding() : mixed
- clearVideo() : mixed
- getAudio() : IngressAudioOptions|null
- Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
- getBypassTranscoding() : bool
- [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
- getEnabled() : bool
- The default value is true and when set to false, the new connection attempts will be rejected
- getEnableTranscoding() : bool
- Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
- getInputType() : int
- Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
- getName() : string
- User provided identifier for the ingress
- getParticipantIdentity() : string
- publish as participant
- getParticipantMetadata() : string
- metadata associated with the publishing participant
- getParticipantName() : string
- name of publishing participant (used for display only)
- getRoomName() : string
- room to publish to
- getUrl() : string
- Where to pull media from, only for URL input type
- getVideo() : IngressVideoOptions|null
- Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
- hasAudio() : mixed
- hasEnabled() : mixed
- hasEnableTranscoding() : mixed
- hasVideo() : mixed
- setAudio() : $this
- Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
- setBypassTranscoding() : $this
- [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
- setEnabled() : $this
- The default value is true and when set to false, the new connection attempts will be rejected
- setEnableTranscoding() : $this
- Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
- setInputType() : $this
- Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
- setName() : $this
- User provided identifier for the ingress
- setParticipantIdentity() : $this
- publish as participant
- setParticipantMetadata() : $this
- metadata associated with the publishing participant
- setParticipantName() : $this
- name of publishing participant (used for display only)
- setRoomName() : $this
- room to publish to
- setUrl() : $this
- Where to pull media from, only for URL input type
- setVideo() : $this
- Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
Properties
$audio
Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
protected
mixed
$audio
= null
$bypass_transcoding
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
protected
mixed
$bypass_transcoding
= false
Generated from protobuf field bool bypass_transcoding = 8 [deprecated = true];
$enable_transcoding
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
protected
mixed
$enable_transcoding
= null
Generated from protobuf field optional bool enable_transcoding = 11;
$enabled
The default value is true and when set to false, the new connection attempts will be rejected
protected
mixed
$enabled
= null
Generated from protobuf field optional bool enabled = 12;
$input_type
Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
protected
mixed
$input_type
= 0
$name
User provided identifier for the ingress
protected
mixed
$name
= ''
Generated from protobuf field string name = 2;
$participant_identity
publish as participant
protected
mixed
$participant_identity
= ''
Generated from protobuf field string participant_identity = 4;
$participant_metadata
metadata associated with the publishing participant
protected
mixed
$participant_metadata
= ''
Generated from protobuf field string participant_metadata = 10;
$participant_name
name of publishing participant (used for display only)
protected
mixed
$participant_name
= ''
Generated from protobuf field string participant_name = 5;
$room_name
room to publish to
protected
mixed
$room_name
= ''
Generated from protobuf field string room_name = 3;
$url
Where to pull media from, only for URL input type
protected
mixed
$url
= ''
Generated from protobuf field string url = 9;
$video
Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
protected
mixed
$video
= null
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 $input_type @type string $url Where to pull media from, only for URL input type @type string $name User provided identifier for the ingress @type string $room_name room to publish to @type string $participant_identity publish as participant @type string $participant_name name of publishing participant (used for display only) @type string $participant_metadata metadata associated with the publishing participant @type bool $bypass_transcoding [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. @type bool $enable_transcoding Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. @type \Livekit\IngressAudioOptions $audio @type \Livekit\IngressVideoOptions $video @type bool $enabled The default value is true and when set to false, the new connection attempts will be rejected}
clearAudio()
public
clearAudio() : mixed
clearEnabled()
public
clearEnabled() : mixed
clearEnableTranscoding()
public
clearEnableTranscoding() : mixed
clearVideo()
public
clearVideo() : mixed
getAudio()
Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
public
getAudio() : IngressAudioOptions|null
Return values
IngressAudioOptions|nullgetBypassTranscoding()
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
public
getBypassTranscoding() : bool
Generated from protobuf field bool bypass_transcoding = 8 [deprecated = true];
Return values
boolgetEnabled()
The default value is true and when set to false, the new connection attempts will be rejected
public
getEnabled() : bool
Generated from protobuf field optional bool enabled = 12;
Return values
boolgetEnableTranscoding()
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
public
getEnableTranscoding() : bool
Generated from protobuf field optional bool enable_transcoding = 11;
Return values
boolgetInputType()
Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
public
getInputType() : int
Return values
intgetName()
User provided identifier for the ingress
public
getName() : string
Generated from protobuf field string name = 2;
Return values
stringgetParticipantIdentity()
publish as participant
public
getParticipantIdentity() : string
Generated from protobuf field string participant_identity = 4;
Return values
stringgetParticipantMetadata()
metadata associated with the publishing participant
public
getParticipantMetadata() : string
Generated from protobuf field string participant_metadata = 10;
Return values
stringgetParticipantName()
name of publishing participant (used for display only)
public
getParticipantName() : string
Generated from protobuf field string participant_name = 5;
Return values
stringgetRoomName()
room to publish to
public
getRoomName() : string
Generated from protobuf field string room_name = 3;
Return values
stringgetUrl()
Where to pull media from, only for URL input type
public
getUrl() : string
Generated from protobuf field string url = 9;
Return values
stringgetVideo()
Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
public
getVideo() : IngressVideoOptions|null
Return values
IngressVideoOptions|nullhasAudio()
public
hasAudio() : mixed
hasEnabled()
public
hasEnabled() : mixed
hasEnableTranscoding()
public
hasEnableTranscoding() : mixed
hasVideo()
public
hasVideo() : mixed
setAudio()
Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code>
public
setAudio(IngressAudioOptions $var) : $this
Parameters
- $var : IngressAudioOptions
Return values
$thissetBypassTranscoding()
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.
public
setBypassTranscoding(bool $var) : $this
Generated from protobuf field bool bypass_transcoding = 8 [deprecated = true];
Parameters
- $var : bool
Return values
$thissetEnabled()
The default value is true and when set to false, the new connection attempts will be rejected
public
setEnabled(bool $var) : $this
Generated from protobuf field optional bool enabled = 12;
Parameters
- $var : bool
Return values
$thissetEnableTranscoding()
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
public
setEnableTranscoding(bool $var) : $this
Generated from protobuf field optional bool enable_transcoding = 11;
Parameters
- $var : bool
Return values
$thissetInputType()
Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code>
public
setInputType(int $var) : $this
Parameters
- $var : int
Return values
$thissetName()
User provided identifier for the ingress
public
setName(string $var) : $this
Generated from protobuf field string name = 2;
Parameters
- $var : string
Return values
$thissetParticipantIdentity()
publish as participant
public
setParticipantIdentity(string $var) : $this
Generated from protobuf field string participant_identity = 4;
Parameters
- $var : string
Return values
$thissetParticipantMetadata()
metadata associated with the publishing participant
public
setParticipantMetadata(string $var) : $this
Generated from protobuf field string participant_metadata = 10;
Parameters
- $var : string
Return values
$thissetParticipantName()
name of publishing participant (used for display only)
public
setParticipantName(string $var) : $this
Generated from protobuf field string participant_name = 5;
Parameters
- $var : string
Return values
$thissetRoomName()
room to publish to
public
setRoomName(string $var) : $this
Generated from protobuf field string room_name = 3;
Parameters
- $var : string
Return values
$thissetUrl()
Where to pull media from, only for URL input type
public
setUrl(string $var) : $this
Generated from protobuf field string url = 9;
Parameters
- $var : string
Return values
$thissetVideo()
Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code>
public
setVideo(IngressVideoOptions $var) : $this
Parameters
- $var : IngressVideoOptions