Skip to content

Commit

Permalink
Bug 1795119 - Handle IPC failure about invalid webrtc video engine. r…
Browse files Browse the repository at this point in the history
…=pehrsons

Differential Revision: https://phabricator.services.mozilla.com/D160518
  • Loading branch information
choller committed Oct 28, 2022
1 parent 41776cb commit bdec73a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dom/media/systemservices/CamerasParent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,7 @@ bool CamerasParent::SetupEngine(CaptureEngine aCapEngine) {
break;
default:
LOG("Invalid webrtc Video engine");
MOZ_CRASH();
break;
return false;
}

engine = VideoEngine::Create(captureDeviceType);
Expand Down

0 comments on commit bdec73a

Please sign in to comment.