Closed valiantyan closed 3 months ago
I can't understand you. What are you refering to.
Why is there no startService Playback code? I didn't understand how to startService when I looked at the code.
Actually
Why is there no startService Playback code? I didn't understand how to startService when I looked at the code.
Oh I see. Actually it is automatically handled by Android media3 library. When you call play on Remote (see RemoteImpl); the library start is automatically handled.
I found that after playing the wrong music file, the playback service can no longer work properly
Uploading error.mp4…
Add player.prepare() and it will be normal
Why can't I see how to start the Playback service?