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

config generation api bug #42

Closed
lfarkas opened this issue Jun 30, 2021 · 1 comment
Closed

config generation api bug #42

lfarkas opened this issue Jun 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@lfarkas
Copy link
Collaborator

lfarkas commented Jun 30, 2021

  • if we delete all streams from the config (with the api call eg:
  --request POST \
  --data '["0678af02-701f-48f8-8fb8-2c0c3e0a1a02", "2a787219-dda4-41ff-aded-e123cb5fc4ea", "577f167d-d560-45d5-b71f-26f6e48228b5", "57f4a2d2-bac4-4bff-b6c8-f5eef58c95d5", "af089982-0a81-4084-ad89-3c0ea6c32c46", "cc5a44ed-c5b3-4485-b0b0-38aeea78a291"]' http://demo:demo@127.0.0.1:80/streams/multi/control/delete
  • then into the config in the stream part there will be a "null" in the steam section. this not cause problem and working until we restart the rtsp-to-web server
  • if we restart the service and then no longer be able to add new stream through the api.
  • if we replace the null with {} then we able to add new stream through the api.

it should have to fix.
anyway sometimes it's working when i change http_debug to true and loglevel to info. it seems to me some kind of timing issue. and we can reproduce it now (even though it was very difficult to find the problem)

@lfarkas lfarkas added the bug Something isn't working label Jun 30, 2021
@deepch
Copy link
Owner

deepch commented Jun 30, 2021

thx, fixed

@deepch deepch closed this as completed Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants