Commit 995c3fd
committed
frontend: Refactor YoutubeApiWrappers
Created YoutubeApiClient and moved the broadcast and stream related
functions from YoutubeApiWrappers to YoutubeApiClient and added
apiClient object to YoutubeApiWrappers. This helps move the mixed
ownership issue from YoutubeApiWrappers inheriting from YoutubeAuth only
because it needs OAuth information, follow up refactor would be to move
the broadcast setup/start/stop out to YoutubeBroadcastController and
create a YoutubeService class which owns the OAuthTokenStore,
YoutubeApiClient, YoutubeBroadcastController and the
YoutubeDockController.
(cherry picked from commit c4b8cb7)1 parent 52b2c59 commit 995c3fd
6 files changed
Lines changed: 653 additions & 475 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments