Bånder

InteractsWithMediaStreams

Table of Contents

Methods

getAudioStream()  : Stream|null
Gets the first audio streams of the media.
getDurationInMiliseconds()  : int
Gets the duration of the media from the first stream or from the format.
getDurationInSeconds()  : int
getStreams()  : array<string|int, mixed>
Returns an array with all streams.
getVideoStream()  : Stream|null
Gets the first video streams of the media.

Methods

getAudioStream()

Gets the first audio streams of the media.

public getAudioStream() : Stream|null
Return values
Stream|null

getDurationInMiliseconds()

Gets the duration of the media from the first stream or from the format.

public getDurationInMiliseconds() : int
Return values
int

getStreams()

Returns an array with all streams.

public getStreams() : array<string|int, mixed>
Return values
array<string|int, mixed>

getVideoStream()

Gets the first video streams of the media.

public getVideoStream() : Stream|null
Return values
Stream|null

        
On this page

Search results