Jump to content

Support RTSPS in WebStreams plugin


Recommended Posts

Posted

It would be awesome to have RTSPS being supported in the WebStreams plugin. I have devices which are solely capable of RTSPS (they do not accept unencrypted RTSP) and would like to integrate them.

Adding it, just gives this error:

image.png.bbacd85a26649365b52be44fa41d6525.png

Found this forum post which claims it should work, but practically it doesn't:

 

  • Like 1
Posted

There's not really a error per-se, it looks like it's actively checking the "Source Location" for a valid protocol.

As mentioned in the title, I'm trying to use RT, such as:
rtsps://user:pass@192.168.1.1:322/streaming/live/1
(removing "user:pass" doesn't change the outcome/error)

The logs only indicate this during the "Save" event:

2025-12-04 20:56:39.713 Info GenericUIApiService-xxx:0000020D: http/2 POST https://‌‍‍localhost:8096/emby/UI/Command?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=xxx&X-Emby-Language=en-us&reqformat=json. Source Ip: 192.168.1.1, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
2025-12-04 20:56:39.740 Error GenericUIApiService-xxx:0000020D: Error processing request
        *** Error Report ***
        Version: 4.9.1.90
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Linux version 5.15.0-161-generic (buildd@lcy02-amd64-072) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #171-Ub
        OS/Process: x64/x64
        Framework: .NET 8.0.11
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        MediaBrowser.Model.Plugins.UI.EmbyUserException: MediaBrowser.Model.Plugins.UI.EmbyUserException: URL scheme must be one of: http, https, rtp, rtmp, rtsp, udp
           at Emby.WebStreams.Plugin.Setup.AddSource.Stages.UIViewAddSingleStream.OnOkCommand(String providerId, String commandId, String data)
           at Emby.Web.GenericUI.Control.ViewHosts.PluginDialogViewHost.OnOkCommand(String providerId, String commandId, String data, CancellationToken token)
           at Emby.Web.GenericUI.Model.Views.DialogViewBase.RunCommand(String itemId, String commandId, String data)
           at Emby.Web.GenericUI.Control.ViewHosts.PluginDialogViewHost.RunCommand(String itemId, String commandId, String data)
           at Emby.Web.GenericUI.Control.PageHosts.PageControllerHostBase.RunCommand(String requestItemId, String requestCommandId, String requestData, UserDto user)
           at Emby.Web.GenericUI.Api.GenericUIApiService.Post(RunUICommand request)
           at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
           at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
        Source: Emby.WebStreams.Plugin
        TargetSite: System.Threading.Tasks.Task OnOkCommand(System.String, System.String, System.String)

2025-12-04 20:56:39.740 Info GenericUIApiService-xxx:0000020D: http/2 Response 500 to ‌‍‍192.168.1.1‌. Time: 27ms. POST https://‌‍‍localhost:8096/emby/UI/Command?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=xxx&X-Emby-Language=en-us&reqformat=json.

 

  • Thanks 1
Posted
1 hour ago, Patby said:

As mentioned in the title, I'm trying to use RT, such as:

Meant to write "RTSPS" - oops. (so encrypted RTSP which seems to be somewhat different protocol-wise)

  • Thanks 1
Posted

OK we'll take a look at it. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...