Closed amiya-elear closed 4 years ago
There is no command that the Assistant will send when the stream is ended.
If you do have multiple camera streams at one time I'm not sure what will happen. It may provide a disambiguation prompt to select a particular TV.
Thanks, Fleker for your response.
We are generating an HLS stream on-demand whenever we receive a request to start camera streaming from google home. We need a way to stop the HLS generation micro-service once the user has stopped watching the stream. If not our service will keep running forever. Kindly help with a few suggestions.
@amiya-elear I would suggest reporting a platform issue at https://issuetracker.google.com/issues/new?component=655104&template=1284148, as this project only track issues related to the Java sample.
Hi Team,
I have written one google home action to stream data from a camera to Chromecast here is my code.
when I am saying to google assistance "show camera in bedroom tv" it's able to stream the data from hardcoded HSL URL to Chromecast (set as deb room Tv) and to stop the stream I am saying "cancel" its stop the stream but in my action application, I am not getting any request for stop stream. I have to handle some error cases(like stream close properly or not ) when I am saying cancel google assistance directly stoping the stream not even sending any request to my action application for stop stream(cancel request)
1: How to get an end stream or stop stream request in my action application for a camera stream? 2: What is the right way to stop a particular camera stream ? as I check there is not traits to stop a camera stream in the documentation. 3:If cancel is the right way to stop camera stream then if I have multiple cameras streaming in different devices(TV1,TV2, TV3) how it will decide which camera to stop?