Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Mar 1, 2024
1 parent 74ace9a commit bb8717e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit bb8717e

Please sign in to comment.