Skip to content

Re-Connection of RTSP stream not happening #12958

Open

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

32.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://nas.cloudbusinessportal.ca/sharing/Wo1ZzZAFH

OBS Studio Crash Log URL

No response

Expected Behavior

OBS is used to stream video to YouTube. The stream is 24/7. The stream contains video from a RTSP streaming camera, overlays, and may other options. Specifically, the RTSP stream come from a camera that is inside a model locomotive (1:87 scale) The stream is imported into a web page with a graphic user inercafce for complete control of the locomotive ( with out instructions, just click on the bell or horn). See http://layout1.canadianlocomotivelogistics.ca:22080/web/webThrottleCLL.html?loconame=1

The camera is powered by the track, then rectified and regulated and with a 800 mA battery back up.
We build these cameras ourselves. see https://youtu.be/01ODAPDlozI

Sometimes the people running the trains turn the train layout off, which turns the track power off, and then camera eventually off. OBS keeps straming with out the RTSP streaming video coming in (great).
In the morning the people running the trains turn the train layout back on. This turns the track power on, and the caemra turns on, the RTPS stream then resumes.

OBS does not re-connect the RTSP stream.

I can open the property dialogue and click OK, and then the RTSP stream is restored.

Options for re-connect the camera are checked, but it does not work.

Current Behavior

So,

Currently I have to open the property dialogue box and then click on OK.

OBS finds the camera, rtsp://192.168.1.150:554 and all is good.

I'm wording why the re-connection is not automatic, when the RTSP stream is restored.

Steps to Reproduce

  1. After the stream is going. all is well.
  2. turn off the rtsp stream camera, wait 10 seconds
  3. turn on the rtsp camera
  4. wait...
  5. nothing happens,
  6. manually respart the connection with the caemra by opening the dialogue box, and closing it.
  7. them all is well again.
    ...

Anything else we should know?

Nope other than what I told you....
If not fixable, is there a script I can can to check the status of the RTSP stream and restart it?

You are more than welcome to test the RTSP stream yourself using rtsp://canadianlocomotivelogistics.ca:554
I opened a temporary portforwarding for you, to use.

PS the room light to the model train room are off at night on my layout, if you open the web page the room lights come on, give you better visibility with the camera, otherwise to might jsut see a black room.

Thank you in advance.

Canadian Locomotive Logisitics
Darrin Calcutt
517-500-6609 text only for Americans
519-630-5494 text only for Canadians

Activity

  1. fzwoch commented on Dec 26, 2025

    @fzwoch
    Contributor

    Options for re-connect the camera are checked, but it does not work.

    What option would that one be? If you meant Restart playback when source becomes available - this one means something different. It will restart the media once the OBS source becomes active - in the sense that the source is being made active or becomes active by switching to a scene which includes this source. It does not refer to remote devices.

  2. canadianlocomotivelogistics commented on Dec 26, 2025

    @canadianlocomotivelogistics
    Author
  3. canadianlocomotivelogistics commented on Jan 2, 2026

    @canadianlocomotivelogistics
    Author

    when unabling and enabling the camera, the camera is restored.

    Can we no add a feature to renable the camera after the video is avilable?

  4. djcalcutt commented on Feb 23, 2026

    @djcalcutt

    Any answer to this question? I'd like my camera to autoamtically come back on-line

  5. canadianlocomotivelogistics commented on Aug 15, 2026

    @canadianlocomotivelogistics
    Author

    I have resolved the problem with OBS by installing a plug-in.

    This plug plug-in is called automatic scene change

    It's too bad that OBS can't monitor the stream from a camera, knowing that it has been resumed or crashed

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