Add a new socket for audio stream

When audio is enabled, open a new socket to send the audio stream from
the device to the client.

Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Simon Chan
2023-02-03 16:50:42 +01:00
committed by Romain Vimont
parent 634ba5d7c4
commit 50d180abf2
4 changed files with 64 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ struct sc_server {
struct sc_adb_tunnel tunnel;
sc_socket video_socket;
sc_socket audio_socket;
sc_socket control_socket;
const struct sc_server_callbacks *cbs;