afrokick 6 년 전
부모
커밋
a4a225e86b
3개의 변경된 파일5개의 추가작업 그리고 107개의 파일을 삭제
  1. 1 107
      dist/peerjs.min.js
  2. 0 0
      dist/peerjs.min.js.map
  3. 4 0
      lib/negotiator.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 107
dist/peerjs.min.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/peerjs.min.js.map


+ 4 - 0
lib/negotiator.ts

@@ -285,6 +285,10 @@ export class Negotiator {
         }
       }
 
+      if (this.connection.options.sdpTransform && typeof this.connection.options.sdpTransform === 'function') {
+        answer.sdp = this.connection.options.sdpTransform(answer.sdp) || answer.sdp;
+      }
+
       try {
         await peerConnection.setLocalDescription(answer);
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.