MCPcopy Create free account
hub / github.com/Wscats/chrome-devtools-cli / getVideoTracks

Function getVideoTracks

src/__tests__/MediaStreamRecorder.js:214–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 };
213
214 function getVideoTracks() {
215 var tracks = [];
216 arrayOfMediaStreams.forEach(function(stream) {
217 stream.getVideoTracks().forEach(function(track) {
218 tracks.push(track);
219 });
220 });
221 return tracks;
222 }
223
224 this.stop = function(callback) {
225 if (!mediaRecorder) {

Callers 1

MultiStreamRecorderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected