Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add more properties to LiveStream container
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Mar 29, 2020
1 parent b834407 commit dbfe55e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions lib/Wsc/Container/LiveStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,20 @@ class LiveStream
*/
private $playerWidth;

/**
* @var string
* @SerializedName("player_embed_code")
* @Type("string")
*/
private $playerEmbedCode;

/**
* @var string
* @SerializedName("player_hls_playback_url")
* @Type("string")
*/
private $playerHlsPlaybackUrl;

/**
* @var bool
* @SerializedName("recording")
Expand Down Expand Up @@ -743,6 +757,30 @@ public function setPlayerWidth(int $playerWidth): self
return $this;
}

public function getPlayerEmbedCode(): ?string
{
return $this->playerEmbedCode;
}

public function setPlayerEmbedCode(string $playerEmbedCode): self
{
$this->playerEmbedCode = $playerEmbedCode;

return $this;
}

public function getPlayerHlsPlaybackUrl(): ?string
{
return $this->playerHlsPlaybackUrl;
}

public function setPlayerHlsPlaybackUrl(string $playerHlsPlaybackUrl): self
{
$this->playerHlsPlaybackUrl = $playerHlsPlaybackUrl;

return $this;
}

public function isRecording(): ?bool
{
return $this->recording;
Expand Down

0 comments on commit dbfe55e

Please sign in to comment.