-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CCB: Fix streamer activity in case of suspend #3160
Comments
@theresalech fix has been submitted and ready for Livio review |
PR #3057 is just solves audio playback issue on socket transport. PR #3488 suggest another solution for all the transports |
Closed via #3488 |
Bug Report
SDL stops streaming data by timeout when no new data from mobile received
Detailed analysis:
The problem of the current implementation is that SDL kills streaming thread responsible for sending a/v streaming data to HMI when streaming timeout expires.
This issue is observed when mobile app dumps 10-seconds audio file to SDL during 2 seconds and after that app does not send any data. In that case, HMI will play audio file during 2 seconds + timeout = 5 seconds. At the 5th second SDL just kills streaming thread with all pending messages, however, audio service is still open. As a result, not a whole audio file is played.
The correct behavior from SDL side in that case is not kill streaming thread when streaming timeout was expired. SDL should kill streaming thread only when service is
actually stopped.
Reproduction Steps
Expected Behavior
Should be played whole audio file
Observed Behavior
Audio is played just a few seconds
OS & Version Information
The text was updated successfully, but these errors were encountered: