You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
755 B
26 lines
755 B
--- a/modules/access/srt.c
|
|
+++ b/modules/access/srt.c
|
|
@@ -165,7 +165,7 @@
|
|
|
|
/* Set latency */
|
|
i_latency = var_InheritInteger( p_stream, "latency" );
|
|
- srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
|
|
+ srt_setsockopt( p_sys->sock, 0, SRTO_LATENCY,
|
|
&i_latency, sizeof( int ) );
|
|
|
|
psz_passphrase = var_InheritString( p_stream, "passphrase" );
|
|
|
|
--- a/modules/access_output/srt.c
|
|
+++ b/modules/access_output/srt.c
|
|
@@ -162,7 +162,7 @@
|
|
|
|
/* Set latency */
|
|
i_latency = var_InheritInteger( p_access, "latency" );
|
|
- srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
|
|
+ srt_setsockopt( p_sys->sock, 0, SRTO_LATENCY,
|
|
&i_latency, sizeof( int ) );
|
|
|
|
if ( psz_passphrase != NULL && psz_passphrase[0] != '\0')
|
|
|
|
|