BitmovinApiSdk\Models\StreamInfo
Synopsis
class StreamInfo
extends BitmovinResource
{
- // members
- public string $audio;
- public AudioGroupConfiguration $audioGroups;
- public string $video;
- public string $subtitles;
- public string $closedCaptions;
- public string $encodingId;
- public string $streamId;
- public string $muxingId;
- public string $drmId;
- public string $segmentPath;
- public string $uri;
- public int $startSegmentNumber;
- public int $endSegmentNumber;
- public bool $forceFrameRateAttribute;
- public bool $forceVideoRangeAttribute;
- // 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 audio()
- public $this audioGroups()
- public $this video()
- public $this subtitles()
- public $this closedCaptions()
- public $this encodingId()
- public $this streamId()
- public $this muxingId()
- public $this drmId()
- public $this segmentPath()
- public $this uri()
- public $this startSegmentNumber()
- public $this endSegmentNumber()
- public $this forceFrameRateAttribute()
- public $this forceVideoRangeAttribute()
- // 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
Members
public
- $audio — string
- $audioGroups — BitmovinApiSdk\Models\AudioGroupConfiguration
- $closedCaptions — string
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $drmId — string
- $encodingId — string
- $endSegmentNumber — int
- $forceFrameRateAttribute — BitmovinApiSdk\Models\bool
- $forceVideoRangeAttribute — BitmovinApiSdk\Models\bool
- $id — string
- $modifiedAt — Carbon\Carbon
- $muxingId — string
- $name — string
- $segmentPath — string
- $startSegmentNumber — int
- $streamId — string
- $subtitles — string
- $uri — string
- $video — string
Methods
public
- __construct()
- audio() — It MUST match the value of the GROUP-ID attribute of an Audio EXT-X-MEDIA tag elsewhere in the Master Playlist. Either this or `audioGroups` must be set.
- audioGroups() — HLS Audio Group Configuration. You will want to use this configuration property in case you specify conditions on audio streams. The first matching audio group will be used for the specific variant stream. Either this or `audio` must be set.
- closedCaptions() — If the value is not 'NONE', it MUST match the value of the GROUP-ID attribute of a Closed Captions EXT-X-MEDIA tag elsewhere in the Playlist (required)
- drmId() — Id of the DRM.
- encodingId() — Id of the encoding. (required)
- endSegmentNumber() — Number of the last segment. Default is the last one that was encoded.
- forceFrameRateAttribute() — Force the addition of the frame rate attribute to all stream infos.
- forceVideoRangeAttribute() — Force the addition of the video-range attribute to all stream infos.
- muxingId() — Id of the muxing. (required)
- segmentPath() — Path to segments. (required)
- startSegmentNumber() — Number of the first segment. Default is 0.
- streamId() — Id of the stream. (required)
- subtitles() — It MUST match the value of the GROUP-ID attribute of a Subtitles EXT-X-MEDIA tag elsewhere in the Master Playlist
- uri() — The URI of the playlist file. (required)
- video() — It MUST match the value of the GROUP-ID attribute of a Video EXT-X-MEDIA tag elsewhere in the Master Playlist
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.