Skip to content
Snippets Groups Projects
Commit 40959af2 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #29033: video: better log if socket bind fails

parent 4fa28c4e
Branches
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ void VideoRtpSession::start(int localPort) ...@@ -131,7 +131,7 @@ void VideoRtpSession::start(int localPort)
try { try {
socketPair_.reset(new SocketPair(txArgs_["destination"].c_str(), localPort)); socketPair_.reset(new SocketPair(txArgs_["destination"].c_str(), localPort));
} catch (const std::runtime_error &e) { } catch (const std::runtime_error &e) {
ERROR("Socket creation failed: %s", e.what()); ERROR("Socket creation failed on port %d: %s", localPort, e.what());
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment