Bug 1253706: Let failure to init a non-obsolete stream slide. r=mjf

This can happen in cases where we have an old ICE ctx that is infeasible, but have
kicked off an ICE restart with a new configuration that _is_ feasible. The old streams
are not obsolete yet, because we have not committed the ICE restart.

Differential Revision: https://phabricator.services.mozilla.com/D135375
This commit is contained in:
Byron Campen [:bwc] 2022-02-08 23:38:00 +00:00
Родитель a2b7cf4952
Коммит aeb940c46d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -880,7 +880,7 @@ int nr_ice_gather(nr_ice_ctx *ctx, NR_async_cb done_cb, void *cb_arg)
while(stream){
if(!stream->obsolete) {
if(r=nr_ice_media_stream_initialize(ctx,stream)) {
ABORT(r);
r_log(LOG_ICE,LOG_ERR,"ICE(%s): Failed to initialize a stream; this might not be an unrecoverable error, if this stream will be marked obsolete soon due to an ICE restart.",ctx->label);
}
}