Recording Audio Only
The Mobile Native Recording Client supports an audio only mode which can be used to record only audio.
How to Enable It
From the Account Dashboard
You can easily turn on the audio only mode in the Mobile Native Recording Client when generating new embed codes from the Pipe Account Dashboard:
- Sign in to your Pipe Account Dashboard at https://dashboard.addpipe.com
- Go to the Embed Recorder page
- On the left side, in the Options panel, select Audio in the Recorder Type drop-down
- Click Generate Embed Codes
- Copy and paste the newly generated code into your website
From Code
Embed Code v2.0 via HTML
Add the pipe-ao
attribute to the <piperecorder>
HTML tag and set it’s value to 1.
<piperecorder id="custom-id" pipe-width="640" pipe-height="390" pipe-qualityurl="avq/360p.xml" pipe-accounthash="ACCOUNT_HASH" pipe-eid="ENVIRONMENT_ID" pipe-mrt="600" pipe-ao="1"></piperecorder>
Embed Code v2.0 via JavaScript
Add the ao
property to your custom JavaScript object and give it the value of 1.
var pipeParams = {size:{width:640,height:390}, qualityurl:"avq/360p.xml", accountHash:"ACCOUNT_HASH", eid:"ENVIRONMENT_ID", mrt:600, ao:1};
Your custom object will be passed as a parameter to PipeSDK.insert()
.
Embed Code v1.0
Add the ao
property to the flashvars
object and set it to 1
like so:
How it Looks
Once audio-only recording is enabled, the Mobile Native Recording Client, when delivered using the 1.0 embed code, will look as follows:
Support
Android
Recording just audio using the Mobile Native Recording Client is supported by most Android devices.
iOS
Recording just audio using the Mobile Native Recording Client is not supported by iOS devices.
Safari on iOS does not support audio-only capture through the HTML Media Capture standard. When asked to record only audio, it will give the user the (wrong) option to record a video or take a picture. The latest we’ve tested is iOS 12.3.1 and iOS 16.6.1.
By looking at our recording data for September 2017 we determined only 0.4% of all recordings were recorded from iOS, the rest were recorded from Android (9.6%) and desktop devices (90%).
Audio Recording Quality
When recording audio using the Mobile Native Recording Client, a wide range of containers and audio codecs will be used depending on the device and Android version.
The list of accepted containters is available in this section.