8225600b61
The end goal of this patch was to avoid opening the camera when there is no welcome page. In order to achieve this, the logic for creating the local tracks was refactored: Before this patch local tracks were created when lib-jitsi-meet was initialized, and destroyed when it was deinitialized. As a side note, this meant that when a conference in a non-default domain was joined, local tracks were destroyed and recreated in quick succession. Now, local trans are created and destroyed based on what the next route will be, and this happens when the target room has been decided. This allows us to create local tracks the moment we need to render any route, and destroy them when there is no route to be rendered. As an interesting byproduct, this refactor also avoids the destruction + recreation of local tracks when a conference in a non-default domain was left. |
||
---|---|---|
.. | ||
actionTypes.js | ||
actions.js | ||
functions.js | ||
index.js | ||
middleware.js | ||
reducer.js |