[Example][Server] MediaRecorder is not saving audio (mp3) from the web #1063
Unanswered
niklas-pernter
asked this question in
Q&A
Replies: 3 comments
-
write permissions in folder? |
Beta Was this translation helpful? Give feedback.
0 replies
-
TRY LAUNCH CMD AS ADMINISTRATOR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm sorry but I don't understand what you are doing, specifically: why are you changing the code for this use case? On the unmodified code I did:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi. I tinkering around with the examples but found a little bug when having "--record-to" flag set to a file e.g. "audio.mp3". Somehow when using the Frontend (only audio no data-channel and no STUN) the file doesn't get saved.
Maybe I'm doing something wrong but I've tried all different combinations and also tried out inside the code - unfortunately without any success
# How to reproduce
pc.addTrack(player.audio)
python server.py -v --record-to test.mp3
Expected results
A file called "test.mp3" should appear in the root directory with the same words you talked into the mic
Actual results
No file gets stored and no error comes up
Beta Was this translation helpful? Give feedback.
All reactions