From 0060db1bb240eedfa12a340cd07d8f169fcaa900 Mon Sep 17 00:00:00 2001 From: Soares Chen Date: Mon, 22 May 2017 13:57:04 +0800 Subject: [PATCH] Minor grammar correction --- webrtc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webrtc.html b/webrtc.html index 07a81604c..dd81bd334 100644 --- a/webrtc.html +++ b/webrtc.html @@ -3869,7 +3869,7 @@

Constructor

  • Let iceCandidate be a newly created RTCIceCandidate object.
  • Set the corresponding attributes in iceCandidate - with the dictionary member values of candidateInitDict
  • + with the dictionary member values of candidateInitDict.
  • Let candidate be the candidate dictionary member of candidateInitDict. If candidate is not an empty string, run the following steps: @@ -3880,16 +3880,16 @@

    Constructor

    defined in section 4.5 of [[!RFC6544]].
  • If parsing of candidate-attribute is successful, set the corresponding attributes in iceCandidate to - the field values of the parse result.
  • + the field values of the parsed result. -
  • Return iceCandidate
  • +
  • Return iceCandidate.
  • The validation for members in candidateInitDict is not done in the constructor for RTCIceCandidate. Instead, validation is done when calling addIceCandidate(). To maintain - backward compatibility, if the candidate member do not + backward compatibility, if the candidate member does not match the grammar for candidate-attribute, the value remain set in the candidate attribute with the other derivative fields set to null