ethand91 / mediasoup3-record-demo

Simple Record Demo using Mediasoup 3 and GStreamer
198 stars 93 forks source link

Could not write header for output file #42

Closed tazmanyak closed 3 years ago

tazmanyak commented 3 years ago

Hello,

I'm getting the error below. I run server and and app correctly but when i click record button, it gets this error and save record file as 0 byte.

image

If you can help me about this problem, I will be very happy :))

Thanks in advance,

ethand91 commented 3 years ago

It looks like the codecs are wrong? For example ffmpeg expects VP8 but you are sending H264.

Please check your configurations/webrtc-internals to make sure they are both the same video/audio codec.