Open Bug 1292388 Opened 9 years ago Updated 3 years ago

PeerConnectionImpl::Get{Local,Remote}Streams return value problems

Categories

(Core :: WebRTC, defect, P3)

defect

Tracking

()

Tracking Status
firefox51 --- affected

People

(Reporter: n.nethercote, Unassigned)

Details

PeerConnectionImpl::Get{Locals,Remote}Streams are dodgy. The IDL says they never throw, but there is a non-NS_OK early return in there. What is the JS-visible behavior is supposed to be when media()->Get{Local,Remote}StreamByIndex(i) returns null? Plausible options are (a) mark the method as throwing in the IDL and propagate the exception, or (b) make the method always return NS_OK
Rank: 25
Priority: -- → P2
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.