|
@@ -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 {
|
|
try {
|
|
await peerConnection.setLocalDescription(answer);
|
|
await peerConnection.setLocalDescription(answer);
|
|
|
|
|