[feat] implement file transfer module

This commit is contained in:
dijunkun
2025-12-18 18:30:51 +08:00
parent e7bdf42694
commit 5066fcda48
8 changed files with 436 additions and 4 deletions

View File

@@ -45,6 +45,7 @@ class Render {
PeerPtr* peer_ = nullptr;
std::string audio_label_ = "control_audio";
std::string data_label_ = "control_data";
std::string file_label_ = "file";
std::string local_id_ = "";
std::string remote_id_ = "";
bool exit_ = false;
@@ -464,6 +465,7 @@ class Render {
std::string video_secondary_label_ = "secondary_display";
std::string audio_label_ = "audio";
std::string data_label_ = "data";
std::string file_label_ = "file";
Params params_;
SDL_AudioDeviceID input_dev_;
SDL_AudioDeviceID output_dev_;