DescriptionCreate the desktop environment before any of the channel were connected.
ClientSession now creates the desktop environment and the corresponding video scheduler, event executor, etc. before any of the channel were created but after the connection has been authenticated and allowed by the host. This arrangement has two benefits:
- Messages arriving before all channels are ready could be successfully processed instead of being ignored.
- Desktop session can be created in parallel with channel creation reducing the overall connection time.
This CL also splits initialization of the audio and video schedulers in two phases. The schedulers created and prepared to handle incoming messages once the connection has been authenticated. Then, ClientSession starts them (so they can start sending messages to the client) once all channels have been set up.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197689
Patch Set 1 #
Total comments: 6
Patch Set 2 : CR feedback. #Patch Set 3 : - #Patch Set 4 : rebased #
Messages
Total messages: 15 (0 generated)
|