I have a html/javascript project that play streaming video, using web audio API to separate video's sound to multiple channel (left-right volume, only vocal sound, only guitar sound etc..) and allow to change or mute volume of each. Now I wonder if it possible in android, I have never used android before, so does it has any library that can do the same things?
Aside from that, I also wanna know how to split this video to 4 angles, and display it like 4 small videos. In javascript I'm using canvas & setInterval like:
setInterval(function () {
Object.keys(Angles).forEach(function (angle_id) {
var top = Angles[angle_id]['position'][0];
var left = Angles[angle_id]['position'][1];
var canvas_id = 'canvas' + angle_id;
var canvas = document.getElementById(canvas_id);
canvas.getContext("2d").drawImage(_Self.Video, left, top, 480, 270);
});
}, 1000 / 30);
So how to do the same thing in android? Thanks very much.