# Error when running the record demo

**URL:** <https://mediasoup.discourse.group/t/error-when-running-the-record-demo/1846>\
**Category:** Integration\
**Created:** [October 6, 2020, 2:55pm UTC](https://mediasoup.discourse.group/t/error-when-running-the-record-demo/1846 "2020-10-06T14:55:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustafa](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mustafa](https://mediasoup.discourse.group/u/mustafa)\
**Post date:** [October 6, 2020, 2:55pm UTC](https://mediasoup.discourse.group/t/error-when-running-the-record-demo/1846/1 "2020-10-06T14:55:11Z")

</div>

Hi,  
I’m running the mediasoup record demo using ffmpeg I’m getting this error.

Run command: D:\mediasoup-Recording\node\_modules\ffmpeg-static\ffmpeg.exe -nostdin -protocol\_whitelist file,rtp,udp -fflags +genpts -i D:\mediasoup-Recording/recording/input-vp8.sdp -map 0:a:0 -c:a copy -map 0:v:0 -c:v copy -f webm -flags +global\_header -y D:\mediasoup-Recording/recording/output-ffmpeg-vp8.webm  
ffmpeg version 4.3 Copyright © 2000-2020 the FFmpeg developers  
built with gcc 9.3.1 (GCC) 20200621  
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf  
libavutil 56. 51.100 / 56. 51.100  
libavcodec 58. 91.100 / 58. 91.100  
libavformat 58. 45.100 / 58. 45.100  
libavdevice 58. 10.100 / 58. 10.100  
libavfilter 7. 85.100 / 7. 85.100  
libswscale 5. 7.100 / 5. 7.100  
libswresample 3. 7.100 / 3. 7.100  
libpostproc 55. 7.100 / 55. 7.100  
[udp @ 000000dff5cc27c0] bind failed: Error number -10048 occurred  
D:\mediasoup-Recording/recording/input-vp8.sdp: Invalid data found when processing input  
Recording process exit, code: 1, signal: null  
Stop mediasoup RTP transport and consumer  
Recording stopped  
Resume mediasoup RTP consumer, kind: audio, type: simple  
Resume mediasoup RTP consumer, kind: video, type: simulcast  
(node:9404) UnhandledPromiseRejectionWarning: Error: Transport not found  
at Channel.\_processMessage (D:\mediasoup-Recording\node\_modules\mediasoup\lib\Channel.js:199:37)  
at Socket. (D:\mediasoup-Recording\node\_modules\mediasoup\lib\Channel.js:61:34)  
at Socket.emit (events.js:315:20)  
at addChunk (\_stream\_readable.js:295:12)  
at readableAddChunk (\_stream\_readable.js:271:9)  
at Socket.Readable.push (\_stream\_readable.js:212:10)  
at Pipe.onStreamRead (internal/stream\_base\_commons.js:186:23)  
(node:9404) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see [https://nodejs.org/api/cli.html#cli\_unhandled\_rejections\_mode](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode)). (rejection id: 1)  
(node:9404) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.  
(node:9404) UnhandledPromiseRejectionWarning: Error: Transport not found  
at Channel.\_processMessage (D:\mediasoup-Recording\node\_modules\mediasoup\lib\Channel.js:199:37)  
at Socket. (D:\mediasoup-Recording\node\_modules\mediasoup\lib\Channel.js:61:34)  
at Socket.emit (events.js:315:20)  
at addChunk (\_stream\_readable.js:295:12)  
at readableAddChunk (\_stream\_readable.js:271:9)  
at Socket.Readable.push (\_stream\_readable.js:212:10)  
at Pipe.onStreamRead (internal/stream\_base\_commons.js:186:23)  
(node:9404) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see [https://nodejs.org/api/cli.html#cli\_unhandled\_rejections\_mode](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode)). (rejection id: 2)
