Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Provide access to recording track Id only via TrackRecordingService #388

@dennisguse

Description

@dennisguse

So, far we use sharedPreferences as pub-sub to distribute the recording state as well as the trackId.
Replace this: by always binding the service.

Todo:

  1. Add service callback for trackId and recording state
  2. Replace SharedPreference recordingTrackId, recordingTrackPaused with service callback (everywhere)
  3. Remove RECORDING_TRACK_ID_DEFAULT
  4. Remove PreferencesUtil methods.
  5. Remove TrackRecordingService restart feature (after getting killed by Android OS / it dies)

This is also a follow-up to this behavior after the TrackRecordingService crashed/got killed: #385 (comment)

Metadata

Metadata

Assignees

Labels

maintenanceRequired maintenance work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions