Skip to content

streams with audiotracks only are not recorded and give any data on ondataavailable event #178

Description

@vishnusadanandan

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions