question

newuser-0c613431-f6d9-4ef2-8508-64bde0330f19 avatar image

How to stop streaming from "Smart Home Camera Skill"?

It shows real-time camera stream to user with "Smart Home Camera Skill". "echo show" should be automatically stopped after 1 minute from the start of playback. What should I do?

my skill response is :

{
    "event": {
        "payload": {
            "cameraStreams": [
                {
                    "protocol": "RTSP",
                    "expirationTime": "2018-02-23T09:58:32.29Z",
                    "authorizationType": "NONE",
                    "idleTimeoutSeconds": 30,
                    "audioCodec": "G711",
                    "uri": "rtsp://streamurl",
                    "resolution": {
                        "width": 1280,
                        "height": 720
                    },
                    "videoCodec": "H264"
                }
            ]
        },
        "header": {
            "payloadVersion": "3",
            "namespace": "Alexa.CameraStreamController",
            "name": "Response",
            "messageId": "......",
            "correlationToken": "........"
        }
    }
}


alexa smart homecamera
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jenn@amazon avatar image
Jenn@amazon answered

The Smart Home Camera Interface is intended to play the Live Stream. It assumes the user will request the playback to stop when they're finished.

To limit the playback length, your service should limit the length of the stream sent in the request.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-25efd199-1833-4acb-a01a-a670b106b092 avatar image
newuser-25efd199-1833-4acb-a01a-a670b106b092 answered

just say "Alexa, stop",then EchoShow will disconnect actively

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.