зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1680620: Remove some log spew that just happens to be causing intermittent failures in browser_WebrtcGlobalInformation.js. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D127162
This commit is contained in:
Родитель
0240b39c82
Коммит
ccd22bb5d7
|
@ -240,12 +240,20 @@ int nr_ice_peer_ctx_find_pstream(nr_ice_peer_ctx *pctx, nr_ice_media_stream *str
|
|||
/* Because we don't have forward pointers, iterate through all the
|
||||
peer streams to find one that matches us */
|
||||
pstream=STAILQ_FIRST(&pctx->peer_streams);
|
||||
|
||||
if(!pstream) {
|
||||
/* No peer streams at all, presumably because they do not exist yet.
|
||||
* Don't log a warning here. */
|
||||
ABORT(R_NOT_FOUND);
|
||||
}
|
||||
|
||||
while(pstream) {
|
||||
if (pstream->local_stream == stream)
|
||||
break;
|
||||
|
||||
pstream = STAILQ_NEXT(pstream, entry);
|
||||
}
|
||||
|
||||
if (!pstream) {
|
||||
r_log(LOG_ICE,LOG_WARNING,"ICE(%s): peer (%s) has no stream matching stream %s",pctx->ctx->label,pctx->label,stream->label);
|
||||
ABORT(R_NOT_FOUND);
|
||||
|
|
Загрузка…
Ссылка в новой задаче