carlchen | 2019-08-22 09:02:15 UTC | #1
hi , i use below api: /api/v2/conversations/{conversationId}/recordings/{recordingId}?formatId=MP3&download=true&fileName=testrecording want to format recording to MP3 file to download. it return 202, and user below api: GET /api/v2/conversations/{conversationId}/recordings/{recordingId} query this recording result like: don't find any MP3 file link in mediaUris please help, tks
tim.smith | 2019-08-22 14:33:04 UTC | #2
MP3 is a licensed format that you must pay royalties to use. If you're interested in that format, you'll need to export the recordings in one of the supported formats and convert it using appropriately licensed 3rd party software.
carlchen | 2019-08-23 00:16:44 UTC | #3
What's the point about formatid in below api?
tim.smith | 2019-08-23 14:31:20 UTC | #4
My apologies, that must have been snuck in there at some point without being announced; It used to be just WAV, WEBM, and OGG_VORBIS. You can use the documented formats.
rmontoya | 2019-08-30 20:48:43 UTC | #5
Hi, I've noticed that sometimes I get "mediaUris" that contain a single URI with a property of "S", like so:
"mediaUris": { "S": { "mediaUri": "...prod-recording-playback.s3.amazonaws.com/..." } },
But other times I get 2 URI's with "0" and "1", like so:
"mediaUris": { "0": { "mediaUri": "...prod-recording-playback.s3.amazonaws.com/..." }, "1": { "mediaUri": "...prod-recording-playback.s3.amazonaws.com/..." } },
It seems that when I get a single URI ("S") then I get a single stereo file for the recording and if I get 2 ("0" and "1") then I get an audio file per channel. Is this correct?
If so, I'm only interested in obtaining a single stereo file in MP3 format. I don't seem to be getting consistent results but I may be overlooking something.
Thanks!
tim.smith | 2019-09-03 13:23:15 UTC | #6
You'll need to disable dual channel recording on your trunks if you don't want dual channel recordings: https://help.mypurecloud.com/articles/enable-line-recording/
rmontoya | 2019-09-03 19:04:40 UTC | #7
Thanks for the response but my question was about a single dual-channel audio file vs. 2 files with one per channel. I do want dual channel recording but I want both channels in a single file.
My issue was that I was not sending the "download=true" so I was getting 2 single channel files. If I send "download=true" then I get a single 2-channel file.
system | 2019-10-04 19:04:44 UTC | #8
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 5841