Hi,
I am using the RingCentral SDK (https://github.com/ringcentral/ringcentral-csharp) to download call recordings in my C# application.
I am able to make the call using recording id and I am getting the response.
If I save the response as .MP3 format, its not working it.
var recordingRequest = new Request("/restapi/v1.0/account/~/recording/" + item.Recording.Id + "/content");
var recordingResponse = sdk.Platform.Get(recordingRequest);
byte[] byteArray = System.Convert.FromBase64String(recordingResponse.Body);
File.WriteAllBytes(item.Recording.Id + ".mp3", byteArray);
I am converting response text as byte array and storing it as MP3.
Is there anything wrong?
Could any one help me on this?