opentok / opentok-android-sdk-samples

Sample applications illustrating best practices using OpenTok Android SDK.
https://tokbox.com/developer/sdks/android/
MIT License
211 stars 169 forks source link

Advanced audio device Timeout error when trying to add a custom audio stream from file. #396

Closed KauthamMurugan closed 1 year ago

KauthamMurugan commented 3 years ago

We are trying to stream custom audio bytes but we are getting the error: Timed out while attempting to publish. We are using the below code to publish the audio stream. This custom byte was read from an external microUSB microphone. We also tried to stream from a static file which also failed.

getAudioBus().writeCaptureData(bytes[], samplesRead);