RTSP地址

海康

  1. rtsp://[username]:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/av_stream
  2. 说明:username: 用户名。password: 密码。ip: 为设备IP。例如 192.0.0.64
  3. port: 端口号默认为554,若为默认可不填写。
  4. codec:有h264MPEG-4mpeg4这几种。
  5. channel: 通道号,起始为1。例如通道1,则为ch1
  6. subtype: 码流类型,主码流为main,辅码流为sub
  7. 主码流:rtsp://admin:12345@192.0.0.64:554/h264/ch1/main/av_stream
  8. 子码流:rtsp://admin:12345@192.0.0.64/mpeg4/ch1/sub/av_stream

大华