Skip to content

Commit

Permalink
Add codecs=pcm to README
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Sep 1, 2020
1 parent 52e00eb commit e648e07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ const recorder = RecordRTC(stream, {
type: 'video',

// audio/webm
// audio/webm;codecs=pcm
// video/mp4
// video/webm;codecs=vp9
// video/webm;codecs=vp8
Expand Down Expand Up @@ -128,6 +129,7 @@ const recorder = RecordRTC(stream, {
bitsPerSecond: 128000,

// only for audio track
// ignored when codecs=pcm
audioBitsPerSecond: 128000,

// only for video track
Expand Down

0 comments on commit e648e07

Please sign in to comment.