explicitly set audio recording bit rate

This commit is contained in:
or-else
2022-11-26 14:15:43 -08:00
parent 1913ed0c11
commit 7135553e42
11 changed files with 225 additions and 140 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export default class TopicDescEdit extends React.Component {
// Utility method for converting cropped avatar blob to bytes for sending inband or
// for uploading it to the server out of band.
uploadAvatar(mime, blob, width, height) {
const readyToUpload = (image) => {
const readyToUpload = image => {
let {mime, blob} = image;
if (blob.size > MAX_AVATAR_BYTES) {
// Too large to send inband - uploading out of band and sending as a link.