[feat] update MiniRTC api calling

This commit is contained in:
dijunkun
2025-12-19 18:22:34 +08:00
parent a967dc72d7
commit d337971de0
5 changed files with 20 additions and 20 deletions

View File

@@ -206,8 +206,8 @@ int Render::ConnectTo(const std::string& remote_id, const char* password,
AddVideoStream(props->peer_, display_info.name.c_str());
}
AddAudioStream(props->peer_, props->audio_label_.c_str());
AddDataStream(props->peer_, props->data_label_.c_str());
AddDataStream(props->peer_, props->file_label_.c_str());
AddDataStream(props->peer_, props->data_label_.c_str(), false);
AddDataStream(props->peer_, props->file_label_.c_str(), true);
props->connection_status_ = ConnectionStatus::Connecting;