Method | Defined By | ||
---|---|---|---|
getDuration():int
Returns the duration of the stream in seconds. | StreamAdapter | ||
getHeight():int
Returns the height of the video. | StreamAdapter | ||
Returns the meta information about the adapted player. | StreamAdapter | ||
getPosition():int
Returns the current position on the stream in seconds. | StreamAdapter | ||
getWidth():int
Returns the width of the video. | StreamAdapter |
getDuration | () | method |
public function getDuration():int
Returns the duration of the stream in seconds. If a live stream is playing, in most cases it's not possible to deliver a valid stream length. In this case, the value 0 is to be delivered.
Returnsint — The stream length in seconds.
|
getHeight | () | method |
public function getHeight():int
Returns the height of the video. If the content is not a movie the value 0 is to be delivered.
Returnsint — the height
|
getMeta | () | method |
public function getMeta():Meta
Returns the meta information about the adapted player.
ReturnsMeta — The meta object
|
See also
getPosition | () | method |
public function getPosition():int
Returns the current position on the stream in seconds.
Returnsint — The stream position in seconds.
|
getWidth | () | method |
public function getWidth():int
Returns the width of the video. If the content is not a movie the value 0 is to be delivered.
Returnsint — the width
|