Closed i315315 closed 1 year ago
The feature should be possible to implement, however we could not find a way to make it work. The connection between the client (MainActivity, MediaBrowser/Controller/UI) with the server (MediaBrowserService/MediaSession/MediaPlayer) did not work. Even after we implemented everything according to the documentation, the MediaSession did not respond to UI events according to the defined callbacks.
User story
With this user story, the activating/deactivating of a MediaBrowserService is to be implemented. The toggle button to activate/deactive a MediaBrowserService has been implemented in #165 .
The MediaBrowserService should be used in order to simulate a media source. Therefore, three sample songs (Be aware of licensing!) should be stored in our app that can be played when the MediaBrowserService was chosen as the desired media source from the user.
If the MediaBrowserService is deactivated, when clicking on the toggle button, the MediaBrowserService should be activated.
As soon as the MediaBrowserService is activated, all events from the MediaBrowserService should be logged in the terminal window. Ideally, the logs get an identifier that identify them as MediaBrowserService-logs.
As soon as the MediaBrowserService is deactivated, no events should be logged anymore.
Acceptance criteria
Definition of done (DoD)
DoD general criteria