Bug 158203

Summary: WebRTC: Update MediaEndpointPeerConnection::createOffer() to use the transceiver set
Product: WebKit Reporter: Adam Bergkvist <adam.bergkvist>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 143211    
Attachments:
Description Flags
Proposed patch
eric.carlson: review+
Patch for landing none

Adam Bergkvist
Reported 2016-05-30 07:05:13 PDT
Currently MediaEndpointPeerConnection::createOffer() uses the sender set (RTCRtpSender objects) to create an offer, but the latest WebRTC 1.0 specifications [1][2] describe this process in terms of the RTCRtpTranceiver object. [1] http://rtcweb-wg.github.io/jsep/ [2] https://w3c.github.io/webrtc-pc/archives/20160513/webrtc.htm
Attachments
Proposed patch (24.20 KB, patch)
2016-06-02 14:16 PDT, Adam Bergkvist
eric.carlson: review+
Patch for landing (24.15 KB, patch)
2016-06-06 10:21 PDT, Adam Bergkvist
no flags
Adam Bergkvist
Comment 1 2016-06-02 14:16:11 PDT
Created attachment 280366 [details] Proposed patch
Eric Carlson
Comment 2 2016-06-03 08:09:18 PDT
Comment on attachment 280366 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=280366&action=review > Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:110 > + unsigned m_sdpAnswerSessionVersion { 0 }; Nit: This isn't used (yet?).
Adam Bergkvist
Comment 3 2016-06-03 10:52:47 PDT
Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.h:110 > > + unsigned m_sdpAnswerSessionVersion { 0 }; > > Nit: This isn't used (yet?). True. I can remove it before committing.
Adam Bergkvist
Comment 4 2016-06-06 10:21:39 PDT
Created attachment 280605 [details] Patch for landing
Adam Bergkvist
Comment 5 2016-06-06 14:16:52 PDT
Comment on attachment 280605 [details] Patch for landing Thanks for reviewing Eric!
WebKit Commit Bot
Comment 6 2016-06-06 14:39:33 PDT
Comment on attachment 280605 [details] Patch for landing Clearing flags on attachment: 280605 Committed r201728: <http://trac.webkit.org/changeset/201728>
Note You need to log in before you can comment on or make changes to this bug.