Skip to content

Commit

Permalink
fix inputType parameter for ingress.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-delorme committed Nov 11, 2022
1 parent 869c380 commit 172bb43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/IngressServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ public function __construct(string $host, string $apiKey = NULL, string $apiSecr
/**
* Create an ingress instance.
*
* @param \Livekit\IngressInput $inputType
* The ingress input type. Currently :RTMP_INPUT is the only supported type.
* @param int $inputType
* The ingress input type. Currently, \Livekit\IngressInput::RTMP_INPUT is
* the only supported type.
* @param string $name
* Optional, name to identify the ingress.
* @param string $roomName
Expand All @@ -52,7 +53,7 @@ public function __construct(string $host, string $apiKey = NULL, string $apiSecr
* @return \Livekit\IngressInfo
*/
public function createIngress(
IngressInput $inputType,
int $inputType,
string $name = '',
string $roomName = '',
string $participantIdentity = '',
Expand Down

0 comments on commit 172bb43

Please sign in to comment.