mirror of
https://github.com/koush/scrypted.git
synced 2026-03-20 16:40:24 +00:00
rtsp plugins: remove max_delay argument, it doesnt do anything good.
This commit is contained in:
@@ -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,
|
||||
]
|
||||
};
|
||||
|
||||
@@ -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(),
|
||||
],
|
||||
});
|
||||
|
||||
@@ -1017,7 +1017,6 @@ class PrebufferProvider extends AutoenableMixinProvider implements MixinProvider
|
||||
url: clientUrl,
|
||||
inputArguments: [
|
||||
"-rtsp_transport", "tcp",
|
||||
"-max_delay", "1000000",
|
||||
'-i', clientUrl.replace('tcp', 'rtsp'),
|
||||
]
|
||||
};
|
||||
|
||||
@@ -76,7 +76,6 @@ export class RtspCamera extends CameraBase<UrlMediaStreamOptions> {
|
||||
url: stringUrl,
|
||||
inputArguments: [
|
||||
"-rtsp_transport", this.getRtspTransport(),
|
||||
"-max_delay", "1000000",
|
||||
"-i", stringUrl,
|
||||
],
|
||||
mediaStreamOptions: vso,
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -86,7 +86,6 @@ export abstract class MediaManagerBase implements MediaManager {
|
||||
if (mediaUrl.url.startsWith('rtsp://')) {
|
||||
inputArguments.unshift(
|
||||
"-rtsp_transport", "tcp",
|
||||
"-max_delay", "1000000",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user