Hello!
I tried to use FFmpeg command in terminal to recoed, so that I can record in another computer.I changed code so that node won't start FFmpeg process after everything was OK,then I save sdp string named "1.sdp",finally,I use command "ffmpeg --protocol_whitelist "file,udp,rtp" -i 1.sdp -acodec copy -vcodec copy out.webm",but I just got a video which was always black and without sound.I also tried to add parameters which was in the "ffmpeg.js",but it didn't work.
I refered to the information on the Internet,many blogs said that "ffmpeg --protocol_whitelist "file,udp,rtp" -i 1.sdp" will work,but the truth was not so.
Hello! I tried to use FFmpeg command in terminal to recoed, so that I can record in another computer.I changed code so that node won't start FFmpeg process after everything was OK,then I save sdp string named "1.sdp",finally,I use command "ffmpeg --protocol_whitelist "file,udp,rtp" -i 1.sdp -acodec copy -vcodec copy out.webm",but I just got a video which was always black and without sound.I also tried to add parameters which was in the "ffmpeg.js",but it didn't work. I refered to the information on the Internet,many blogs said that "ffmpeg --protocol_whitelist "file,udp,rtp" -i 1.sdp" will work,but the truth was not so.