Hypnos3/node-red-contrib-cast

How to stop streaming

ChrisSutton123 opened this issue · 7 comments

DoorCamera.txt

I can successfully stream my door camera to my google nest hub. However I am unable to stop the stream gracefully.
Attached is my node-red flow. What am I doing wrong? Thank you

I have same problem. want to be able to send at "stop stream" command but how?

Is this possible?

I found a workaround to make it stop.

I just play a sec. "of nothing".
A change node with "set msg.duration to 1"

[{"id":"53d91dd8.67b924","type":"change","z":"cc5bd9e5.26e4a8","name":"stop","rules":[{"t":"set","p":"duration","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":280,"wires":[["a21f1807.41d7f8"]]}]

Has anyone gotten the msg.duration to successfully send with the original cast? I set it in the flow and no errors occur but it just runs until it times out in 10 minutes. My purpose is the front door camera. I did try thomas's above node but mine still continues to play what was originally played. No errors.

workaround doesn't work for me either

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.