From bb8717e66f635da5307a041b109418ca31be1f87 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Fri, 1 Mar 2024 15:06:24 +0700 Subject: [PATCH] wip --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 8c13282..66e60bb 100644 --- a/app.js +++ b/app.js @@ -316,7 +316,7 @@ class SrsClient extends Emitter { }); } await this.uac.modify(this.sdpOffer, { - headers: options.headers || {} + headers: options?.headers || {} }); this.paused = true; return true; @@ -343,7 +343,7 @@ class SrsClient extends Emitter { }); } await this.uac.modify(this.sdpOffer, { - headers: options.headers || {} + headers: options?.headers || {} }); this.paused = false; return true;