shogo4405 / HaishinKit.kt

Camera and Microphone streaming library via RTMP for Android.
BSD 3-Clause "New" or "Revised" License
150 stars 41 forks source link

Audio playback issue at receiver end during audio live streaming after upgrading from 0.11.2 to latest version 0.13.6 #274

Closed sanjaypanara closed 4 months ago

sanjaypanara commented 4 months ago

Describe the bug

Here is the link for the audio live streaming issue which is already closed. After your comment in that issue, I have made changes accordingly but audio playback stopped working at receiver end.

https://github.com/shogo4405/HaishinKit.kt/issues/266

We have implemented the changes based on your comments. However, following this update, we are encountering an audio playback issue on the receiver's end during live audio streaming. I do not see any obvious errors on the streaming side.Attached the logs for the streaming side as well for your review here, the receiver is experiencing a SocketTimeoutException while listening.

Is there any other change made in the latest version apart from the encoder? Is there any change related to the streaming side?

Any suggestions to fix this issue? Please let me know.

We have checked again with the older version v0.11.2, in which audio streaming and playback was working fine.

Scenario: I am starting live audio streaming from android device and playback it from another device, but the playback stalls every time, resulting in a SocketTimeoutException. We have also tried playback with iPhone/iPad, and it was not working on those devices either.

Here I am attaching log for streaming end and playback end. live audio playback log.txt live streaming log.txt

To Reproduce

Scenario: I am starting live audio streaming from android device and playback it from another device, but the playback stalls every time, resulting in a SocketTimeoutException. We have also tried playback with iPhone/iPad, and it was not working on those devices either.

Expected behavior

Audio playback should be work fine at the receiver end.

Version

0.13.6

Smartphone info.

No response

Additional context

No response

Screenshots

No response

Relevant log output

No response

shogo4405 commented 4 months ago

Posting the same content in Issues or Discussions won't solve the problem and is a nuisance. Please stop doing it.