[Home]

Summary:ASTERISK-29363: res_pjsip_sdp_rtp / bridge_softmix: Removal of stream on other participants does not occur
Reporter:Joshua C. Colp (jcolp)Labels:
Date Opened:2021-03-22 09:32:29Date Closed:
Priority:MinorRegression?Yes
Status:Open/NewComponents:Bridges/bridge_softmix Resources/res_pjsip_sdp_rtp
Versions:16.16.2 18.2.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) full.txt
Description:The following tests are presently failing:

apps/confbridge/sfu/add_remove_sources
apps/confbridge/sfu/local_add_remove_sources

Looking at the point of failure shows:

{noformat}
[Mar 22 11:00:16] DEBUG[997930][C-00000001] stasis_bridges.c: Update: 0x7f05b001e258  Old: bcadf034-49d9-4bc8-b56e-f134c75f1adc  New: bcadf034-49d9-4bc8-b56e-f134c75f1adc
[Mar 22 11:00:16] DEBUG[997930][C-00000001] stasis_bridges.c: Update: 0x7f05b0020d98  Old: bcadf034-49d9-4bc8-b56e-f134c75f1adc  New: bcadf034-49d9-4bc8-b56e-f134c75f1adc
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000:
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000: OT:  <0:audio-0:audio:sendrecv (ulaw)> <1:video-1:video:sendrecv (h264)> <2:softbridge_dest_PJSIP/video-caller-first-00000001_1:video:sendrecv (h263)> <3:video:video:sendrecv (h261)> NT:  <0:audio-0:audio:sendrecv (ulaw)> <1:video-1:video:sendrecv (h264)> <2:softbridge_dest_PJSIP/video-caller-first-00000001_1:video:sendrecv (h263)> <3:video:video:removed (nothing)>
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000: Checking for state changes
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000: Checking for newly added streams
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000: Processing adds and removes
[Mar 22 11:00:16] DEBUG[997930][C-00000001] channel.c: PJSIP/video-caller-first-00000001: Topologies already match. Current:  <0:audio-0:audio:sendrecv (ulaw)> <1:video-1:video:sendrecv (h263)> <2:softbridge_dest_PJSIP/video-caller-second-00000000_1:video:sendonly (h264)> <3:softbridge_dest_PJSIP/video-caller-second-00000000_3:video:sendonly (h261)>  Requested:  <0:audio-0:audio:sendrecv (ulaw)> <1:video-1:video:sendrecv (h263)> <2:softbridge_dest_PJSIP/video-caller-second-00000000_1:video:sendonly (h264)> <3:softbridge_dest_PJSIP/video-caller-second-00000000_3:video:sendonly (h261)>
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000: New topology  <0:audio-0:audio:sendrecv (ulaw)> <1:video-1:video:sendrecv (h264)> <2:softbridge_dest_PJSIP/video-caller-first-00000001_1:video:sendrecv (h263)> <3:video:video:removed (nothing)>
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  
[Mar 22 11:00:16] DEBUG[997930][C-00000001] bridge_softmix.c:  PJSIP/video-caller-second-00000000
{noformat}

video-caller-second removed a stream according to its topology, but for video-caller-first it was never removed as the topology didn't turn out properly (the third stream should have been removed but remained sendonly)
Comments: