BitmovinApiSdk\Models\CmafMuxing
Synopsis
class CmafMuxing
extends Muxing
{
- // members
- public float $segmentLength;
- public string $segmentNaming;
- public string $segmentNamingTemplate;
- public string $initSegmentName;
- public string $initSegmentNameTemplate;
- public int $segmentsMuxed;
- public int $framesPerCmafChunk;
- // Inherited members from Muxing
- public array $streams;
- public array $outputs;
- public int $avgBitrate;
- public int $minBitrate;
- public int $maxBitrate;
- public array $ignoredBy;
- public StreamConditionsMode $streamConditionsMode;
- public static string $discriminatorName;
- public static array $discriminatorMapping;
- // Inherited members from BitmovinResource
- public string $name;
- public string $description;
- public Carbon $createdAt;
- public Carbon $modifiedAt;
- public mixed $customData;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this segmentLength()
- public $this segmentNaming()
- public $this segmentNamingTemplate()
- public $this initSegmentName()
- public $this initSegmentNameTemplate()
- public $this framesPerCmafChunk()
- // Inherited methods from Muxing
- public void __construct()
- public $this streams()
- public $this outputs()
- public $this streamConditionsMode()
- // Inherited methods from BitmovinResource
- public void __construct()
- public $this name()
- public $this description()
- public $this customData()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Extends
Members
public
- $avgBitrate — int
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $framesPerCmafChunk — int
- $id — string
- $ignoredBy — \BitmovinApiSdk\Models\Ignoring[]
- $initSegmentName — string
- $initSegmentNameTemplate — string
- $maxBitrate — int
- $minBitrate — int
- $modifiedAt — Carbon\Carbon
- $name — string
- $outputs — \BitmovinApiSdk\Models\EncodingOutput[]
- $segmentLength — float
- $segmentNaming — string
- $segmentNamingTemplate — string
- $segmentsMuxed — int
- $streamConditionsMode — BitmovinApiSdk\Models\StreamConditionsMode
- $streams — \BitmovinApiSdk\Models\MuxingStream[]
Methods
public
- __construct()
- framesPerCmafChunk() — Number of media frames per CMAF chunk. Defaults to: Length of a segment in frames. Minimum: 1. Maximum: Length of a segment in frames.
- initSegmentName() — Init segment name
- initSegmentNameTemplate() — Segment naming policy containing a placeholder of the format '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the initSegmentName property. Intended to avoid re-use of segment names after restarting a live encoding. If initSegmentNameTemplate is set, initSegmentName must not be set.
- segmentLength() — Length of the fragments in seconds (required)
- segmentNaming() — Segment naming policy
- segmentNamingTemplate() — Segment naming policy containing a placeholder of the format '{rand_chars:x}', which will be replaced by a random alphanumeric string of length x (default 32) on each (re)start of the encoding. The resulting string will be copied to the segmentNaming property. Intended to avoid re-use of segment names after restarting a live encoding. If segmentNamingTemplate is set, segmentNaming must not be set.
Inherited from BitmovinApiSdk\Models\Muxing
public
- outputs() — outputs
- streamConditionsMode() — Specifies how to handle streams that don't fulfill stream conditions
- streams() — streams
Inherited from BitmovinApiSdk\Models\BitmovinResource
public
- customData() — User-specific meta data. This can hold anything.
- description() — Description of the resource. Can be freely chosen by the user.
- name() — Name of the resource. Can be freely chosen by the user.