Hi,
I'm just trying to connect with my cheap-ass-security-camera using your package. This partially succeeds. So thank you for your package!
I'm using the code 'example6.js'. I see that that the call parseNode(data.topicSet, '') does not succeed as my camera does not return "topicSet". If i do console.log(data), i see the following object:
Found Event - /MOTIONALARM
Source={"simpleItemDescription":{"$":{"Name":"VideoSourceToken","Type":"tt:ReferenceToken"}}}
Data={"simpleItemDescription":{"$":{"Name":"State","Type":"xsd:boolean"}}}
Subscribed to events
Hi, I'm just trying to connect with my cheap-ass-security-camera using your package. This partially succeeds. So thank you for your package!
I'm using the code 'example6.js'. I see that that the call
parseNode(data.topicSet, '')
does not succeed as my camera does not return "topicSet". If i doconsole.log(data)
, i see the following object:console.log(JSON.stringify(data));
gives:If i change the code to parse both nodes:
I see in the output:
type:
let receveUrl
=>let receiveUrl