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

Video not showing, only audio can be heard #202

Open
sayan-futurehook opened this issue Mar 23, 2023 · 0 comments
Open

Video not showing, only audio can be heard #202

sayan-futurehook opened this issue Mar 23, 2023 · 0 comments

Comments

@sayan-futurehook
Copy link

sayan-futurehook commented Mar 23, 2023

I have 2 hikvision devices one is a ip camera(DS-2CD3156G2-IS) other one is a video door phone(DS-KV6113-WPE1(B)). Both of them support rtsp(audio and video), When I am playing the rtsp stream in vlc, it is showing both video and audio for the ipcamera and vdp. I have added the exact rtsp url for both ipcamera and vdp to config.json. When I am streaming the ipcamera I am getting both video and audio, but when streaming through vdp there is no video, only audio is getting played. Also when i am going to http://10.0.0.28:8888/stream/codec/hikvision_ip_camera I am getting [{"Type":"video"},{"Type":"audio"}] but for http://10.0.0.28:8888/stream/codec/hikvision_vdp I am getting [{"Type":"audio"}]. This is my config.json file

{
  "server": {
    "http_port": ":8888"
},
  "streams": {
    "hikvision_ip_camera": {
      "on_demand": false,
      "audio": true,
      "url": "rtsp://admin:[email protected]/ISAPI/Streaming/channels/102"
    },
    "hikvision_vdp": {
      "on_demand": false,
      "audio": true,
      "url": "rtsp://admin:[email protected]/ISAPI/Streaming/channels/102"
    }
  }
}

Video config of ipcamera
Screenshot 2023-03-22 at 2 14 02 PM

Video config of vdp
Screenshot 2023-03-23 at 7 02 08 PM

What I am doing wrong?

Edit: I used https://github.com/deepch/RTSPtoWeb it is working fine on macOS, but not working in iOS, found out this issue deepch/RTSPtoWeb#31 . I am specifically trying it to work on phone, both android and iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant