Skip to content

url can not use & symbol #217

Open
Open

Description

@sansarus

decoder translate & as \u0026

               rtsp://192.168.1.86:554/H264?ch=1&subtype=0&proto=Onvif

"url": "rtsp://***@192.168.1.86:554/h264?ch=1\u0026subtype=0"

Activity

  1. compot-dev commented on Oct 16, 2026

    @compot-dev
    Collaborator

    Thanks for the report.

    & is how JSON writes &: the debug page escapes <, > and & in strings, and any JSON reader turns it back into &. The app itself keeps the URL exactly as typed.

    We checked this on our test box (2.13) with rtsp://…@<camera>/stream=0?ch=1&subtype=0&proto=Onvif. The full query, & included, reaches the camera (it comes back unchanged in the Content-Base header), and the stream plays.

    Two things in your report differ, though. You typed …/H264?ch=1&subtype=0&proto=Onvif, but the saved slot shows …/h264?ch=1&subtype=0, with a lowercase h264 and without &proto=Onvif. The app doesn't lowercase or drop anything, so maybe it was typed that way in another attempt? Some cameras treat the path as case-sensitive.

    Could you tell us:

    1. Does the stream fail with the URL exactly as typed (/H264?ch=1&subtype=0&proto=Onvif)? What does the screen show: an error, a black picture, or the status line?
    2. The camera brand and model.
    3. If possible, http://<device>:8085/log right after a failed attempt (passwords are masked in it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions