I am recording a video which is mirror-playing in a canvas from that canvas.
The original video is seated in a normal <video>
tag.
When recording the volume of the recorded video is the same as set in the original video- element playing at that moment, in this case 0.1 which is 10%.
When I adjust the volume while recording I can hear this volume changing in the recording.
What I want is that the recorded video gets the full possible volume of the original video so I can play the recorded video with the exact same maximum volume.
Trying to set the connected gainNode to maximum volume did not succed because the result is fraked, like it is totally overvolumed, like cracking speakers.
gain_node.gain.value = gain_node.gain.maxValue;
The gainNode- object has this maxValue set: 3.4028234663852886e+38
Is there a posibility to record the video with the highest volume of the original video?