Skip to content

Commit

Permalink
Use the grouptype URI opt to create a single-member group.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Dec 14, 2023
1 parent de5aefa commit 97727da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions xtransmit/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ shared_sock_t create_connection(const vector<UriParser>& parsed_urls, shared_soc
throw socket::exception("No URL was provided");
}

// if (parsed_urls[0].count("groupconnect"))
// {

// }
// SRTO_GROUPCONNECT

if (parsed_urls.size() > 1)
if (parsed_urls.size() > 1 || parsed_urls[0].parameters().count("grouptype"))
{
#if ENABLE_BONDING
// Group SRT connection
Expand Down

0 comments on commit 97727da

Please sign in to comment.