cancel
Showing results for 
Search instead for 
Did you mean: 

WebRTC Camera with Google Home App

kakopappa
Community Member

Wondering whether for WebRTC camera, action.devices.commands.GetCameraStream accepts  status: "PENDING" type of response. So that the partner cloud could send a request to the IOT device to generate a response and send it later rather than sending an immediate response.

 

1 Recommended Answer

sipriyadarshi
Solutions Expert
Solutions Expert

It is not possible for the partner cloud to send a request to the IoT devices to generate a response and send it later rather than an immediate response. The whole idea of WebRTC is peer to peer. If you want to implement what you are trying to implement you can try making use of some other protocol. However, if you have a special requirement of loading some media transfers you can leverage Turn Server.

View Recommended Answer in original post

2 REPLIES 2

sipriyadarshi
Solutions Expert
Solutions Expert

It is not possible for the partner cloud to send a request to the IoT devices to generate a response and send it later rather than an immediate response. The whole idea of WebRTC is peer to peer. If you want to implement what you are trying to implement you can try making use of some other protocol. However, if you have a special requirement of loading some media transfers you can leverage Turn Server.

lagend
Community Member

As of my last knowledge update in September 2021, the Google Actions API for camera devices, including the command, does not support the "PENDING" status for delayed responses.

When a user triggers a camera stream request using the command, the expectation is to receive an immediate response with the camera stream data. The API does not provide a mechanism for delayed or asynchronous responses to this command.

However, it's worth noting that the technology and APIs related to smart home devices and WebRTC may have evolved since my last update. Google might have introduced new features or capabilities to handle delayed responses in the API.

For the most accurate and up-to-date information regarding the capabilities of the Google Actions API for camera devices, I recommend checking the official Google Actions documentation or reaching out to Google's developer support. They can provide you with the latest information on what features are supported and how to implement them in your specific use case.