[vlc-devel] [PATCH] rtp: add back rtsp options

Steve Lhomme robux4 at ycbcr.xyz
Mon Nov 23 07:45:15 CET 2020


LGTM

On 2020-11-20 23:46, Andriy Gelman wrote:
> From: Andriy Gelman <andriy.gelman at gmail.com>
> 
> Currently running
> ./vlc -vvv v4l2:///dev/video0 ":sout=#transcode{vcodec=h264,vb=300}:rtp{sdp=rtsp://:8554/test.sdp}"
> throws
> config/core.c:84: config_GetInt: Assertion `p_config != NULL' failed.
> 
> Some options were deleted in commit 3b684ba3518121ae267516d5b004269d16672f3b
> but they are still used in rtsp server.
> ---
>   modules/stream_out/rtp.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
> index 68ff34b953..c156b3058b 100644
> --- a/modules/stream_out/rtp.c
> +++ b/modules/stream_out/rtp.c
> @@ -228,6 +228,12 @@ vlc_module_begin ()
>       add_bool( SOUT_CFG_PREFIX "mp4a-latm", false, RFC3016_TEXT,
>                    RFC3016_LONGTEXT, false )
>   
> +    add_integer( "rtsp-timeout", 60, RTSP_TIMEOUT_TEXT,
> +                 RTSP_TIMEOUT_LONGTEXT, true )
> +    add_string( "sout-rtsp-user", "",
> +                RTSP_USER_TEXT, RTSP_USER_LONGTEXT, true )
> +    add_password("sout-rtsp-pwd", "", RTSP_PASS_TEXT, RTSP_PASS_LONGTEXT)
> +
>       set_callbacks( Open, Close )
>   vlc_module_end ()
>   
> -- 
> 2.28.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list