Hi Alvaro,
yes you are right.
the direction of REMB I saw are chrome > mcu > firefox.
I forgot that in my implementation I don't remove the local stream
on firefox side, but only disable tracks (because I have some issue
with planB 2 unifiedPlan compatibility and firefox removeStream
API).
So firefox always has the localStream attached to peerConnection,
also if media are disabled.
But also in this case I see that chrome send REMB only if it has a
local stream added to the peerConnection.
Enabling the video for chrome, REMB arrives to mcu, but they are
coming from chrome and are relative to the black/silent stream sent
by firefox.
Following is the SDP on chrome side (sent by mcu to the browser).
My doubt is about "sendrecv", maybe I have to manage it dinamically.
When the client doesn't have a local stream, the mcu should send
"sendonly" instead of "sendrecv".
I will try.
Thank you
type: offer, sdp: v=0
o=- 1341807817 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:3438303030
a=ice-pwd:BzY6obIb1DvgB3j92C62rl
a=fingerprint:sha-256 1A:D1:74:C2:6C:99:6C:0E:CD:27:34:75:4F:15:D7:72:EB:62:22:2F:2E:86:33:5C:10:37:74:85:8F:1E:36:29
a=setup:actpass
a=mid:audio
b=AS:16
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:123456 cname:fake-unified-plan-cname-audio
a=ssrc:123456 msid:fake-unified-plan-stream fake-unified-plan-audio
a=ssrc:123456 mslabel:fake-unified-plan-stream
a=ssrc:123456 label:fake-unified-plan-audio
a=ssrc:812659729 cname:312e3126c454ba210511852b471690428af012f1-1206-audio-cname
a=ssrc:812659729 msid:312e3126c454ba210511852b471690428af012f1-1206 312e3126c454ba210511852b471690428af012f1-1206-audio
a=ssrc:812659729 mslabel:312e3126c454ba210511852b471690428af012f1-1206
a=ssrc:812659729 label:312e3126c454ba210511852b471690428af012f1-1206-audio
a=candidate:2 1 udp 65535 93.57.86.154 48000 typ host
a=candidate:1 1 udp 65525 10.0.0.166 48000 typ host
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:3438303030
a=ice-pwd:BzY6obIb1DvgB3j92C62rl
a=fingerprint:sha-256 1A:D1:74:C2:6C:99:6C:0E:CD:27:34:75:4F:15:D7:72:EB:62:22:2F:2E:86:33:5C:10:37:74:85:8F:1E:36:29
a=setup:actpass
a=mid:video
b=AS:1024
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=ssrc:654321 cname:fake-unified-plan-cname-video
a=ssrc:654321 msid:fake-unified-plan-stream fake-unified-plan-video
a=ssrc:654321 mslabel:fake-unified-plan-stream
a=ssrc:654321 label:fake-unified-plan-video
a=ssrc:2039876183 cname:312e3126c454ba210511852b471690428af012f1-1206-video-cname
a=ssrc:2039876183 msid:312e3126c454ba210511852b471690428af012f1-1206 312e3126c454ba210511852b471690428af012f1-1206-video
a=ssrc:2039876183 mslabel:312e3126c454ba210511852b471690428af012f1-1206
a=ssrc:2039876183 label:312e3126c454ba210511852b471690428af012f1-1206-video
a=candidate:2 1 udp 65535 93.57.86.154 48000 typ host
a=candidate:1 1 udp 65525 10.0.0.166 48000 typ host