Changeset 40745


Ignore:
Timestamp:
08/14/17 18:18:36 (6 years ago)
Author:
gost
Message:

[plugins] ip-camera.. add new type zB AV2255PMIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/instar/instar.h

    r35885 r40745  
    4848                                else if(getconfigint("instar_1", NULL) == 3)
    4949                                        tmpstr = ostrcat(cam1, "/onvif/GetSnapshotUri", 0, 0);
     50                                else if(getconfigint("instar_1", NULL) == 4)
     51                                        tmpstr = ostrcat(cam1, "/image", 0, 0);
    5052                                else
    5153                                        tmpstr = ostrcat(cam1, "/snapshot.cgi", 0, 0);
     
    6365                                else if(getconfigint("instar_2", NULL) == 3)
    6466                                        tmpstr = ostrcat(cam2, "/onvif/GetSnapshotUri", 0, 0);
     67                                else if(getconfigint("instar_2", NULL) == 4)
     68                                        tmpstr = ostrcat(cam2, "/image", 0, 0);
    6569                                else
    6670                                        tmpstr = ostrcat(cam2, "/snapshot.cgi", 0, 0);
     
    236240        addchoicebox(typCam1, "2", "2");
    237241        addchoicebox(typCam1, "3", "3");
     242        addchoicebox(typCam1, "4", "4");
    238243        setchoiceboxselection(typCam1, getconfig("instar_1", NULL));
    239244        changemask(ipCam1, "abcdefghijklmnopqrstuvwxyz");
     
    253258        addchoicebox(typCam2, "2", "2");
    254259        addchoicebox(typCam2, "3", "3");
     260        addchoicebox(typCam2, "4", "4");
    255261        setchoiceboxselection(typCam2, getconfig("instar_2", NULL));
    256262        changemask(ipCam2, "abcdefghijklmnopqrstuvwxyz");
Note: See TracChangeset for help on using the changeset viewer.