Skip to content

Commit cf91647

Browse files
fix: 5 min timeout
1 parent a093459 commit cf91647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/webrtc_service.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace client {
99
WebRTCService::WebRTCService(StatusCallback status_callback)
1010
: cli_("http://audivis-signaling-server.microblock.cc"),
1111
status_callback_(std::move(status_callback)) {
12-
cli_.set_connection_timeout(0, 300000); // 5 minutes
12+
cli_.set_connection_timeout(5 * 60); // 5 minutes
1313
setup_peer_connection();
1414
setup_data_channel();
1515
update_status(ConnectionState::Gathering);

0 commit comments

Comments
 (0)