W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2019

Re: [webrtc-pc] `ssrc` in `RTCRtpEncodingParameters` is inconsistent with ORTC (#1174)

From: Sergio Garcia Murillo via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Feb 2019 19:14:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-468399939-1551381275-sysbot+gh@w3.org>
@amithilbuch my use case is adding a transceiver with multiple encodings for enabling simulcast to talk to an SFU:

```js
pc.addTransceiver(videoTrack,{
	direction	: "sendonly",
	streams		: [stream],
	sendEncodings	: [
        	{"rid":"a"},
                {"rid":"b","scaleDownResolutionBy":2},	
                {"rid":"c","scaleDownResolutionBy":4}
        ]
});
```
`rid` is not set correcty and `pc.getTransceivers()[0].sender.getParameters().encodings` values are not set:
```
[{"active":true,"networkPriority":"low","priority":"low"},
{"active":true,"networkPriority":"low","priority":"low"},
{"active":true,"networkPriority":"low","priority":"low"}]
```
and in SDP are also not set:
```
a=rid:0 send
a=rid:1 send
a=rid:2 send
a=simulcast:send 0;1;2
```
There is a CL already that supposedly implements this and I hope it lands before getting to beta. 



-- 
GitHub Notification of comment by murillo128
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1174#issuecomment-468399939 using your GitHub account
Received on Thursday, 28 February 2019 19:14:37 UTC

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