# danog\MadelineProto\MediaDestination: Which media stream of a call a playback or recording operation targets.

> 
A call carries two independent outgoing 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) take one of these to say which stream they act on; it
defaults to {@see self::Camera}. Recordings ({@see Call::setOutput()}) pick their streams with {@see CallStream} flags instead.


[Back to index](../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Which media stream of a call a playback or recording operation targets.  


A call carries two independent outgoing 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) take one of these to say which stream they act on; it
defaults to {@see self::Camera}. Recordings ({@see Call::setOutput()}) pick their streams with {@see CallStream} flags instead.



## 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:
* [`cases(): array`](#cases)

## Methods:
### <a name="cases"></a> `cases(): array`





---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
