immich/mobile/lib/repositories
Brandon Wees 5574b2dd39
feat(mobile): add cast support (#18341)
* initial cast framework complete and mocked cast dialog working

* wip casting

* casting works!

just need to add session key check and remote video controls

* cleanup of classes

* add session expiration checks

* cast dialog now shows connected device at top of list with a list header. Discovered devices are also cached for app session.

* cast video player finalized

* show fullsize assets on casting

* translation already happens on the text element

* remove prints

* fix lintings

* code review changes from @shenlong-tanwen

* fix connect method override

* fix alphabetization

* remove important

* filter chromecast audio devices

* fix some disconnect command ordering issues and unawaited futures

* remove prints

* only disconnect if we are connected

* don't try to reconnect if its the current device

* add cast button to top bar

* format sessions api

* more formatting issues fixed

* add snack bar to tell user that we cannot cast an asset that is not uploaded to server

* make casting icon change to primary color when casting is active

* only show casting snackbar if we are casting

* dont show cast button if asset is remote and we are not casting

* stop playing media if we seek to an asset that is not remote

* remove https check since it works with local http IP addresses

* remove unneeded imports

* fix recasting when socket closes

* fix info plist formatting

* only show cast button if there is an active websocket connection (ie the server is accessible)

* add device capability bitmask checks

* small comment about bitmask
2025-06-08 21:55:23 -05:00
..
activity_api.repository.dart refactor: user entity (#16655) 2025-03-12 08:56:56 -05:00
album.repository.dart refactor(mobile): remove int user id (#16814) 2025-03-18 11:05:37 -05:00
album_api.repository.dart feat(mobile): add album description functionality (#18886) 2025-06-04 17:41:28 +00:00
album_media.repository.dart fix(mobile): photo_manager ignore filters (#18742) 2025-06-02 09:43:59 -05:00
api.repository.dart refactor(mobile): DB repository for asset, backup, sync service (#12953) 2024-09-30 21:37:30 +07:00
asset.repository.dart fix(mobile): don't show locked asset in local album view (#18536) 2025-05-23 10:20:49 -05:00
asset_api.repository.dart feat(mobile): add cast support (#18341) 2025-06-08 21:55:23 -05:00
asset_media.repository.dart refactor(mobile): remove int user id (#16814) 2025-03-18 11:05:37 -05:00
auth.repository.dart feat(mobile): remote asset & exif sync (#18756) 2025-06-03 11:01:50 -05:00
auth_api.repository.dart feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
backup.repository.dart refactor(mobile): backup provider (#16360) 2025-02-27 09:56:23 -06:00
biometric.repository.dart feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
database.repository.dart chore(mobile): refactor authentication (#14322) 2024-11-26 12:43:44 -06:00
download.repository.dart feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
etag.repository.dart refactor(mobile): remove int user id (#16814) 2025-03-18 11:05:37 -05:00
file_media.repository.dart fix(mobile): Fix minor issues with downloading assets (#13609) 2024-10-20 12:56:02 -05:00
folder_api.repository.dart feat(mobile): Folder View for mobile (#15047) 2025-03-06 17:27:43 +00:00
gcast.repository.dart feat(mobile): add cast support (#18341) 2025-06-08 21:55:23 -05:00
local_files_manager.repository.dart fix(mobile): auto trash using MANAGE_MEDIA (#17828) 2025-04-24 19:09:50 -05:00
network.repository.dart feat(mobile): Auto switching server URLs (#14437) 2024-12-05 09:11:48 -06:00
partner.repository.dart refactor: user entity (#16655) 2025-03-12 08:56:56 -05:00
partner_api.repository.dart refactor: user entity (#16655) 2025-03-12 08:56:56 -05:00
permission.repository.dart feat(mobile): Auto switching server URLs (#14437) 2024-12-05 09:11:48 -06:00
person_api.repository.dart refactor(mobile): DB repository for asset, backup, sync service (#12953) 2024-09-30 21:37:30 +07:00
secure_storage.repository.dart feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
sessions_api.repository.dart feat(mobile): add cast support (#18341) 2025-06-08 21:55:23 -05:00
share_handler.repository.dart feat(mobile): share to mechanism (#15229) 2025-01-16 21:20:44 -06:00
timeline.repository.dart fix(mobile): Showing videos of partner in search page quick links (#18855) 2025-06-02 09:35:18 -05:00
upload.repository.dart feat(mobile): share to mechanism (#15229) 2025-01-16 21:20:44 -06:00