Skip to content

Commit

Permalink
[apps] Removed calls to non-existing srt_group_configure() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed May 4, 2022
1 parent 64d7f69 commit 031603f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions testing/testmedia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,8 @@ void SrtCommon::AcceptNewClient()
m_listener_group = true;
if (m_group_config != "")
{
int stat = srt_group_configure(m_sock, m_group_config.c_str());
if (stat == SRT_ERROR)
{
// Don't break the connection basing on this, just ignore.
Verb() << " (error setting config: '" << m_group_config << "') " << VerbNoEOL;
}
// Don't break the connection basing on this, just ignore.
Verb() << " (ignoring setting group config: '" << m_group_config << "') " << VerbNoEOL;
}
// There might be added a poller, remove it.
// We need it work different way.
Expand Down Expand Up @@ -971,9 +967,7 @@ void SrtCommon::OpenGroupClient()
int stat = -1;
if (m_group_config != "")
{
stat = srt_group_configure(m_sock, m_group_config.c_str());
if (stat == SRT_ERROR)
Error("srt_group_configure");
Verb() << "Ignoring setting group config: '" << m_group_config;
}

stat = ConfigurePre(m_sock);
Expand Down

0 comments on commit 031603f

Please sign in to comment.