SDK Windows WebCamera

自定义方法调用


        webCamera.doCustomCall({
            method: '',// get/post;如果为空,默认为post
            url: 'device=isconnect',// 端口/后面的路径
            data: {
            },// 可以是对象,也可以是字符串
            success: function (data) {// 成功回调
                console.log(data)
            },
            error: function (err) {// 失败回调
                console.log(err)
            }
        })