Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Do not send the videoType for audio tracks (#11742)
George Politisd029045fdaea
diff --git a/react/features/rtcstats/middleware.js b/react/features/rtcstats/middleware.jsindex 5604499a02..7be5f0131b 100644--- a/react/features/rtcstats/middleware.js+++ b/react/features/rtcstats/middleware.js@@ -65,7 +65,7 @@ MiddlewareRegistry.register(store => next => action => {const { ssrc, videoType } = jitsiTrack || { };// Remote tracks store their ssrc in the jitsiTrack object. Local tracks don't. See getSsrcByTrack.- if (videoType && ssrc && !jitsiTrack.isLocal()) {+ if (videoType && ssrc && !jitsiTrack.isLocal() && !jitsiTrack.isAudioTrack()) {RTCStats.sendVideoTypeData({ssrc,videoType@@ -81,7 +81,7 @@ MiddlewareRegistry.register(store => next => action => {// if the videoType of the remote track has changed we expect to find it in track.videoType. grep for// trackVideoTypeChanged.- if (videoType && ssrc && !jitsiTrack.isLocal()) {+ if (videoType && ssrc && !jitsiTrack.isLocal() && !jitsiTrack.isAudioTrack()) {RTCStats.sendVideoTypeData({ssrc,