Skip to content

Commit

Permalink
Merge pull request webrtc#1652 from handellm/mp4_support
Browse files Browse the repository at this point in the history
getusermedia/record: add supported MP4 mime types.
  • Loading branch information
Orphis authored Mar 21, 2024
2 parents b485ae6 + 6574554 commit 7ac95ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/content/getusermedia/record/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ function getSupportedMimeTypes() {
'video/webm;codecs=vp9,opus',
'video/webm;codecs=vp8,opus',
'video/webm;codecs=h264,opus',
'video/mp4;codecs=h264,aac',
'video/webm;codecs=av01,opus',
'video/mp4;codecs=h264,aac',
'video/mp4;codecs=avc1,mp4a.40.2',
'video/mp4',
];
return possibleTypes.filter(mimeType => {
return MediaRecorder.isTypeSupported(mimeType);
Expand Down

0 comments on commit 7ac95ca

Please sign in to comment.