Skip to content

Commit

Permalink
fix method call
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Apr 3, 2024
1 parent b54b8ec commit 0dccc16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/get-user-media.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global log, loadScript, sleep, Tesseract, streamWriter, isDisplayTrack */
/* global log, loadScript, sleep, Tesseract, streamWriter, isSenderDisplayTrack */

const applyOverride = (constraints, override) => {
if (override) {
Expand Down Expand Up @@ -216,7 +216,7 @@ const applyTimestampWatermark = mediaStream => {
const textHeight = fontSize + 6
const participantName =
window.getParticipantName().split('_')[0] +
(isDisplayTrack(videoTrack) ? ' -s' : '')
(isSenderDisplayTrack(videoTrack) ? ' -s' : '')

const transformer = new window.TransformStream({
async transform(videoFrame, controller) {
Expand Down

0 comments on commit 0dccc16

Please sign in to comment.