SyncPreview
property SyncPreview: TSyncPreview read GetSyncPreview write SetSyncPreview default DEF_SyncPreview;
__property TSyncPreview SyncPreview = {read=GetSyncPreview, write=SetSyncPreview, default=0};
public TSyncPreview SyncPreview { get; set; }
Public Property SyncPreview As TSyncPreview
TSyncPreview GetSyncPreview ();
void SetSyncPreview (TSyncPreview Value);
Enables or disables the audio/video sync of the preview. This TSyncPreview property keeps the rendered audio and the displayed video in sync, during preview as well as during recording. Possible values:
-
sp_Auto: automatically selected (default).
-
sp_Disabled: the audio/video sync of the preview is disabled.
-
sp_Enabled: the audio/video sync of the preview is enabled.
When this property is enabled during recording, it can cause an excessive number of dropped frames with some video capture devices.
Disabling this property can cause a time shift between the rendered audio and the displayed video.
IP cameras and live URLs opened through the Datastead RTSP/RTMP/HTTP/ONVIF Source Filter, with the audio rendered: with sp_Auto (default) or sp_Disabled, the audio is not synchronized with the video, to reduce the latency and the connection time (the audio is rendered about 120 ms after its reception). Set sp_Enabled to keep the audio/video sync. The sync is always kept in playback and when the decoded streams are recorded, streamed or encoded. Applied when the preview or the recording starts. The URL parameter audiosync of the filter (audiosync=0 or audiosync=1 at the end of the URL) overrides this setting.