|
|
|
|
79
|
}
|
79
|
}
|
80
|
|
80
|
|
81
|
/**
|
81
|
/**
|
82
|
- * Computes the startWithAudioMuted by retrieving its values from config, URL and settings.
|
|
|
|
|
82
|
+ * Computes the startWithVideoMuted by retrieving its values from config, URL and settings.
|
83
|
*
|
83
|
*
|
84
|
* @param {Object|Function} stateful - The redux state object or {@code getState} function.
|
84
|
* @param {Object|Function} stateful - The redux state object or {@code getState} function.
|
85
|
- * @returns {boolean} - The computed startWithAudioMuted value that will be used.
|
|
|
|
|
85
|
+ * @returns {boolean} - The computed startWithVideoMuted value that will be used.
|
86
|
*/
|
86
|
*/
|
87
|
export function getStartWithVideoMuted(stateful: Object | Function) {
|
87
|
export function getStartWithVideoMuted(stateful: Object | Function) {
|
88
|
return Boolean(getPropertyValue(stateful, 'startWithVideoMuted', START_WITH_AUDIO_VIDEO_MUTED_SOURCES));
|
88
|
return Boolean(getPropertyValue(stateful, 'startWithVideoMuted', START_WITH_AUDIO_VIDEO_MUTED_SOURCES));
|