We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 102d4a3 commit e17a635Copy full SHA for e17a635
packages/av-recorder/src/av-recorder.ts
@@ -279,7 +279,7 @@ function startRecord(
279
};
280
281
ctrl.start();
282
- const stopReadStream = autoReadStream(opts.streams.video, {
+ const stopReadStream = autoReadStream(opts.streams.video!, {
283
onChunk: async (chunk: VideoFrame) => {
284
if (stoped) {
285
chunk.close();
@@ -298,7 +298,7 @@ function startRecord(
298
}
299
300
if (hasAudioTrack) {
301
- stopEncodeAudio = autoReadStream(opts.streams.audio, {
+ stopEncodeAudio = autoReadStream(opts.streams.audio!, {
302
onChunk: async (ad: AudioData) => {
303
304
ad.close();
0 commit comments