You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a stream object from MediaStream API. and also I add an audio track to this stream. when i recorded it using MediaStreamRecorder i did not get any data on ondataavailable. But when i add both audio track and video track it works well. Please help me to figure this out
const stream = new MediaStream();
const audioTrack = // get audio tracks from a stream.
stream.addTrack(audioTrack);
const recorder = new MediaStreamRecorder(stream);
recorder.ondataavailable = function(){
// not even call
}
The text was updated successfully, but these errors were encountered:
I am creating a stream object from MediaStream API. and also I add an audio track to this stream. when i recorded it using MediaStreamRecorder i did not get any data on ondataavailable. But when i add both audio track and video track it works well. Please help me to figure this out
The text was updated successfully, but these errors were encountered: