rtsp plugins: remove max_delay argument, it doesnt do anything good.

This commit is contained in:
Koushik Dutta
2022-02-18 21:47:09 -08:00
parent ef3088489b
commit 2eb88108c6
6 changed files with 1 additions and 6 deletions

View File

@@ -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,
]
};

View File

@@ -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(),
],
});

View File

@@ -1017,7 +1017,6 @@ class PrebufferProvider extends AutoenableMixinProvider implements MixinProvider
url: clientUrl,
inputArguments: [
"-rtsp_transport", "tcp",
"-max_delay", "1000000",
'-i', clientUrl.replace('tcp', 'rtsp'),
]
};

View File

@@ -76,7 +76,6 @@ export class RtspCamera extends CameraBase<UrlMediaStreamOptions> {
url: stringUrl,
inputArguments: [
"-rtsp_transport", this.getRtspTransport(),
"-max_delay", "1000000",
"-i", stringUrl,
],
mediaStreamOptions: vso,

View File

@@ -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),

View File

@@ -86,7 +86,6 @@ export abstract class MediaManagerBase implements MediaManager {
if (mediaUrl.url.startsWith('rtsp://')) {
inputArguments.unshift(
"-rtsp_transport", "tcp",
"-max_delay", "1000000",
);
}