-
Notifications
You must be signed in to change notification settings - Fork 24
Question #4
Comments
@Doniyor4120 WebSocket should be available in latest Dahua cameras and you should give that in the configuration. It is websocket from Dahua IP camera, we wont create any in the project. |
any luck with this @Doniyor4120 |
@Nidheeshv0312. There is no WebSocket server in the project. Dahua camera provides WebSocket and this code will connect to it. |
Thank you guys |
i can't run webpack server can you fix it? |
Webpack dev server is not added in config. Please use 'npm run build' command and host the output of the build. |
do you have run success? i have meet the same problem |
i do not know how wsURL works |
@deng0515001. This project uses the websocket provided by Dahua in their cameras. New Dahua cameras support rtsp over websocket and we are using that. |
thanks very much for your reply . |
@deng0515001 can you open your network inspector in the browser and check for URL ending with /rtspoverwebsocket. if it is present then this project should work without any issue since we are using it regularly. |
no, it does not work, and i do not know how this works. |
@deng0515001 no. it doesn't need any plugins. please check in your browser network tab if it has a URL ending with /rtspoverwebsocket. |
i want to use this source in my react project how can i implement it in react project? |
Hi, bro, I have one question if it is possible to help me, please how I can run WebSocket in your project I configured webpack for development mode and the project is working correctly but, I can't run WebSocket in the project
this is my code below
localhost:3300 is webpack port
var options = {
wsURL: "ws://localhost:3300/rtspoverwebsocket",
rtspURL: "rtsp://192.168.1.243:554/cam/realmonitor?channel=1&subtype=0",
username: "admin",
password: "admin123"
}
The text was updated successfully, but these errors were encountered: