recording a remote webrtc stream with RecordRTC

被刻印的时光 ゝ 提交于 2019-12-03 13:13:18

This is the same issue occurs in following situations...

  1. If not a stereo audio (dual channel audio)...i.e. it is mono audio
  2. If audio input channels are not equal to audio output channels
  3. If audio input device is not the default device selected on chrome

I'm still trying to find the actual issue.

I added this experiment for testing purpose... see console...

https://webrtc-experiment.appspot.com/demos/remote-stream-recording.html

Updated at: Saturday, 1 February 2014, 09:22:04 PKT

Remote audio recording is not supported; and this issue is considered as low-priority wontfix:

  1. Support feeding remote WebRTC MediaStreamTrack output to WebAudio
  2. Connect WebRTC MediaStreamTrack output to Web Audio API

Updated at March 28, 2016

Remote audio+video recording is now supported in RecordRTC, since Chrome version 49+.

Firefox, on the other hand, can merely record remote-audio.

If Chrome/WebRTC/Opus outputs mono audio by default and if that is the problem here, I see two options in that case:

  1. By making opus output stereo - not sure how.
  2. By making the RecordRTC/Recorderjs code work with mono

Or does anyone know any other recording library that works?

This actually now works fine in Firefox. I am using FireFox 29.0.1 and the AudioAPI can now work with audio streams sources grabbed from remote parties from a peer connection.

To test go to Muaz Khan's experiment page. I am not sure with what version of Firefox this rolled out but I would like to thank the team for cranking it out!

The chrome bug was moved to the AudioAPI team cr bug to track progress

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!