Only media volume is affected irrespective of the user activity.

Ideally, when not listening to music or not watching a video, the volume button's action should affect the ring volume. This is also how it works in android.

Media volume should be affected only while consuming media or if done explicitly.

Unable to attach screen recording here.