@@ -437,8 +437,8 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
437
437
attributeNameBuffLen = SIZEOF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName );
438
438
if (containRtx ) {
439
439
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "msid" );
440
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%s %sRTX" , pRtcMediaStreamTrack -> streamId ,
441
- pRtcMediaStreamTrack -> trackId );
440
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%s %sRTX" ,
441
+ pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
442
442
attributeNameBuffLen -= amountWritten ;
443
443
attributeCount ++ ;
444
444
@@ -448,8 +448,8 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
448
448
attributeCount ++ ;
449
449
} else {
450
450
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "msid" );
451
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%s %s" , pRtcMediaStreamTrack -> streamId ,
452
- pRtcMediaStreamTrack -> trackId );
451
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%s %s" ,
452
+ pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
453
453
attributeCount ++ ;
454
454
}
455
455
@@ -459,18 +459,18 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
459
459
attributeCount ++ ;
460
460
461
461
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
462
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u msid:%s %s" , pKvsRtpTransceiver -> sender . ssrc ,
463
- pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
462
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u msid:%s %s" ,
463
+ pKvsRtpTransceiver -> sender . ssrc , pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
464
464
attributeCount ++ ;
465
465
466
466
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
467
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u mslabel:%s" , pKvsRtpTransceiver -> sender . ssrc ,
468
- pRtcMediaStreamTrack -> streamId );
467
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u mslabel:%s" ,
468
+ pKvsRtpTransceiver -> sender . ssrc , pRtcMediaStreamTrack -> streamId );
469
469
attributeCount ++ ;
470
470
471
471
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
472
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u label:%s" , pKvsRtpTransceiver -> sender . ssrc ,
473
- pRtcMediaStreamTrack -> trackId );
472
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u label:%s" ,
473
+ pKvsRtpTransceiver -> sender . ssrc , pRtcMediaStreamTrack -> trackId );
474
474
attributeCount ++ ;
475
475
476
476
if (containRtx ) {
@@ -480,18 +480,18 @@ STATUS populateSingleMediaSection(PKvsPeerConnection pKvsPeerConnection, PKvsRtp
480
480
attributeCount ++ ;
481
481
482
482
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
483
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u msid:%s %sRTX" , pKvsRtpTransceiver -> sender . rtxSsrc ,
484
- pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
483
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u msid:%s %sRTX" ,
484
+ pKvsRtpTransceiver -> sender . rtxSsrc , pRtcMediaStreamTrack -> streamId , pRtcMediaStreamTrack -> trackId );
485
485
attributeCount ++ ;
486
486
487
487
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
488
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u mslabel:%sRTX" , pKvsRtpTransceiver -> sender . rtxSsrc ,
489
- pRtcMediaStreamTrack -> streamId );
488
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u mslabel:%sRTX" ,
489
+ pKvsRtpTransceiver -> sender . rtxSsrc , pRtcMediaStreamTrack -> streamId );
490
490
attributeCount ++ ;
491
491
492
492
STRCPY (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeName , "ssrc" );
493
- amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u label:%sRTX" , pKvsRtpTransceiver -> sender . rtxSsrc ,
494
- pRtcMediaStreamTrack -> trackId );
493
+ amountWritten = SNPRINTF (pSdpMediaDescription -> sdpAttributes [attributeCount ].attributeValue , attributeNameBuffLen , "%u label:%sRTX" ,
494
+ pKvsRtpTransceiver -> sender . rtxSsrc , pRtcMediaStreamTrack -> trackId );
495
495
attributeCount ++ ;
496
496
}
497
497
0 commit comments