|
@@ -157,10 +157,8 @@ export function expandSourcesFromJson(iq, jsonMessageXml) {
|
157
|
157
|
if (videoSources?.length) {
|
158
|
158
|
for (let i = 0; i < videoSources.length; i++) {
|
159
|
159
|
videoRtpDescription.appendChild(_createSourceExtension(owner, videoSources[i]));
|
|
160
|
+ ssrcs.push(videoSources[i]?.s);
|
160
|
161
|
}
|
161
|
|
-
|
162
|
|
- // Log only the first video ssrc per endpoint.
|
163
|
|
- ssrcs.push(videoSources[0]?.s);
|
164
|
162
|
}
|
165
|
163
|
|
166
|
164
|
if (videoSsrcGroups?.length) {
|
|
@@ -171,8 +169,8 @@ export function expandSourcesFromJson(iq, jsonMessageXml) {
|
171
|
169
|
if (audioSources?.length) {
|
172
|
170
|
for (let i = 0; i < audioSources.length; i++) {
|
173
|
171
|
audioRtpDescription.appendChild(_createSourceExtension(owner, audioSources[i]));
|
|
172
|
+ ssrcs.push(audioSources[i]?.s);
|
174
|
173
|
}
|
175
|
|
- ssrcs.push(audioSources[0]?.s);
|
176
|
174
|
}
|
177
|
175
|
|
178
|
176
|
if (audioSsrcGroups?.length) {
|