[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

@@ -207,6 +207,7 @@ int Render::ConnectTo(const std::string& remote_id, const char* password,
}
AddAudioStream(props->peer_, props->audio_label_.c_str());
AddDataStream(props->peer_, props->data_label_.c_str());
AddDataStream(props->peer_, props->file_label_.c_str());
props->connection_status_ = ConnectionStatus::Connecting;