Hi folks!
In RingCentral SoftPhone TS: https://github.com/ringcentral/ringcentral-softphone-ts
I see we can transfer audio on Opus and PCMU, but is it also possible to transfer audio on raw PCM ?
I know transferring decompressed audio would be efficient but I’m having to pass the audio to another service in raw PCM and also receiving audio in raw PCM from there, and in the middle I’m having to decode/encode the audio which is causing to high CPU usage, so I was looking if it’s possible to transfer audio in just raw PCM with RingCentral SoftPhone TS as well so I wouldn’t have to decode/encode the audio.
Also in SoftPhone TS, I noticed TLS connection for transferring SIP messages is getting closed immediately after 2mins of connection established, so when call continuous more than 2 minutes, we’re not receiving any messages from TLS at all, especially when callee ends to call, we’re not receiving “BYE” message which is causing to have our call active forever, is there any possibility to make the connection expiration time longer ?
I saw this line “Expires: 3600”: https://github.com/ringcentral/ringcentral-softphone-ts/blob/e9b7493353e7a0e9444c053c3e00c8910eebf333/src/index.ts#L106
Tried to change its value but it didn’t change anything at all, always kept getting the connection closed immediately after 2mins