W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2017

[webrtc-pc] Pull Request: Improve definition of required fields in RTCRtpParameters

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Sep 2017 08:42:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <pull_request.opened-142041242-1505896935-sysbot+gh@w3.org>
soareschen has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Improve definition of required fields in RTCRtpParameters ==
Fixes #1493.

This PR attempts to clarify which fields are required in the `RTCRtpParameters` dictionary returned from `getParameters()`. I have also factor out the `transactionId` and `degradationPreference` fields to a new dictionary `RTCRtpSenderParameters`, since these two fields are required only for `RTCRtpSender`.

It would be great if someone with more experience on RTP parameters can verify whether some of the fields marked required make sense. Note that we'd also have to consider the case when no SDP has been set yet, e.g. `pc.addTransceiver().sender.getParameters()` before any offer is generated.

See https://github.com/w3c/webrtc-pc/pull/1610
Received on Wednesday, 20 September 2017 08:42:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:45 UTC