danog\MadelineProto\MediaDestination
Author: Daniil Gentili daniil@daniil.it
Which media stream of a call a playback or recording operation targets.
A call carries two independent outgoing (and incoming) video streams: the main camera stream (transmitted alongside the microphone audio) and a separate presentation (screen-sharing) stream. The playlist controls ({@see Call::play()} and friends) and the recording controls ({@see Call::setOutput()}) take one of these to say which stream they act on; it defaults to {@see self::Camera}.
Constants
danog\MadelineProto\MediaDestination::Camera: The main stream: the camera video, transmitted together with the microphone audio.danog\MadelineProto\MediaDestination::Presentation: The presentation stream: a separate screen-sharing (screencast) video.
Properties
$name:string
Method list:
Methods:
cases(): array
Generated by danog/phpdoc