Set the playback progress (ms) of background music
Note: Do not call this API frequently as the music file may be read and written each time the API is called, which can be time-consuming. If you use this API to implement a draggable progress bar, do not call it during dragging. Call it in the callback that is triggered after dragging.
Parameters
id: number
pts: number
Returns Promise<void>
setAllMusicVolume
setAllMusicVolume(volume: number): Promise<void>
Set the global (local and remote) playback volume of background music
You must assign an ID to each music track so that you can start, stop, or set the volume of music tracks by ID.
Note: To play multiple music tracks at the same time, assign different IDs to them. If you use the same ID to play a music track different from the current one, the SDK will stop the current one before playing the new one.