@webex/calling 3.3.1-next.28 → 3.3.1-next.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,8 @@ describe('Call Tests', function () {
96
96
  iceCandidatesTimeout: _constants.ICE_CANDIDATES_TIMEOUT,
97
97
  sdpMunging: {
98
98
  convertPort9to0: true,
99
- addContentSlides: false
99
+ addContentSlides: false,
100
+ copyClineToSessionLevel: true
100
101
  }
101
102
  };
102
103
  var roapMediaConnectionOptions = {
@@ -624,24 +625,6 @@ describe('Call Tests', function () {
624
625
  method: 'updateMedia'
625
626
  });
626
627
  });
627
- describe('#addSessionConnection', function () {
628
- var call;
629
- beforeEach(function () {
630
- call = callManager.createCall(dest, _types3.CallDirection.INBOUND, deviceId, mockLineId);
631
- });
632
- it('should copy the c-line from media level to the session level', function () {
633
- var sdp = "v=0\r\no=- 2890844526 2890842807 IN IP4 192.0.2.3\r\ns=-\r\nt=0 0\r\nm=audio 49170 RTP/AVP 0\r\nc=IN IP4 203.0.113.1\r\na=rtpmap:0 PCMU/8000";
634
- var expectedSdp = "v=0\r\no=- 2890844526 2890842807 IN IP4 192.0.2.3\r\ns=-\r\nc=IN IP4 203.0.113.1\r\nt=0 0\r\nm=audio 49170 RTP/AVP 0\r\nc=IN IP4 203.0.113.1\r\na=rtpmap:0 PCMU/8000";
635
- var result = call.addSessionConnection(sdp);
636
- expect(result).toBe(expectedSdp);
637
- });
638
- it('should handle multiple media sections correctly', function () {
639
- var sdp = "v=0\r\no=- 2890844526 2890842807 IN IP4 192.0.2.3\r\ns=-\r\nt=0 0\r\nm=audio 49170 RTP/AVP 0\r\nc=IN IP4 203.0.113.1\r\na=rtpmap:0 PCMU/8000\r\nm=video 51372 RTP/AVP 31\r\nc=IN IP4 203.0.113.2\r\na=rtpmap:31 H261/90000";
640
- var expectedSdp = "v=0\r\no=- 2890844526 2890842807 IN IP4 192.0.2.3\r\ns=-\r\nc=IN IP4 203.0.113.1\r\nt=0 0\r\nm=audio 49170 RTP/AVP 0\r\nc=IN IP4 203.0.113.1\r\na=rtpmap:0 PCMU/8000\r\nm=video 51372 RTP/AVP 31\r\nc=IN IP4 203.0.113.2\r\na=rtpmap:31 H261/90000";
641
- var result = call.addSessionConnection(sdp);
642
- expect(result).toBe(expectedSdp);
643
- });
644
- });
645
628
  });
646
629
  describe('State Machine handler tests', function () {
647
630
  var deviceId = '55dfb53f-bed2-36da-8e85-cee7f02aa68e';