Commit Graph
57 Commits
Author SHA1 Message Date
Antonio Scandurra e12739a29c Show a Calling indicator right away when initiating a call 2022-10-25 11:05:57 +02:00
Antonio Scandurra a63f6b99d8 Set location on ActiveCall even before there's a room
We will automatically call `Room::set_location` once a room has been
assigned.
2022-10-24 15:07:25 +02:00
Antonio Scandurra 493bc28cc6 Simplify room events 2022-10-24 10:53:44 +02:00
Antonio Scandurra 8325be5b10 Show shared screen as a pane item 2022-10-24 10:04:08 +02:00
Antonio Scandurra 03b5a26fd6 Leave Zed room when LiveKit room disconnects 2022-10-21 14:21:45 +02:00
Antonio Scandurra f42838534b Remove unused LKDisplays API 2022-10-21 10:12:24 +02:00
Antonio Scandurra 4a1508d121 WIP 2022-10-20 20:17:54 +02:00
Antonio Scandurra 3c54e91bec Simplify renderer interface for live-kit-client 2022-10-20 09:51:55 +02:00
Nathan Sobo ede148827a Use fake LiveKit server to test we can send frames when screen sharing 2022-10-19 19:14:55 -06:00
Antonio Scandurra 8babdfee19 Model pending screen share in Room 2022-10-19 11:38:24 +02:00
Antonio Scandurra 947efe2909 Prevent Room from screen-sharing twice 2022-10-19 10:45:51 +02:00
Antonio Scandurra 65ddc77fa6 Add control to toggle screen-sharing 2022-10-19 10:19:20 +02:00
Antonio Scandurra 5126184bfb Merge remote-tracking branch 'origin/main' into screen-sharing 2022-10-19 10:04:56 +02:00
Antonio Scandurra 0c5fc49a86 WIP 2022-10-18 19:30:45 +02:00
Antonio Scandurra 2b999d5c44 Disconnect from live-kit Room on drop 2022-10-18 14:50:03 +02:00
Antonio Scandurra 82b5f216e4 Emit Frame event when new frames are generated for a remote track 2022-10-18 12:18:49 +02:00
Antonio Scandurra ebcc4742a3 Use participant identity and track sid everywhere 2022-10-18 12:05:59 +02:00
Nathan Sobo 5701078169 WIP 2022-10-17 23:47:55 -06:00
Nathan Sobo a6ce6eed62 Get test_app running without crashing 2022-10-17 23:38:43 -06:00
Nathan Sobo 821e2f0689 WIP 2022-10-17 23:25:04 -06:00
Mikayla Maki 38ea470734 Added absolute path info to remote worktrees (updated protocol version) 2022-10-17 15:27:46 -07:00
Antonio Scandurra 186219322f WIP 2022-10-17 18:00:54 +02:00
Antonio Scandurra d8a5dae23b WIP: Start integrating screen-sharing 2022-10-17 14:50:05 +02:00
Antonio Scandurra f665daba66 WIP: Start integrating with LiveKit when creating/joining rooms 2022-10-17 12:20:55 +02:00
7165bc1606 Allow inviting users to a project that was shared by someone else
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-10-13 18:48:14 +02:00
Max BrunsfeldandAntonio Scandurra d9418811af Proceed with share while project state uploads
Co-authored-by: Antonio Scandurra <as-cii@zed.dev>
2022-10-11 10:17:20 -07:00
Antonio ScandurraandNathan Sobo b732a3a167 Show a different message when participant is active on unshared project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-10-11 15:24:31 +02:00
Antonio Scandurra 2d62f462e2 Show participant projects in contacts popover 2022-10-11 12:23:15 +02:00
Antonio Scandurra 807e2d7351 Dismiss project shared notifications when a project was unshared 2022-10-11 11:44:31 +02:00
Antonio Scandurra 7863cace56 Show project root names when displaying incoming call notification 2022-10-11 10:59:36 +02:00
Nathan SoboandAntonio Scandurra 9b3d843f9d Show worktree root names when sharing additional projects on a call
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2022-10-10 17:56:03 -06:00
Antonio Scandurra 9b71155bc9 Add leave button on active call header 2022-10-10 10:30:51 +02:00
Antonio ScandurraandNathan Sobo cf72bc4a14 WIP: Render active call in contacts popover
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-10-07 17:01:48 +02:00
Antonio Scandurra 11cdfc954c Don't leave the room if there's a pending room update 2022-10-07 14:52:39 +02:00
Antonio Scandurra da67401be9 💄 2022-10-07 14:51:04 +02:00
Antonio Scandurra 17ceb30ae7 Ensure sharing the same project twice is idempotent 2022-10-07 14:47:06 +02:00
Antonio Scandurra d0fb6b3376 Fix room disconnection problems when creating room and sharing project 2022-10-07 14:39:11 +02:00
Antonio Scandurra bac01e2fda Never set a room on active call if it is offline 2022-10-07 12:00:23 +02:00
Antonio Scandurra b80a39c165 Leave room when client is the only participant 2022-10-07 11:58:49 +02:00
Antonio Scandurra 6e6e44b20a Move project sharing into Room 2022-10-07 10:14:17 +02:00
Antonio Scandurra 991a2fd9b2 Unset room on active call when disconnecting 2022-10-07 09:23:25 +02:00
Antonio Scandurra 0bd465df40 Always include room id in protos
This is redundant, but it futures-proof the ability to talk about
multiple rooms at any given time and feels safer in terms of race
conditions.
2022-10-06 15:20:49 +02:00
Antonio Scandurra bf30092c63 Implement call cancellation 2022-10-06 15:12:27 +02:00
Antonio Scandurra 20482bad8d Move IncomingCall into call crate 2022-10-06 09:52:03 +02:00
Antonio Scandurra 6597a5183a Move incoming calls into ActiveCall 2022-10-06 09:50:26 +02:00
Antonio Scandurra b8005ca30d Set room only after project has been shared to avoid flicker 2022-10-05 11:19:44 +02:00
Antonio Scandurra 4ae097e515 Use AppContext instead of MutableAppContext for ActiveCall::global 2022-10-05 10:51:51 +02:00
Antonio ScandurraandMax Brunsfeld d60225f118 Automatically share project when creating the room
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-10-04 19:25:48 +02:00
Antonio Scandurra 7ac25fa0a9 Re-emit notifications and events from ActiveCall
This lets us only observe and subscribe to the active call without
needing to track the underlying `Room` if it changes, which implies
writing the same boilerplate over and over.
2022-10-04 18:15:56 +02:00
Antonio Scandurra 66d211f378 Use a different style for inactive participants 2022-10-04 15:06:20 +02:00