MiGoller / docker-shinobi

These images are designed to be used in a micro-service environment. Many thanks to Shinobi Dev and MoeIsCool for their great work!
GNU General Public License v3.0
17 stars 22 forks source link

Can use " Add Camera" , but it doesn't work #5

Closed ysw0421 closed 5 years ago

ysw0421 commented 5 years ago

Hellow, I use your docker images. I wan't to use "add Camera" API for automatic. image I test many thing but not work; and result is i can push camera in Shinboi image but camera not work but not work how can i do? help me! image image can you show me success example??

MiGoller commented 5 years ago

Hey ysw0421. Thank you for your feedback.

I've never tried that way to add an camera. Do you run your piece of code on the same machine, vm or container Shinobi is running on? I'm wondering about your cam-url.

Can you tell me what image type you're running? I need the image's tag or the pull command.

Regards, Michael

ysw0421 commented 5 years ago

Hi, Michael

Please save me. I did the command like this. "docker pull migoller / shinobi: debian" and "RUN Command" as follows: "docker run -d \ -p 8080: 8080 \ -v / etc / localtime: / etc / localtime: ro \ -v / etc / timezone: / etc / timezone: ro \ -v ~ / Shinobi / config: / config \ -v ~ / Shinobi / datadir: / var / lib / mysql \ -v ~ / Shinobi / videos: / opt / shinobi / videos \ -v / dev / shm / shinobiDockerTemp: / dev / shm / streams \ migoller / shinobidocker: debian " And my "RTSP URL" is as follows. "rtsp: //admin@168.131.148.45: 18888 / videoMain" And I'm running "Ubuntu 16.04 Server". image I sent both post and get methods. But it did not succeed. And I want to show you how I send it. So I attach the following zip file.

I got JSON when I would be adding a camera on the web. I then sent it back via api but it did not apply.

Testing.zip

Regards, Sungung

ysw0421 commented 5 years ago

Maybe I can not hear the answer to this question?

MiGoller commented 5 years ago

Hmm... I'm not a node.js dev but that should do the job. My images are based on the master branch of the Shinobi repo. As far as I know there are a lot of changes to the dev branches.

I'd like you to ask this question on Shinobi's General Support Discord Server. You'll find the invitation on https://shinobi.video/support .

Hope they can answer you that question.

MiGoller commented 5 years ago

Ah... btw. hopefully you've changed your passwords. There are some plaintext passwords in you js-code.

MiGoller commented 5 years ago

Still have no feedback. Closing the issue.

ysw0421 commented 5 years ago

Yes sir please close the issue Thanks for your help

2019년 7월 23일 (화) 오전 3:09, Skunkworx notifications@github.com님이 작성:

Still have no feedback. Closing the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MiGoller/docker-shinobi/issues/5?email_source=notifications&email_token=AHDEDHSXFJXAZFIQFPX6RCDQAXZVLA5CNFSM4G3QCW52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QWIYY#issuecomment-513893475, or mute the thread https://github.com/notifications/unsubscribe-auth/AHDEDHUZXD5IRP53QOGR2HDQAXZVLANCNFSM4G3QCW5Q .