![]() However, simply concatenating the packets together (when some are missing) does not create a valid file.Īnother attempt I made used two MediaRecorder objects at once. With better understanding of the protocols, I'm sure that it is to some extent possible to make this strategy work. None of these encodings allow data packets to be dropped from the beginning, since they contain important metadata. The issue with this is that MediaRecorder supports a very, very limited number of encodings. The naive solution to this problem is to call recorder.start(1000) to record data in one second intervals, then maintain a circular buffer on the dataavailable event. ![]() Unfortunately, the only solution that works for me involves making 30 recorders. I spent quite a while trying to make this work.
0 Comments
Leave a Reply. |