In my experience (I've been playing with Simulcasting as well for Janus, 
lately) the additional substreams only start appearing when the browser decides 
you have enough bandwidth for them. The way I'm testing this is articifially 
setting the REMB feedback we send the browser to high values, and seems to 
work, although I often only get only two substreams out of three nevertheless 
(but there the high CPU usage might be the trigger to tell Firefox to keep it 
down).

Lorenzo


Il giorno mercoledì 5 luglio 2017 20:17:18 UTC+2, Ashwin Kumar ha scritto:
> We are testing FF/Simulcast with our SFU, expecting FF to send RTP packets 
> corresponding to all the RIDs negotiated in SDP offer answer. But we observe 
> FF sends only one stream RTP packets instead of all three.
> 
> config: 
> 
>  { 
>                         encodings: [{
>                             rid: "720",
>                         }, {
>                             rid: "360",
>                             scaleResolutionDownBy: 2,
>                         }, {
>                             rid: "180",
>                             scaleResolutionDownBy: 4,
>                         }, ]
> }
>  
> 
> Local Offer: 
> 
> a=simulcast: send rid=720;360;180
> a=extmap:3/sendonly urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
> a=rid:720 send
> a=rid:360 send
> a=rid:180 send
> 
> Remote Answer:
> a=simulcast: recv rid=720;360;180
> a=extmap:3/recvonly urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
> a=rid:720 send
> a=rid:360 send
> a=rid:180 send
> 
> 
> We expect client to send all three (720, 360,180) streams. But when we 
> checked the RTP extension header, all the packets are corresponding to rid 
> 180. 
> 
> Please correct me if we are doing anything wrong here.
> 
> 
> 
> Local SDP
> -----------
> 
> v=0
> o=mozilla...THIS_IS_SDPARTA-56.0a1 8874697543670501025 0 IN IP4 0.0.0.0
> s=-
> t=0 0
> a=sendrecv
> a=fingerprint:sha-256 
> CC:7E:D6:54:6D:E7:7D:0A:E9:55:4F:54:27:19:51:C1:FA:3B:7C:78:75:0C:CA:3B:F0:74:E7:1E:B2:94:9B:DD
> a=group:BUNDLE sdparta_0 sdparta_1
> a=ice-options:trickle
> a=msid-semantic:WMS *
> m=audio 64350 UDP/TLS/RTP/SAVPF 109 9 0 8 101
> c=IN IP4 121.244.155.226
> a=candidate:0 1 UDP 2122252543 10.5.21.141 65129 typ host
> a=candidate:2 1 UDP 2122187007 169.254.132.244 49715 typ host
> a=candidate:4 1 TCP 2105524479 10.5.21.141 9 typ host tcptype active
> a=candidate:5 1 TCP 2105458943 169.254.132.244 9 typ host tcptype active
> a=candidate:0 2 UDP 2122252542 10.5.21.141 51351 typ host
> a=candidate:2 2 UDP 2122187006 169.254.132.244 59212 typ host
> a=candidate:4 2 TCP 2105524478 10.5.21.141 9 typ host tcptype active
> a=candidate:5 2 TCP 2105458942 169.254.132.244 9 typ host tcptype active
> a=candidate:1 1 UDP 1686052863 121.244.155.226 64350 typ srflx raddr 
> 10.5.21.141 rport 65129
> a=candidate:1 2 UDP 1686052862 121.244.155.226 54867 typ srflx raddr 
> 10.5.21.141 rport 51351
> a=sendrecv
> a=end-of-candidates
> a=extmap:1/sendonly urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
> a=fmtp:101 0-15
> a=ice-pwd:a60c2e94d74be3c41539c76ecca5e826
> a=ice-ufrag:e744bc8e
> a=mid:sdparta_0
> a=msid:{4477d7f2-101d-9847-968e-77659c594740} 
> {959a1806-df32-bb46-a114-bf98f836e580}
> a=rtcp:54867 IN IP4 121.244.155.226
> a=rtcp-mux
> a=rtpmap:109 opus/48000/2
> a=rtpmap:9 G722/8000/1
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> a=setup:actpass
> a=ssrc:3368203124 cname:{9a9d0deb-18d1-6a4b-855a-5e25cc6796a1}
> m=video 0 UDP/TLS/RTP/SAVPF 102 121 126 97
> c=IN IP4 121.244.155.226
> a=bundle-only
> a=candidate:0 1 UDP 2122252543 10.5.21.141 65313 typ host
> a=candidate:2 1 UDP 2122187007 169.254.132.244 55271 typ host
> a=candidate:4 1 TCP 2105524479 10.5.21.141 9 typ host tcptype active
> a=candidate:5 1 TCP 2105458943 169.254.132.244 9 typ host tcptype active
> a=candidate:0 2 UDP 2122252542 10.5.21.141 58723 typ host
> a=candidate:2 2 UDP 2122187006 169.254.132.244 50237 typ host
> a=candidate:4 2 TCP 2105524478 10.5.21.141 9 typ host tcptype active
> a=candidate:5 2 TCP 2105458942 169.254.132.244 9 typ host tcptype active
> a=candidate:1 1 UDP 1686052863 121.244.155.226 48471 typ srflx raddr 
> 10.5.21.141 rport 65313
> a=candidate:1 2 UDP 1686052862 121.244.155.226 33973 typ srflx raddr 
> 10.5.21.141 rport 58723
> a=sendrecv
> a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
> a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
> a=extmap:3/sendonly urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
> a=fmtp:126 
> profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
> a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
> a=fmtp:102 max-fs=12288;max-fr=60
> a=fmtp:121 max-fs=12288;max-fr=60
> a=ice-pwd:a60c2e94d74be3c41539c76ecca5e826
> a=ice-ufrag:e744bc8e
> a=mid:sdparta_1
> a=msid:{739c5286-37a0-f545-8d60-821d3f3c915e} 
> {7f64bfea-0cec-0147-83c0-95729616321d}
> a=rid:720 send
> a=rid:360 send
> a=rid:180 send
> a=rtcp:33973 IN IP4 121.244.155.226
> a=rtcp-fb:102 nack
> a=rtcp-fb:102 nack pli
> a=rtcp-fb:102 ccm fir
> a=rtcp-fb:102 goog-remb
> a=rtcp-fb:121 nack
> a=rtcp-fb:121 nack pli
> a=rtcp-fb:121 ccm fir
> a=rtcp-fb:121 goog-remb
> a=rtcp-fb:126 nack
> a=rtcp-fb:126 nack pli
> a=rtcp-fb:126 ccm fir
> a=rtcp-fb:126 goog-remb
> a=rtcp-fb:97 nack
> a=rtcp-fb:97 nack pli
> a=rtcp-fb:97 ccm fir
> a=rtcp-fb:97 goog-remb
> a=rtcp-mux
> a=rtpmap:102 VP8/90000
> a=rtpmap:121 VP9/90000
> a=rtpmap:126 H264/90000
> a=rtpmap:97 H264/90000
> a=setup:actpass
> a=simulcast: send rid=720;360;180
> a=ssrc:2892268187 cname:{9a9d0deb-18d1-6a4b-855a-5e25cc6796a1}
> a=ssrc:3306346899 cname:{9a9d0deb-18d1-6a4b-855a-5e25cc6796a1}
> a=ssrc:2921827485 cname:{9a9d0deb-18d1-6a4b-855a-5e25cc6796a1}
> 
> 
> 
> 
> 
> 
> 
> Remote SDP
> -------------
> v=0
> o=- 5222446288670061627 2 IN IP4 127.0.0.1
> s=-
> t=0 0
> a=sendrecv
> a=group:BUNDLE sdparta_0 sdparta_1
> a=msid-semantic:WMS *
> m=audio 9 UDP/TLS/RTP/SAVPF 109 101
> c=IN IP4 0.0.0.0
> a=candidate:1660041492 1 udp 2122260223 10.5.7.133 5003 typ host generation 0 
> ufrag kJiT network-id 1 network-cost 50
> a=sendrecv
> a=fingerprint:sha-256 
> D9:28:77:94:A5:67:66:D7:15:BA:0C:2C:4E:C2:35:E7:F7:5C:57:3C:4C:7F:01:DE:1B:F8:41:CE:8E:91:78:84
> a=ice-pwd:c1qLNSWZ3PM9mkzGiYJMs1UB
> a=ice-ufrag:kJiT
> a=mid:sdparta_0
> a=msid:video_stream_0 audio_label
> a=rtcp:9 IN IP4 0.0.0.0
> a=rtcp-mux
> a=rtpmap:109 opus/48000/2
> a=rtpmap:101 telephone-event/8000
> a=setup:active
> a=ssrc:3725943676 cname:EP3CDWKiIPl520Y2
> m=video 9 UDP/TLS/RTP/SAVPF 102
> c=IN IP4 0.0.0.0
> b=AS:1500
> a=sendrecv
> a=extmap:3/recvonly urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
> a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
> a=fingerprint:sha-256 
> D9:28:77:94:A5:67:66:D7:15:BA:0C:2C:4E:C2:35:E7:F7:5C:57:3C:4C:7F:01:DE:1B:F8:41:CE:8E:91:78:84
> a=fmtp:102 max-fs=12288;max-fr=60
> a=ice-pwd:c1qLNSWZ3PM9mkzGiYJMs1UB
> a=ice-ufrag:kJiT
> a=mid:sdparta_1
> a=msid:video_stream_0 video_label_0
> a=rid:180 recv
> a=rid:360 recv
> a=rid:720 recv
> a=rtcp:9 IN IP4 0.0.0.0
> a=rtcp-fb:102 ccm fir
> a=rtcp-fb:102 nack
> a=rtcp-fb:102 nack pli
> a=rtcp-fb:102 goog-remb
> a=rtcp-mux
> a=rtpmap:102 VP8/90000
> a=setup:active
> a=simulcast: recv rid=720;360;180
> a=ssrc:989445568 cname:EP3CDWKiIPl520Y2

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to