diff --git a/common/src/wrtc-to-rtsp.ts b/common/src/wrtc-to-rtsp.ts index 71443116e..0096c3f09 100644 --- a/common/src/wrtc-to-rtsp.ts +++ b/common/src/wrtc-to-rtsp.ts @@ -244,7 +244,7 @@ export async function createRTCPeerConnectionSource(channel: ScryptedDeviceBase // hint to ffmpeg for how long to wait for out of order packets. // is only used by udp, i think? unsure. but it causes severe jitter. // the jitter buffer should be on the actual rendering side. - "-max_delay", "0", + // "-max_delay", "0", '-i', url, ] }; diff --git a/plugins/google-device-access/src/main.ts b/plugins/google-device-access/src/main.ts index 550e0decc..9d7adc441 100644 --- a/plugins/google-device-access/src/main.ts +++ b/plugins/google-device-access/src/main.ts @@ -221,7 +221,6 @@ class NestCamera extends ScryptedDeviceBase implements Readme, Camera, VideoCame mediaStreamOptions: this.addRefreshOptions(trackerId, getSdmRtspMediaStreamOptions()), inputArguments: [ "-rtsp_transport", "tcp", - "-max_delay", "1000000", "-i", u.toString(), ], }); diff --git a/plugins/prebuffer-mixin/src/main.ts b/plugins/prebuffer-mixin/src/main.ts index 638fe589c..91fda0b30 100644 --- a/plugins/prebuffer-mixin/src/main.ts +++ b/plugins/prebuffer-mixin/src/main.ts @@ -1017,7 +1017,6 @@ class PrebufferProvider extends AutoenableMixinProvider implements MixinProvider url: clientUrl, inputArguments: [ "-rtsp_transport", "tcp", - "-max_delay", "1000000", '-i', clientUrl.replace('tcp', 'rtsp'), ] }; diff --git a/plugins/rtsp/src/rtsp.ts b/plugins/rtsp/src/rtsp.ts index a8924b7cc..25b475fe2 100644 --- a/plugins/rtsp/src/rtsp.ts +++ b/plugins/rtsp/src/rtsp.ts @@ -76,7 +76,6 @@ export class RtspCamera extends CameraBase { url: stringUrl, inputArguments: [ "-rtsp_transport", this.getRtspTransport(), - "-max_delay", "1000000", "-i", stringUrl, ], mediaStreamOptions: vso, diff --git a/plugins/synology-ss/src/main.ts b/plugins/synology-ss/src/main.ts index eddd1aba8..66f4d81e5 100644 --- a/plugins/synology-ss/src/main.ts +++ b/plugins/synology-ss/src/main.ts @@ -116,7 +116,6 @@ class SynologyCameraDevice extends ScryptedDeviceBase implements Camera, HttpReq url: liveViewPaths[0].rtspPath, inputArguments: [ "-rtsp_transport", "tcp", - "-max_delay", "1000000", "-i", liveViewPaths[0].rtspPath, ], mediaStreamOptions: this.createMediaStreamOptions(rtspChannel), diff --git a/server/src/plugin/media.ts b/server/src/plugin/media.ts index e694ca3ee..26446f95e 100644 --- a/server/src/plugin/media.ts +++ b/server/src/plugin/media.ts @@ -86,7 +86,6 @@ export abstract class MediaManagerBase implements MediaManager { if (mediaUrl.url.startsWith('rtsp://')) { inputArguments.unshift( "-rtsp_transport", "tcp", - "-max_delay", "1000000", ); }