Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #14
Android version support:
com.android.shell
package doesn't haveRECORD_AUDIO
permission declared.FakePackageNameContext
hack to "fix" Android permission check.FakePackageNameContext
hack to "fix" Android permission check. No "Share heap dump" hack required.New option:
--no-forward-audio
on client side,forward_audio
on server side. Forwarding is enabled by default.Socket order:
video -> [control] -> [audio]
Control and audio sockets may be absent if
--no-control
or--no-forward-audio
is specified, but the order is maintained.Audio compression:
No compression used, so the audio stream can be easily played at client side. The bandwidth is 48000Hz x 16bits x 2 channels = 1536000 bits =192000 bytes = 192KB = 187.5KiB per second, so I don't think it needs compression (at least on wired connection).
Latency:
The latency is around 30ms, tested in a rhythm game. And in one hour of continue using, the latency is seemingly increasing. Maybe it still requires packet header and time-stamping.