How to set default volume level for each application

Setting a default volume level for each application is useful in some cases, such as you are watching a video using the Youtube application and want to reduce the volume of the ringtone and message tone so as not to be disturbed.