local cameras = require("cameras")
cameras.create_audio_stream( "588b7eb528b12d03be86f36f", {
type = "PUT",
url = "http://192.168.42.55:3580/ISAPI/System/TwoWayAudio/channels/1/audioData",
user = "admin",
password = "password",
headers = {
["Content-Type"] = "application/octet-stream",
["Content-Length"] = "0",
Connection = "keep-alive"
}
}
)
local cameras = require("cameras")
cameras.create_audio_stream( "588b7eb528b12d03be86f36e", {
format = "fc",
address = "192.168.0.212",
port = 49587,
magic = "EZLO"
user = "admin",
password = "password",
}
)