Jump to content
  • 0

Media file

Avneet Singh


5 answers to this question

Recommended Posts

  • 0

Hi @mc_

I am trying to upload audio file using postman 

POST /v2/accounts/{ACCOUNT_ID}/media/{MEDIA_ID}/raw

through node js as middleware server  "" is node server address and in response I am receiving data like this -

{ dataString:
   { name: '1kHz.mp3',
      <Buffer ff fa 93 cc 26 8b 00 00 12 54 ef 33 35 97 80 02 33 1a ea 37 3b 10 02 64 45 56 6a aa 8b c0 ae 23 2b 0e d7 e8 e5 0f 89 8a 69 c4 f0 09 46 ba 05 0c 1c 1b ... >,
     encoding: '7bit',
     truncated: false,
     mimetype: 'audio/mpeg',
     md5: [Function: md5],
     mv: [Function: mv] } }

I have to convert the data into  encoded form and node supports -







which I have tried . I am trying to get media file from kazoo which I have directly uploaded from monster-ui using request 

GET /v2/accounts/{ACCOUNT_ID}/media/{MEDIA_ID}/raw

and in response I get https://pastebin.com/dzchSF7u . I want to know which file format is this which I have uploaded in pastebin.

Screenshot from 2018-11-22 11-21-46.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...