[Webkit-unassigned] [Bug 158190] WebRTC: Imlement MediaEndpointPeerConnection::setLocalDescription()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 14:26:14 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158190

Eric Carlson <eric.carlson at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #280724|review?                     |review+
              Flags|                            |

--- Comment #2 from Eric Carlson <eric.carlson at apple.com> ---
Comment on attachment 280724
  --> https://bugs.webkit.org/attachment.cgi?id=280724
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=280724&action=review

> Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp:161
> +    RefPtr<MediaEndpointSessionConfiguration> configurationSnapshot = internalLocalDescription() ?
> +        internalLocalDescription()->configuration()->clone() : MediaEndpointSessionConfiguration::create();

Nit: it may be worth putting internalLocalDescription() into a local instead of calling it twice.

> Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp:258
> +    unsigned previousNumberOfMediaDescriptions = internalLocalDescription() ?
> +        internalLocalDescription()->configuration()->mediaDescriptions().size() : 0;

Ditto.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160607/3841c708/attachment.html>


More information about the webkit-unassigned mailing list