Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Onvif Url doesn't changed #4859

Closed
babutree opened this issue Mar 3, 2023 · 3 comments
Closed

The Onvif Url doesn't changed #4859

babutree opened this issue Mar 3, 2023 · 3 comments
Assignees

Comments

@babutree
Copy link

babutree commented Mar 3, 2023

Short description

when I change and submit onvif URL, the URL doesn't changed
image

Environment

Docker nibrev/ant-media-server:latest

Steps to reproduce

  1. Edit Stream
  2. Change Onvif URL: rtsp://admin:12345678@192.168.1.198:554/stream2 and Save
  3. But it's always rtsp://admin:12345678@192.168.1.198:554/stream1
@mustafaboleken
Copy link
Contributor

Hi @babutree
Thank you very much for reposting this error. I put it into backlog. We will schedule it in the next sprint.

@lastpeony
Copy link
Contributor

Before, changing the IP address was not an option for editing. However, with the pull request that was mentioned, the edited IP address can now be saved successfully if the camera can connect with the new address. Nonetheless, modifying the camera profile through editing the URL is still not possible as the server generates it after a successful connection.
ant-media/Ant-Media-Management-Console#216

As a workaround, you can obtain your camera profiles first using https://antmedia.io/rest/#/BroadcastRestService/getOnvifDeviceProfiles, and then use https://antmedia.io/rest/#/BroadcastRestService/updateBroadcast to modify your broadcast's streamUrl field.

@mekya
Copy link
Contributor

mekya commented Jun 22, 2023

Hi Guys,
Just for your information, RTSP URL(rtsp://admin:12345678@192.168.1.198:554/stream1) is not an ONVIF URL.

ONVIF URL is a http endpoint that server communicates for controlling the IP Camera.
RTSP URL is a streaming URL that server gets the video/audio stream from that URL

So this is an expected behaviour.

@babutree
If you want to use RTSP URL directly, you can add it as a Stream Source in the web panel with RTSP URL. I'm attaching the screenshot for your convenience.

Screenshot 2023-06-22 at 17 15 40

Guys,
So I'm closing this issue and please feel free to re-open if it does not work for you.

@mekya mekya closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants