Skip to content

Commit

Permalink
candidates won’t be added when firefox was in audio publish only. (ly…
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkokk authored and lodoyun committed Apr 18, 2017
1 parent 34bbe86 commit 525ee6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erizo/src/erizo/WebRtcConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ bool WebRtcConnection::addRemoteCandidate(const std::string &mid, int mLineIndex
// TODO(pedro) Check type of transport.
ELOG_DEBUG("%s message: Adding remote Candidate, candidate: %s, mid: %s, sdpMLine: %d",
toLog(), sdp.c_str(), mid.c_str(), mLineIndex);
if (videoTransport_ == nullptr) {
if (videoTransport_ == nullptr && audioTransport_ == nullptr) {
ELOG_WARN("%s message: addRemoteCandidate on NULL transport", toLog());
return false;
}
Expand Down

0 comments on commit 525ee6f

Please sign in to comment.