Open vektory79 opened 6 years ago
this looks like the issue that was fixed here: https://github.com/jitsi/jitsi-videobridge/commit/4722a5bfb3e83539683643c6557cd23a148078b5
Sadly it's seems like that commit is introduce this issue. How it's looks for me:
Do I missed something?
Oops, you're right. Sorry, didn't look closely enough at the actual exception. So are the sources in your example also empty? An empty groups list wouldn't prevent tracks from being created, I'd think, but maybe there's a detail in there I'm missing. Either way, assuming there's one track doesn't seem great.
As far as the format of the source-group (being in-line to the element as opposed to nested), I don't remember what's supported there off the top of my head. Is this with the experimental firefox setting enabled?
I'm able to repro the issue and it's currently blocking @damencho's work on the tests. I can have a look unless you want to pinch in @bbaldino. I'm debating the idea of rewriting the factory method the proper way.
I'm still confused as to why sources are empty, even though there is a source in the colibri. Is this due to the code being confused about a sim group but only a single source?
I'm also still confused as to how this is even happening on firefox. @vektory79 is this with the enableFirefoxSimulcast
setting enabled? Without it, we shouldn't even be doing simulcast on firefox.
Sorry, but I away from test cluster and work computer till Monday. But it's very likely, that I activate enableFirefoxSimulcast in the past and forgot for that :-/
Do I understand properly, that removing this settings can normalize the situation?
@vektory79 what happens if you downgrade your bridge to a previously known version? are you able to bake your own bridge? we have a proposed fix for this issue here https://github.com/jitsi/jitsi-videobridge/pull/589
@bbaldino parameter enableFirefoxSimulcast is not enabled in my config.
@gpolitis sadly I can't compile this commit:
[ERROR] /media/data/Java/jitsee/jitsi-videobridge/src/main/java/org/jitsi/videobridge/xmpp/MediaStreamTrackFactory.java:[211,21] constructor MediaStreamTrackDesc in class org.jitsi.impl.neomedia.rtp.MediaStreamTrackDesc cannot be applied to given types;
required: org.jitsi.impl.neomedia.rtp.MediaStreamTrackReceiver,org.jitsi.impl.neomedia.rtp.RTPEncodingDesc[],boolean
found: org.jitsi.impl.neomedia.rtp.MediaStreamTrackReceiver,boolean
reason: actual and formal argument lists differ in length
[ERROR] /media/data/Java/jitsee/jitsi-videobridge/src/main/java/org/jitsi/videobridge/xmpp/MediaStreamTrackFactory.java:[212,18] cannot find symbol
symbol: method setRTPEncodings(org.jitsi.impl.neomedia.rtp.RTPEncodingDesc)
location: variable track of type org.jitsi.impl.neomedia.rtp.MediaStreamTrackDesc
[ERROR] /media/data/Java/jitsee/jitsi-videobridge/src/main/java/org/jitsi/videobridge/xmpp/MediaStreamTrackFactory.java:[223,15] constructor MediaStreamTrackDesc in class org.jitsi.impl.neomedia.rtp.MediaStreamTrackDesc cannot be applied to given types;
required: org.jitsi.impl.neomedia.rtp.MediaStreamTrackReceiver,org.jitsi.impl.neomedia.rtp.RTPEncodingDesc[],boolean
found: org.jitsi.impl.neomedia.rtp.MediaStreamTrackReceiver,boolean
reason: actual and formal argument lists differ in length
[ERROR] /media/data/Java/jitsee/jitsi-videobridge/src/main/java/org/jitsi/videobridge/xmpp/MediaStreamTrackFactory.java:[244,25] incompatible types: possible lossy conversion from long to int
[ERROR] /media/data/Java/jitsee/jitsi-videobridge/src/main/java/org/jitsi/videobridge/xmpp/MediaStreamTrackFactory.java:[261,14] cannot find symbol
symbol: method setRTPEncodings(org.jitsi.impl.neomedia.rtp.RTPEncodingDesc[])
location: variable track of type org.jitsi.impl.neomedia.rtp.MediaStreamTrackDesc
Will try to use older version prior to 4722a5b
@vektory79 if the firefox simulcast param was not enabled then this seems very weird. can you enable the peer connection trace logging, repro the issue, and get the logs from firefox? something is going wrong to end up with that sdp.
To enable the trace logs, you'll want to uncomment the block of code here: https://github.com/jitsi/lib-jitsi-meet/blob/master/modules/RTC/TraceablePeerConnection.js#L216
@gpolitis i will take a look at those PRs soon but i think we need to understand what's even causing this weird sdp before we fix the NPE issue...then it may just be masking something else going wrong that will manifest in some other way.
@vektory79 i haven't been able to reproduce this on meet.jit.si or beta.meet.jit.si (though we have seen another issue with firefox video not getting forwarded, but not a crash). are you still seeing it? are you on tip of master?
I trying to connect to self hosted jitsi meet server. Audio is working perfect, but video doesn't. In vb.log I found these entry:
As I understand, the root cause is the incorrect IQ packet from Firefox:
in which
ssrc-group
is empty.Is this the bug in the Firefox or in Video Bridge?