|
|
@@ -429,19 +429,80 @@ class deviceStatus(TemplateView):
|
|
|
"capabilities": [
|
|
|
{
|
|
|
"type": "AlexaInterface",
|
|
|
- "interface": "Alexa.CameraStreamController",
|
|
|
+ "interface": "Alexa.RTCSessionController",
|
|
|
"version": "3",
|
|
|
- "cameraStreamConfigurations": [
|
|
|
- {
|
|
|
- "protocols": ["RTSP"],
|
|
|
- "resolutions": [{"width": 1280, "height": 720}],
|
|
|
- "authorizationTypes": ["NONE"],
|
|
|
- "videoCodecs": ["H264"],
|
|
|
- "audioCodecs": ["ACC"],
|
|
|
- }
|
|
|
- ],
|
|
|
+ "configuration": {
|
|
|
+ "isFullDuplexAudioSupported": False,
|
|
|
+ "supportedProtocols": ["WEBRTC"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "AlexaInterface",
|
|
|
+ "interface": "Alexa.EndpointHealth",
|
|
|
+ "version": "3.1",
|
|
|
+ "properties": {
|
|
|
+ "supported": [
|
|
|
+ {"name": "connectivity"}
|
|
|
+ ],
|
|
|
+ "proactivelyReported": True
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "AlexaInterface",
|
|
|
+ "interface": "Alexa",
|
|
|
+ "version": "3"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "AlexaInterface",
|
|
|
+ "interface": "Alexa.SmartVision.SnapshotProvider",
|
|
|
+ "version": "1.1",
|
|
|
+ "configuration": {
|
|
|
+ "isAvailable": True,
|
|
|
+ "minRefreshIntervalInSeconds": 60
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "AlexaInterface",
|
|
|
+ "interface": "Alexa.SmartVision.ObjectDetectionSensor",
|
|
|
+ "version": "1.0",
|
|
|
+ "properties": {
|
|
|
+ "supported": [
|
|
|
+ {
|
|
|
+ "name": "objectDetectionClasses"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "proactivelyReported": True,
|
|
|
+ "retrievable": True
|
|
|
+ },
|
|
|
+ "configuration": {
|
|
|
+ "objectDetectionConfiguration": [
|
|
|
+ {
|
|
|
+ "imageNetClass": "person"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "AlexaInterface",
|
|
|
+ "interface": "Alexa.DataController",
|
|
|
+ "instance": "Camera.SmartVisionData",
|
|
|
+ "version": "1.0",
|
|
|
+ "properties": {},
|
|
|
+ "configuration": {
|
|
|
+ "targetCapability": {
|
|
|
+ "name": "Alexa.SmartVision.ObjectDetectionSensor",
|
|
|
+ "version": "1.0"
|
|
|
+ },
|
|
|
+ "dataRetrievalSchema": {
|
|
|
+ "type": "JSON",
|
|
|
+ "schema": "SmartVisionData"
|
|
|
+ },
|
|
|
+ "supportedAccess": [
|
|
|
+ "BY_TIMESTAMP_RANGE"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
}
|
|
|
endpoints.append(endpoint)
|
|
|
return endpoints
|