Skip to content

Commit

Permalink
[apps] Fixed epoll connection issue.
Browse files Browse the repository at this point in the history
After PR #597. Sender-listener. tar->GetSRTSocket() returns bind socket at the start, but then the accepted socket when connection happens. While the bind socket is still in the srtrwfds list of polled sockets.
  • Loading branch information
maxsharabayko authored and rndi committed Mar 26, 2019
1 parent 959ae55 commit c732d8d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/srt-live-transmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,7 @@ int main( int argc, char** argv )
}
else if (tar && tar->GetSRTSocket() != s)
{
cerr << "Unexpected socket poll: " << s;
doabort = true;
break;
continue;
}

const char * dirstring = (issource)? "source" : "target";
Expand Down

0 comments on commit c732d8d

Please sign in to comment.