Bug 194890

Summary: RTCPeerConnection.getSenders(), when called in signalingState "closed" returns an empty array
Product: WebKit Reporter: Manjesh Malavalli <mmalavalli>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Manjesh Malavalli
Reported 2019-02-20 18:47:38 PST
Steps to reproduce: 1. Run https://jsfiddle.net/j7cx8p23/ in a new tab. 2. Observe the browser console. Expected behavior: getSenders() should return a non-empty array of RTCRtpSenders. Actual behavior: getSenders() returns an empty array. NOTE: getSenders() works as expected in Chrome 72 (stable) and Firefox 65 (stable)
Attachments
Brent Fulgham
Comment 1 2022-07-01 15:46:05 PDT
Our behavior does not match Chrome in macOS 13.
Radar WebKit Bug Importer
Comment 2 2022-07-01 15:46:20 PDT
youenn fablet
Comment 3 2022-07-04 02:51:34 PDT
Calling close on a peer connection should stop all transceivers. Stopped transceivers should not be listed by getSenders/getReceivers. We are aligned to the spec, as well as Firefox. I think we should close this radar except if we should revisit the spec. @Manjesh, is that causing interoperability issues?
Brent Fulgham
Comment 4 2022-07-08 15:22:22 PDT
Please REOPEN if we have misunderstood your report, or if the spec language changes to match your expectation here.
Note You need to log in before you can comment on or make changes to this bug.