diff --git a/package-lock.json b/package-lock.json index b345e9d8..7041cae0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5430,7 +5430,7 @@ }, "packages/webrtc": { "name": "werift", - "version": "0.19.8", + "version": "0.19.9", "license": "MIT", "dependencies": { "@fidm/x509": "^1.2.1", diff --git a/packages/webrtc/package.json b/packages/webrtc/package.json index d234785e..5eff1068 100644 --- a/packages/webrtc/package.json +++ b/packages/webrtc/package.json @@ -1,6 +1,6 @@ { "name": "werift", - "version": "0.19.8", + "version": "0.19.9", "description": "WebRTC Implementation for TypeScript (Node.js)", "keywords": [ "WebRTC", diff --git a/packages/webrtc/src/nonstandard/navigator.ts b/packages/webrtc/src/nonstandard/navigator.ts index 8442b059..fe139d2e 100644 --- a/packages/webrtc/src/nonstandard/navigator.ts +++ b/packages/webrtc/src/nonstandard/navigator.ts @@ -1,8 +1,8 @@ import { randomBytes } from "crypto"; -import { jspack } from "@shinyoshiaki/jspack"; -import { MediaStream, MediaStreamTrack } from "../media/track"; import { createSocket } from "dgram"; +import { jspack } from "@shinyoshiaki/jspack"; import { RTCRtpCodecParameters } from ".."; +import { MediaStream, MediaStreamTrack } from "../media/track"; export class Navigator { mediaDevices: MediaDevices; diff --git a/packages/webrtc/src/nonstandard/recorder/writer/webm.ts b/packages/webrtc/src/nonstandard/recorder/writer/webm.ts index 2779fcc9..45793acb 100644 --- a/packages/webrtc/src/nonstandard/recorder/writer/webm.ts +++ b/packages/webrtc/src/nonstandard/recorder/writer/webm.ts @@ -77,7 +77,7 @@ export class WebmFactory extends MediaWriter { }); const lipsync = new LipsyncCallback(); - if (inputTracks.length === 1) { + if (inputTracks.length === 1 || this.props.disableNtp) { this.props.disableLipSync = true; }