Thank You for replying.

Videochat between agent and client should last at least couple of minutes and I 
can't allow to lose audiolog of conversation if something happens on the 
browser or computer side and that's why I'm using time slice in MediaRecorder 
so every 3 seconds I'm sending recorded audio chunk to the server (on the 
server side I'm appending new recorded chunk to an existing recording)
At first step I've done this only for remote audio and that work. 
Now I need audiolog to have local and remote audio mixed together and I have 
two options (as I seet it):
    1. mixed them on the client side and send only one chunk of data to server
    2. send two chunks of data (local and remote) and mixed them on the server 
side

I'm not doing any explicit compression but the result of MediaRecorder data 
available is blob of type audio/ogg. 
It seems I can't decode that blob to AudioBuffer so I can mix them using Web 
Audio API to get one blob as a result.

Thank You
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to