Vox Implant. Blog

Tag Archives: opus

HD Audio Playback / Streaming

This post is short and simple: your mp3 or ogg files played on VoxEngine scenario level with call.startPlayback or using Player will be played on the Web or Mobile SDK side in HD quality (48KHz), or on SIP side if it does support wideband audio codecs (Speex or Opus). It also appeared that Opus has 3 encoding presets – auto / speech / music, currently we use auto, but maybe we will let developers decide which preset can be used on VoxEngine scenario level later.

HD Audio Recording

HD_recording

We’ve been offering audio recording for a while, but our audio recorder was saving audio in 8KHz, since it’s the most used format in good old telephony and when we have calls to/from PSTN. When we work with VoIP endpoints that do support wideband audio (WebRTC, SIP, mobile SDKs) we can save audio with much better quality without downsampling it to 8KHz. We chose 48 KHz as the base sample rate for HD audio recorder, since WebRTC/Opus can offer this quality, audio from endpoints with lower sample rate will be re-sampled.

It’s easy to use HD audio recording, just add hd_audio parameter in the recorder params:

  1. // Example for the record method of the Call class function
  2. call.record({hd_audio: true});
  3. // Example for the Recorder class
  4. require(Modules.Recorder);
  5. // ...
  6. var recorder = VoxEngine.createRecorder({hd_audio: true});
  7. call.sendMediaTo(recorder);

Feel free to start recording your calls in HD today, wideband audio conferencing is coming soon, stay tuned!

Categories

Recent Posts

Feb 13, 2017 10:22
Authorization using tokens instead of passwords
Feb 03, 2017 01:45
Push Notifications for Android
Feb 03, 2017 01:45
Push Notifications for iOS
Jan 19, 2017 08:38
Speech-to-text: ASR
Jan 19, 2017 08:38
Speech-to-text: transcription
Jan 19, 2017 08:37
Audio Recording
Dec 28, 2016 12:47
VoIP Push Notifications support for iOS SDK has arrived
Dec 14, 2016 02:00
New billing for video calls running via servers
Dec 07, 2016 02:29
Blind transfer support for SIP phones
Dec 02, 2016 06:18
Step-by-step call center tutorial part 8

Archive

Tags