So here is the html element that displays the stream
setTheirVideo : function (stream) {
var video = document.getElementById('their-video');
if (typeof video.srcObject == "object") {
video.srcObject = stream;
} else {
video.src = URL.createObjectURL(stream);
}
},
The HTML element above gets the stream. I need to get the raw AV samples, is there a way I can get these samples?
Ideas to achieve this, What I have read so far:
1) With Gstreamer pipeline we can get access to the raw AV samples. If there are any examples of Gstreamer working with Electron please send me the links.
2) I have also tried the Media Recorder but samples are received when the webrtc session is ended.
Please let me know if anyone has already accomplished this on Windows.