Version:
Android: 10.X
iOS: 11.X
React Native: 2.10.0
Here you can find our guides:
Android:
After export, you can get the AudioOverlaySettings
from the SettingsList
and see if the audioOverlay
is null or not. If it is not null, additional audio was added on top of the original video settingsList[AudioOverlaySettings::class].audioOverlay
You can see this example of how to get theSettingsList
after-export here.
iOS:
func videoEditViewControllerDidFinish(_ videoEditViewController: VideoEditViewController, result: VideoEditorResult) { // Balance values: // If balance == 1, then overlay audio is exported // If balance == -1, then original audio is exported // If balance == 0, then mix of overlay and original audio is exported let balance = result.task.model.audioModel.volumeBalance }
React Native:
This can be retrieved from the serialization if enabled. Please refer to the docs on how to use the serialization feature as well as the current serialization scheme. The serialization will return a volumeBalance which is a relative number between -1 and 1 - where at -1 the sound of the exported video is the original audio and 1 is the custom audio overlay.