Wie kann ich das ein LiveBild in eine Webseite einbinden? (DCS-4X1X)

Um ein LiveBild oder einen LiveStream von einer Kamera zu erhalten kann man folgende URLs verwenden:

Image
http://<servername>/cgi-bin/image.cgi?userName=<username>&password=<password>&cameraID=<cameraID>&quality=<quality>
Quality 1-9 9 = best

Video
RTSP (Request)
http://<servername>/cgi-bin/video.cgi?userName=<userName>&password=<password>&type=RTSP&cameraID=<cameraID>&streamID=<streamID>EncoderType=<EncoderType>

HTTP
http://<servername>/cgi-bin/video.cgi?userName=<userName>&password=<password>&type=HTTP&cameraID=<cameraID>&streamID=<streamID>&EncoderType=<EncoderType>& AudioFlag =< AudioFlag >

Parameter Data Type Description
userName <string> User name
password <string> Password
type <string> {RTSP,HTTP} RTSP: RTSP stream HTTP:HTTP stream Field case-insensitive
cameraID <int>[0,n] The supported channel ID of the device, related to ability of the device, by default is 1
streamID <int>[0,n] The supported stream ID of the device,  related to stream ability of the device
EncoderType <string> {H265,H264,MJPEG} H265:H265 encode type stream H264:H264encode type stream MJPEG: MJPEGencode type stream Field case-insensitive
AudioFlag <int>0,1 When request video: 0: Without audio; 1: With audio; Note: Only used via HTTP,  default as 1 when omitted

Rank: 1.5

Das könnte auch helfen:

  • Wie kann ich das ein LiveBild in eine Webseite einbinden? Antwort lesen