File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
examples/record-audio-video-stream Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ const fs = require('fs')
55
66const { RTCAudioSink, RTCVideoSink } = require ( 'wrtc' ) . nonstandard ;
77
8- const ffmpeg = require ( 'fluent-ffmpeg' )
8+ const ffmpegPath = require ( '@ffmpeg-installer/ffmpeg' ) . path ;
9+ const ffmpeg = require ( 'fluent-ffmpeg' ) ;
10+ ffmpeg . setFfmpegPath ( ffmpegPath ) ;
911const { StreamInput } = require ( 'fluent-ffmpeg-multistream' )
1012
1113const VIDEO_OUTPUT_SIZE = '320x240'
Original file line number Diff line number Diff line change 1818 "author" :
" Mark Andrus Roberts <[email protected] >" ,
1919 "license" : " BSD-3-Clause" ,
2020 "dependencies" : {
21+ "@ffmpeg-installer/ffmpeg" : " ^1.0.20" ,
2122 "Scope" : " github:kevincennis/Scope" ,
2223 "body-parser" : " ^1.18.3" ,
2324 "browserify-middleware" : " ^8.1.1" ,
3435 "eslint" : " ^5.15.1" ,
3536 "tape" : " ^4.10.0"
3637 }
37- }
38+ }
You can’t perform that action at this time.
0 commit comments