@DavinD
Based on the log everything appears to be working.
The Monocle Gateway is fully working. (token, network, listeners, etc)
The Alexa device is connecting to the gateway. (port 433, SSL, TCP connectoins)
The gateway is connecting to the IP camera. (digest auth, RTSP negotiation)
RTSP stream setup and playback is completed. (DESCRIBE, SETUP, PLAY)
However, despite all this success the stream is timing out after just under 1 minute. (see log snippet below)
--> IP CAMERA PLAYING STREAM ...
2019-12-10T05:58:23.620Z [INFO] [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
--> IP CAMERA STREAM FORWARED TO ALEXA ...
2019-12-10T05:58:23.620Z [INFO] [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
--> ALEXA TERMINATES CONNECTION TO GATEWAY ...
2019-12-10T05:59:27.840Z [INFO] [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT SOCKET CLOSED
2019-12-10T05:59:27.842Z [INFO] [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT DETACHED FROM STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
--> GATEWAY TERMINATES CONNECTION TO IP CAMERA ...
2019-12-10T05:59:27.844Z [INFO] [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.113:50322 <H1D-4h3pr>]
It’s the Alexa device that is terminating the connection. Presumably there is something about the stream that Alexa does not like.
Can you make sure the camera is configured to use H.264 video codec and not H.265. Some of these camera’s use H.265 by default. Base on the log it already looks correct, but let check and make sure.
You might trying the main stream instead of the sub stream. You may have to lower the stream resolution on the camera itself to 1080P or lower depending on which Alexa device you are using.
You can try adding @noaudio to the tags so that you have both: @tunnel, @noaudio. This will strip the audio channel from the stream. Alexa is very picky about audio stream, so it may be worth a try without the audio just to see.
Thanks, Robert