| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| connection.open | |
| Does 2 things: sets up a RTCMultisession connection (similar to what connection.connect does) but will also create a 'session /room' and join it. | |
| connection.connect | |
| If there is already a RTCMultisession set up (by 'connection.open'), it will connect to it, but will not JOIN it automatically. It will however CALL 'connection.onNewSession'. If 'connection.open' didn't set up a RTCMultisession yet, then 'connection.connect' will set one up, but will not create a new room. | |
| connection.onNewSession | |
| This lays the rules for what happens when the RTCMultisession detects a new incoming connection. In here, we called 'session.join' to officially join the room. | |
| connection.onstream |