console.error(TAG+'error ocConstantSourceNode, error message is '+err);
console.error(TAG+'error ocConstantSourceNode, error message is '+err);
})
})
}
}
...
@@ -182,13 +201,13 @@ export class VideoRecorderDemo {
...
@@ -182,13 +201,13 @@ export class VideoRecorderDemo {
// 2. Obtain the file descriptor of the recorded file. The obtained file descriptor is passed in to the URL in avConfig. The implementation is omitted here.
// 2. Obtain the file descriptor of the recorded file. The obtained file descriptor is passed in to the URL in avConfig. The implementation is omitted here.
// 3. Set recording parameters to complete the preparations.
// 3. Set recording parameters to complete the preparations.