moonlight-stream / moonlight-common-c

Core implementation of Nvidia's GameStream protocol
GNU General Public License v3.0
458 stars 167 forks source link

Audio block size mismatch when connected to Sunshine server #62

Closed mariotaku closed 3 years ago

mariotaku commented 3 years ago

Found this issue in https://github.com/mariotaku/moonlight-tv/issues/76, where moonlight-common-c has been updated from 122ce4a to b58930c. Not sure if it should be triaged to Sunshine or here.

Logs:

000086.061 [Limelight][INFO] Audio block size mismatch (got 84, expected 83)
000086.061 [Limelight][INFO] Audio block size mismatch (got 84, expected 83)
000086.061 [Limelight][INFO] Unable to recover audio data block 9608 to 9611 (2+0=2 received < 4 needed)
000086.062 [Limelight][INFO] Network dropped audio data (expected 9610, but received 9612)
000086.066 [Limelight][INFO] Audio block size mismatch (got 84, expected 82)
000086.066 [Limelight][INFO] Audio block size mismatch (got 83, expected 82)
000086.066 [Limelight][INFO] Audio block size mismatch (got 83, expected 82)
000086.066 [Limelight][INFO] Unable to recover audio data block 9612 to 9615 (1+0=1 received < 4 needed)
000086.086 [Limelight][INFO] Network dropped audio data (expected 9613, but received 9616)
000086.095 [Limelight][INFO] Audio block size mismatch (got 84, expected 83)
000086.095 [Limelight][INFO] Audio block size mismatch (got 85, expected 83)
000086.095 [Limelight][INFO] Unable to recover audio data block 9616 to 9619 (2+0=2 received < 4 needed)
000086.106 [Limelight][INFO] Network dropped audio data (expected 9618, but received 9620)
000086.106 [Limelight][INFO] Audio block size mismatch (got 83, expected 82)
000086.106 [Limelight][INFO] Audio block size mismatch (got 83, expected 82)
000086.106 [Limelight][INFO] Audio block size mismatch (got 88, expected 82)
cgutman commented 3 years ago

This should already be fixed by https://github.com/moonlight-stream/moonlight-common-c/commit/c680a60710a2ea4c54d0dcfdac8141ddc1e945b4 and https://github.com/moonlight-stream/moonlight-common-c/commit/7c346c31040c6ed736d9d4b3a7cbc4b0aca1849c

mariotaku commented 3 years ago

Thanks! I'll update to latest core and report back later :)

exalented commented 3 years ago

Fixed tyvm!