W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2015

PR for API to do simulcast with RID according to Plan X

From: Peter Thatcher <pthatcher@google.com>
Date: Fri, 23 Oct 2015 17:55:57 -0700
Message-ID: <CAJrXDUEYptvj3t1qgAdXxxKMqhppyZyt1s4ExmN6COicgYtgpA@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
I have written a PR reflecting "Plan X", which allows the app to specify
encodings in addTransceiver:

https://github.com/w3c/webrtc-pc/pull/353


Obviously, this isn't of full value until addTransceiver PR has been
merged, but I believe this PR is complete enough to review.  There is an
example of how it can be used in the PR, where this is the relevant part:

            pc.addTransceiver(track, {
                send: true,
                receive: false,
                sendEncodings: [
                    {
                      rid: "f",
                    },
                    {
                      rid: "h",
                      scaleDownResolutionBy: 2.0
                    },
                    {
                      rid: "q",
                      scaleDownResolutionBy: 4.0
                    }
                ]);


I choose the names "sendEncodings" and "scaleDownResolutionBy", but if
anyone has a better idea of what to names those, suggestions are welcome. I
erred on the side of verbose.
Received on Saturday, 24 October 2015 00:57:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:09 UTC