Isaac Connor
2325c08a75
Add setting player at view time
2025-05-12 17:54:00 -04:00
Isaac Connor
fe7842594b
Merge in Go2RTC setup
2025-05-11 17:36:47 -04:00
Isaac Connor
2b3f5058da
Merge branch 'master' into ai_server
2025-04-13 16:41:33 -04:00
IgorA100
63a54f776c
If browser does not support 'RTCPeerConnection', display message instead of image (MonitorStream.js)
2025-04-10 16:44:25 +03:00
IgorA100
c5f14170ed
If codec is not supported, display message instead of image (MonitorStream.js)
2025-04-10 16:33:29 +03:00
IgorA100
9db8a2ee34
Control RTCPeerConnection and video codec support, stop all monitors when closing the page, etc. (MonitorStream.js)
...
Added this.name and this.capturing to monitor stream
this.capturing is not used yet.
If the browser does not support "RTCPeerConnection", then warn in the console, avoid errors and repeated restarts
When closing the page, not only close the Web socket for MSE, but also stop all monitors. This is more correct, since it will allow you to avoid a number of errors when closing the page.
If the codec is not supported by the browser - there is no point in performing repeated restarts. Just stop.
2025-04-10 15:06:27 +03:00
Isaac Connor
4300a5872d
Merge pull request #4288 from IgorA100/patch-193100
...
Fix: Requires using MediaSourse existence check (MonitorStream.js)
2025-04-03 14:17:47 -04:00
IgorA100
45d480445e
Fix: Show more information in console when outputting "Image stream has loaded!..." message (MonitorStream.js)
2025-04-03 13:58:41 +03:00
IgorA100
fcd0520190
Fix: Requires using MediaSourse existence check (MonitorStream.js)
2025-04-02 23:53:30 +03:00
Isaac Connor
b7b87e50c9
Merge pull request #4286 from IgorA100/patch-44013
...
Fix: Using RTSP2Web type MSE. If WebSocket is not ready, then do not add packets to the buffer, this will cause an error (MonitorStream.js)
2025-04-02 13:37:24 -04:00
IgorA100
b1fadf96c1
Place the "readyState" check above (MonitorStream.js)
2025-04-02 17:02:03 +03:00
IgorA100
40a2ef82f9
Fix: It is necessary to check the state of not WebSocket but MediaSource (MonitorStream.js)
2025-04-02 16:37:52 +03:00
IgorA100
7282177a53
Fix: Prevent error on startRTSP2WebPlay() if RTCPeerConnection was previously created (MonitorStream.js)
2025-04-02 16:16:14 +03:00
IgorA100
3a68091500
Fix: Using RTSP2Web type MSE. If the socket is not ready, then do not add packets to the buffer, this will cause an error (MonitorStream.js)
2025-04-02 13:04:57 +03:00
IgorA100
780729e4a7
Fix: When connection is lost using RTSP2Web type==WebRTC, restart the stream (MonitorStream.js)
2025-04-02 11:59:36 +03:00
Isaac Connor
f57d61e09c
Include id in scale message
2025-03-31 15:06:40 -07:00
IgorA100
50232ca247
Remove extra space (MonitorStream.js)
2025-03-28 10:22:53 +03:00
IgorA100
8af23bac05
Fix: Use addEventListener 'beforeunload' instead of window.onbeforeunload (MonitorStream.js)
...
Because there can be multiple "beforeunload" event handlers on one page and they all must be executed.
2025-03-28 10:18:14 +03:00
IgorA100
12c8fc8a40
Fix: Set this.started = false when initializing "MonitorStream" & wsMSE restart stream when error (MonitorStream.js)
...
Also added: If wsMSE socket error occurs, restart the stream.
2025-03-16 15:29:12 +03:00
IgorA100
16c984066f
Fix: Don't lose "this" environment when calling "setTimeout" (MonitorStream.js)
...
And also remove the unnecessary check "&& this.streamStartTime !==0" when analyzing stream delay
2025-02-27 19:49:32 +03:00
IgorA100
31b66692df
Missing semicolon (MonitorStream.js)
2025-02-27 15:53:25 +03:00
IgorA100
e6ec2d3c6a
Remove unused code + do not analyze the stream lag until the stream has started (MonitorStream.js)
2025-02-27 15:50:06 +03:00
IgorA100
b0ab258207
Chore: Eslint fix (MonitorStream.js)
2025-02-27 13:55:32 +03:00
IgorA100
4ea26148ee
Ability to switch Primary/Secondary stream for RTSP2Web (MonitorStream.js)
...
1. RTSP2Web type MSE has been implemented to work more correctly.
2. Minor fixes
2025-02-27 13:11:03 +03:00
IgorA100
92cead92b2
Added support for selecting Secondary stream for RTSP2Web (MonitorStream.js)
2025-02-22 21:18:32 +03:00
Isaac Connor
9afec506a9
Merge pull request #4217 from IgorA100/patch-836420
...
The most correct transmission of RTSP stream with audio support when using RTSPToWeb
2025-02-12 16:05:20 -05:00
IgorA100
234b21d42f
Correctly stop RTSP2Web Type HLS when executing "MonitorStream.stop()" (MonitorStream.js)
...
1. Correctly stop RTSP2Web Type HLS when executing "MonitorStream.stop()"
2. Merged with Fix: Stop RTSP2Web Type HLS when stream stops #4214
2025-02-02 20:47:31 +03:00
IgorA100
4eff84b80e
Fix: URL parameters for RTSP2Web Type MSE (MonitorStream.js)
...
You can't combine the path and search parameters in one line, because there may be problems, for example the "?" sign will be converted to "%3F and the socket will not be created!
2025-02-02 17:06:19 +03:00
IgorA100
32badf1b6c
Fis space (MonitorStream.js)
2025-02-02 14:42:59 +03:00
IgorA100
b65fb1bbdb
Fix space (MonitorStream.js)
2025-02-02 14:37:28 +03:00
IgorA100
33ec46d941
Fix Eslint (MonitorStream.js)
2025-02-02 14:31:01 +03:00
IgorA100
d38472597e
The most correct transmission of RTSP stream with audio support (MonitorStream.js)
2025-02-02 14:14:15 +03:00
IgorA100
1d78a10cc1
Fix: Stop RTSP2Web (close RTCPeerConnection) when playback stops (MonitorStream.js)
2025-01-28 23:11:43 +03:00
Isaac Connor
3307c9ea90
Don't log cant edit
2025-01-07 16:55:02 -05:00
Isaac Connor
1de8d76cae
Remove debug of forceAlarmButton
2024-10-29 13:31:11 -04:00
Isaac Connor
ce1a1b87e9
Only try to send a command to enable analysis frames if we are streaming through zms. prevents an error being logged
2024-10-22 16:18:31 -04:00
Isaac Connor
c2fe3ce1e8
Fix eslint
2024-10-15 18:10:05 -04:00
Isaac Connor
e306dcf972
Merge pull request #4163 from IgorA100/patch-180200
...
Chore: Removed the use of the "delay" constant as it is no longer used when starting monitors on the Montage page
2024-10-03 06:51:14 -04:00
IgorA100
5790a0d03b
Recovered spaces that I accidentally deleted (MonitorStream.js)
2024-10-02 19:35:54 +03:00
IgorA100
701d485773
Removed the "delay" argument from the "start" function as it is no longer used (MonitorStream.js)
2024-10-02 19:33:37 +03:00
IgorA100
8843d8c18a
Fix: Restored monitors start with delay (MonitorStream.js)
...
Probably it broke at some point. Or maybe it never worked, but in montage.js monitors start with a delay:
"monitor.start(delay);"
2024-10-02 13:37:05 +03:00
Isaac Connor
35f2dee620
add setGridStack. Rework logic on enable/disable motion anf force/cancel alarm to match when using rtsp2web. Add support for score and analysing in status response.
2024-10-01 17:13:30 -04:00
Isaac Connor
53ffcd4121
In play/pause, start/stop rtsp2web as well as zms stream. Also stop status requests. Rework the enable/disable alarms and force alarm buttons when using rtsp2web.
2024-09-25 14:54:58 -04:00
Isaac Connor
2ca08fb546
Track started state for RTSP2Web and Janus as well
2024-09-06 09:33:55 -04:00
Isaac Connor
1e4bb4798e
Update auth in zms url when scaling as it may have been running for a while and need updating
2024-08-22 14:57:28 -04:00
Isaac Connor
37e7da4dfa
Don't keep our own copy of auth credentials. Use the global ones. When getting new auth from status request, update auth_relay as well.
2024-07-30 09:54:37 -04:00
Isaac Connor
43e21a3200
Update auth_hash in zms url
2024-06-28 14:33:59 -04:00
Isaac Connor
22f3910953
Use statusRefreshTimeout instead of delay on status requests. If new auth info is found in statusresponse, use it.
2024-06-06 18:10:53 -04:00
IgorA100
7d86df0c04
Chore: eslint MonitorStream.js
2024-05-31 01:04:03 +03:00
IgorA100
5706bf2ade
Added $streamQuality processing (MonitorStream.js)
2024-05-31 00:51:49 +03:00