jiti-meet/react/features
zbettenbuk 008645568c Fix startAudioOnly and startWithVideoMuted collision on start from URL
Zoltan Bettenbuk suggested the following:

         const state = getState();

          if (desiredTypes.length === 0) {
 -            const { audio, video } = state['features/base/media'];
 -
 -            audio.muted || desiredTypes.push(MEDIA_TYPE.AUDIO);
 -            video.muted || desiredTypes.push(MEDIA_TYPE.VIDEO);
 +            const startAudioOnly = getPropertyValue(state, 'startAudioOnly');
 +            const startWithAudioMuted
 +                = getPropertyValue(state, 'startWithAudioMuted');
 +            const startWithVideoMuted
 +                = getPropertyValue(state, 'startWithVideoMuted');
 +
 +            if (!startWithAudioMuted) {
 +                desiredTypes.push(MEDIA_TYPE.AUDIO);
 +            }
 +            if (!startAudioOnly && !startWithVideoMuted) {
 +                desiredTypes.push(MEDIA_TYPE.VIDEO);
 +            }
          }

          const availableTypes

The final commit is really a different implementation of the same idea
but takes into account that the state of base/media already contains the
intent of the URL and notices the delay in the realization of the
background app state.

Additionally, unbreaks one more case where setAudioOnly is incorrectly
dispatched on CONFERENCE_LEFT or CONFERENCE_FAILED and, consequently,
overrides the intent of the URL.
2018-04-16 22:02:37 -05:00
..
always-on-top ref(always-on-top): refactor to stop using old toolbar components 2018-04-13 10:09:04 +02:00
analytics feat(invite): add basic analytics for AddPeople dialog (#2641) 2018-03-22 17:53:16 -07:00
app Add ability to detect calendar permission description in the plist file (iOS) 2018-04-15 23:16:44 -05:00
audio-level-indicator Import PropTypes from prop-types 2017-09-27 16:24:53 -05:00
authentication ref: define state and property types (2) 2017-11-28 22:03:00 -06:00
base Fix startAudioOnly and startWithVideoMuted collision on start from URL 2018-04-16 22:02:37 -05:00
calendar-sync Coding style: formatting, typos 2018-04-16 18:09:08 -05:00
chat fix(RN): bundle sound files in release build 2018-04-10 10:59:52 +02:00
conference Deeplinking (#2760) 2018-04-13 17:00:40 -07:00
connection-indicator ref(stats): start the statsEmitter for both mobile and web 2018-04-10 16:43:12 -05:00
connection-stats eslint 4.8.0 2017-10-02 18:12:38 -05:00
deep-linking Deeplinking (#2760) 2018-04-13 17:00:40 -07:00
desktop-picker feat(web/RN): update React to v16 and React Native to 0.49 2017-11-02 14:32:35 +01:00
device-selection feat(modals): use dark theme 2018-03-20 16:06:50 -05:00
display-name feat(aot): Handle video not available use cases (#2242) 2017-12-04 19:27:17 -08:00
etherpad feat(new-toolbars): initial implementation 2018-03-27 00:54:30 -05:00
feedback feat(feedback): tweak styling (#2791) 2018-04-11 11:31:03 -07:00
filmstrip fix(tooltip): description prop deprecated, use content instead (#2806) 2018-04-16 10:21:01 -07:00
invite fix(invite): tweak invite modal copy and avatar sizes (#2818) 2018-04-16 13:58:20 -07:00
keyboard-shortcuts feat(new-toolbars): initial implementation 2018-03-27 00:54:30 -05:00
large-video Add pinch zoom functionality 2018-04-10 01:20:53 -05:00
mobile Coding style: formatting, naming 2018-04-15 23:16:44 -05:00
notifications ref(notifications): stop passing around Notifications component 2018-02-12 17:53:29 -06:00
overlay Coding style: naming, consistency 2018-03-04 19:28:44 -06:00
presence-status Import PropTypes from prop-types 2017-09-27 16:24:53 -05:00
recent-list Coding style: formatting, typos 2018-04-16 18:09:08 -05:00
recording fix(recording): do not spell check stream key input (#2811) 2018-04-13 19:37:06 -07:00
remote-control Fix eslint & flow errors 2017-11-16 12:27:54 -06:00
remote-video-menu Restructures the analytics events (#2333) 2018-01-03 13:24:07 -08:00
room-lock feat(room-lock): hide dialog when conference fails 2017-12-12 20:51:56 -06:00
settings [RN] Don't auto-correct any field in settings 2018-03-27 12:58:56 -07:00
share-room Coding style: formatting, naming 2018-04-15 23:16:44 -05:00
shared-video feat(new-toolbars): initial implementation 2018-03-27 00:54:30 -05:00
side-panel feat(new-toolbars): initial implementation 2018-03-27 00:54:30 -05:00
speaker-stats feat(web/RN): update React to v16 and React Native to 0.49 2017-11-02 14:32:35 +01:00
testing doc(testing/actions): fill missing in 'setConnectionState' 2018-04-13 11:35:25 -05:00
toolbox fix(tooltip): description prop deprecated, use content instead (#2806) 2018-04-16 10:21:01 -07:00
unsupported-browser Deeplinking (#2760) 2018-04-13 17:00:40 -07:00
video-quality fix(tooltip): description prop deprecated, use content instead (#2806) 2018-04-16 10:21:01 -07:00
videosipgw ref(notifications): stop passing around Notifications component 2018-02-12 17:53:29 -06:00
welcome Coding style: formatting, naming 2018-04-15 23:16:44 -05:00