zoneminder/src
Isaac Connor eae89025ee refactor: rename RTSP2WebStream to StreamChannel
Rename applies to Go2RTC, Janus, and RTSP2Web streaming options.
Update enum values from Primary/Secondary to Restream/CameraDirectPrimary/CameraDirectSecondary.

- Add db migration zm_update-1.37.79.sql to rename column and migrate data
- Update C++ enum StreamChannelOption and member stream_channel
- Update PHP getStreamChannelOptions() method
- Update all JavaScript references
- Auto-select CameraDirectPrimary when Restream option becomes disabled

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 19:37:08 -05:00
..
CMakeLists.txt Add av1 support 2026-01-31 12:43:03 -05:00
bindings.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
jinclude.h
zm.cpp Move exit_zms to exit_zm in zm.cpp 2026-01-05 16:36:36 -05:00
zm.h Move exit_zms to exit_zm in zm.cpp 2026-01-05 16:36:36 -05:00
zm_analysis_thread.cpp Add Join() function 2024-10-26 14:29:40 -04:00
zm_analysis_thread.h Add Join() function 2024-10-26 14:29:40 -04:00
zm_box.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_buffer.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_buffer.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_camera.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_camera.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_comms.cpp zm::Select: Convert API to std::chrono 2021-06-13 23:22:51 +02:00
zm_comms.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_config.cpp Add a test for id > n_items to handle and incomplete db config 2025-11-08 09:22:28 -05:00
zm_config.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_config_data.h.in misc: Move ZM_HAS_* defines to zoneminder-config.cmake 2021-05-31 23:29:29 +02:00
zm_crypt.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_crypt.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_crypto_generics.h Misc: Rename namespace ZM to zm 2021-06-06 19:11:11 +02:00
zm_crypto_gnutls.h Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
zm_crypto_openssl.h Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
zm_db.cpp Store error reason so it doesn't get clobbered by second attempt. 2025-07-23 13:25:43 -04:00
zm_db.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_decoder_thread.cpp Add Join() function 2024-10-26 14:29:40 -04:00
zm_decoder_thread.h Add Join() function 2024-10-26 14:29:40 -04:00
zm_define.h zm_define: Include cstddef so we have size_t 2021-05-16 16:42:58 +02:00
zm_event.cpp Update Storage DiskSpace once event has been finalized. As we decrement DIskSpace on event deletion, we were getting negative DIskSpace in the Storage table. 2026-01-28 15:15:59 -05:00
zm_event.h Update Storage DiskSpace once event has been finalized. As we decrement DIskSpace on event deletion, we were getting negative DIskSpace in the Storage table. 2026-01-28 15:15:59 -05:00
zm_event_tag.cpp Add tags support to events. 2025-07-05 08:09:09 -04:00
zm_event_tag.h Add tags support to events. 2025-07-05 08:09:09 -04:00
zm_eventstream.cpp Split out seeking code into ::seek. Test for no rows returned when loading by monitor_id and time. Use SystemTimePoint instead of time_t. Add setStreamStart(event_id, time) 2026-01-05 16:37:30 -05:00
zm_eventstream.h Split out seeking code into ::seek. Test for no rows returned when loading by monitor_id and time. Use SystemTimePoint instead of time_t. Add setStreamStart(event_id, time) 2026-01-05 16:37:30 -05:00
zm_exception.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_exception.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_ffmpeg.cpp Cleanup hw_pix_fmt and get_hw_format 2026-01-26 14:40:10 -05:00
zm_ffmpeg.h Cleanup hw_pix_fmt and get_hw_format 2026-01-26 14:40:10 -05:00
zm_ffmpeg_camera.cpp Cleanup hw_pix_fmt and get_hw_format 2026-01-26 14:40:10 -05:00
zm_ffmpeg_camera.h Cleanup hw_pix_fmt and get_hw_format 2026-01-26 14:40:10 -05:00
zm_ffmpeg_input.cpp Actually return nothing when we hit EOF 2025-11-11 14:10:34 -05:00
zm_ffmpeg_input.h Cleanup constructor and add the new codec_data stuff to try out multiple codecs 2025-09-22 09:52:25 -04:00
zm_ffmpeg_output.cpp Deprecate zm_av_frame_alloc 2025-09-18 14:48:52 -04:00
zm_ffmpeg_output.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_fifo.cpp Log pipe size mutate / access errors 2024-01-26 05:07:05 +03:00
zm_fifo.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_fifo_debug.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_fifo_debug.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_fifo_stream.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_fifo_stream.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_file_camera.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_file_camera.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_font.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_font.h Utils: Add our own ASSERT macro 2021-05-30 21:41:58 +02:00
zm_frame.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_frame.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_group.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_group.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_group_permission.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_group_permission.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_image.cpp Allocate the temp frame inside Assign, instead of keeping it around. 2026-01-22 20:54:00 -05:00
zm_image.h Allocate the temp frame inside Assign, instead of keeping it around. 2026-01-22 20:54:00 -05:00
zm_image_analyser.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_image_analyser.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_jpeg.cpp Change various cases of int img_buffer_size to size_t 2025-07-19 14:18:32 -04:00
zm_jpeg.h Change various cases of int img_buffer_size to size_t 2025-07-19 14:18:32 -04:00
zm_libvlc_camera.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_libvlc_camera.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_libvnc_camera.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_libvnc_camera.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_line.h Polygon: Implement clipping to a boundary box 2021-05-16 19:41:45 +02:00
zm_local_camera.cpp Make most Fatals into Errors 2026-01-29 18:50:42 -05:00
zm_local_camera.h Make most Fatals into Errors 2026-01-29 18:50:42 -05:00
zm_logger.cpp Merge pull request #4518 from ZoneMinder/copilot/fix-time-t-format-specifier 2026-01-05 18:30:08 -05:00
zm_logger.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_mem_utils.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitor.cpp refactor: rename RTSP2WebStream to StreamChannel 2026-01-31 19:37:08 -05:00
zm_monitor.h refactor: rename RTSP2WebStream to StreamChannel 2026-01-31 19:37:08 -05:00
zm_monitor_amcrest.cpp move Event_Poller_Closes_Event into ONVIF as it only matters to ONVIF. Remove it from Amcrest. 2026-01-14 13:28:52 -05:00
zm_monitor_go2rtc.cpp refactor: rename Janus_Use_RTSP_Restream to Restream 2026-01-31 18:47:37 -05:00
zm_monitor_janus.cpp refactor: rename Janus_Use_RTSP_Restream to Restream 2026-01-31 18:47:37 -05:00
zm_monitor_monitorlink.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitor_onvif.cpp Make warning about subscription ending a debug 2026-01-31 18:04:49 -05:00
zm_monitor_onvif.h fix: resolve ONVIF reconnection failures and use-after-free bug 2026-01-30 15:14:45 -05:00
zm_monitor_permission.cpp Make permission values 0 based but stsarting with UNKNOWN because when doing permission+0 in SQL, we get a 1-based value 2022-11-03 18:28:23 -04:00
zm_monitor_permission.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitor_rtsp2web.cpp Improve RTSP2Web object init 2025-09-20 08:47:14 -04:00
zm_monitorlink_expression.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitorlink_expression.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitorlink_token.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_monitorstream.cpp Use std::shared_ptr to fix memory leak due to use of GetSnapshot and not freeing the returned packet. 2026-01-20 16:18:43 -05:00
zm_monitorstream.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_mpeg.cpp Deprecate zm_av_frame_alloc 2025-09-18 14:48:52 -04:00
zm_mpeg.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_mqtt.cpp Fix definition of on_publish 2024-10-29 13:30:29 -04:00
zm_mqtt.h Fix definition of on_publish 2024-10-29 13:30:29 -04:00
zm_packet.cpp Clean up error case return code 2026-01-27 09:00:01 -05:00
zm_packet.h Put locking debugging back at level 4 2026-01-27 08:04:35 -05:00
zm_packetqueue.cpp refactor: restructure Decode() and fix PacketQueue locking issues 2026-01-27 11:18:50 -05:00
zm_packetqueue.h Add wait parameter to increment_it. Sometimes we should wait and sometimes not. 2026-01-27 09:30:28 -05:00
zm_poll_thread.cpp Don't need zm_time, should have zm_logger 2025-09-25 10:09:33 -04:00
zm_poll_thread.h Adds ONVIF Motion Detection Support 2022-01-06 16:45:15 -06:00
zm_poly.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_poly.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_regexp.cpp Port to PCRE2 (Closes: #3384). 2025-02-26 21:04:32 +11:00
zm_regexp.h Port to PCRE2 (Closes: #3384). 2025-02-26 21:04:32 +11:00
zm_remote_camera.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_remote_camera.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_remote_camera_http.cpp Port to PCRE2 (Closes: #3384). 2025-02-26 21:04:32 +11:00
zm_remote_camera_http.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_remote_camera_nvsocket.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_remote_camera_nvsocket.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_remote_camera_rtsp.cpp Removing avcodec_close, avcodec_free_context is replacement and been around since 2014, so should be no reason to version test. 2024-09-14 11:06:55 +10:00
zm_remote_camera_rtsp.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rgb.h Fix brg_to_yuv 2025-09-18 10:07:50 -04:00
zm_rtp.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtp.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtp_ctrl.cpp If an invalid port is specified, don't actually start the rtp threads. They don't get used in RTP/RTSP. Fixes #3759 2024-09-13 13:20:26 -04:00
zm_rtp_ctrl.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtp_data.cpp If an invalid port is specified, don't actually start the rtp threads. They don't get used in RTP/RTSP. Fixes #3759 2024-09-13 13:20:26 -04:00
zm_rtp_data.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtp_source.cpp Replace C-style casts with C++ static_cast for intmax_t 2026-01-05 13:36:16 +00:00
zm_rtp_source.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_auth.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_auth.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server.cpp Add av1 support 2026-01-31 12:43:03 -05:00
zm_rtsp_server_adts_source.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_adts_source.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_authenticator.h Fix Authenticate as nonce is now internal 2026-01-09 11:43:15 -05:00
zm_rtsp_server_device_source.cpp Replace C-style casts with C++ static_cast for intmax_t 2026-01-05 13:36:16 +00:00
zm_rtsp_server_device_source.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_adts_source.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_adts_source.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_audio_source.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_audio_source.h Add av1 support 2026-01-31 12:43:03 -05:00
zm_rtsp_server_fifo_av1_source.cpp Add zm_rtsp_server_fifo_av1_source 2026-01-31 16:19:38 -05:00
zm_rtsp_server_fifo_av1_source.h Add zm_rtsp_server_fifo_av1_source 2026-01-31 16:19:38 -05:00
zm_rtsp_server_fifo_h264_source.cpp fix: prevent underflow and type mismatch in H264 fifo source 2026-01-30 15:30:40 -05:00
zm_rtsp_server_fifo_h264_source.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_source.cpp fix: multiple issues in zm_rtsp_server_fifo_source 2026-01-30 14:49:53 -05:00
zm_rtsp_server_fifo_source.h fix: multiple issues in zm_rtsp_server_fifo_source 2026-01-30 14:49:53 -05:00
zm_rtsp_server_fifo_video_source.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_fifo_video_source.h Add av1 support 2026-01-31 12:43:03 -05:00
zm_rtsp_server_frame.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_server_media_subsession.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_server_media_subsession.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_unicast_server_media_subsession.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_rtsp_server_unicast_server_media_subsession.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_sdp.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_sdp.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_sendfile.h Fix complaint 2023-01-18 16:01:42 -05:00
zm_server.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_server.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_signal.cpp fix: improve crash backtrace on ARM and fix misleading signal info 2026-01-30 15:09:02 -05:00
zm_signal.h fix: improve crash backtrace on ARM and fix misleading signal info 2026-01-30 15:09:02 -05:00
zm_storage.cpp Trim any trailing / from storage path. Can cause problems 2025-07-19 16:54:51 -04:00
zm_storage.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_stream.cpp Change various cases of int img_buffer_size to size_t 2025-07-19 14:18:32 -04:00
zm_stream.h Init last_fps_update in stream constructor 2024-10-22 18:32:31 -04:00
zm_swscale.cpp Deprecate zm_av_frame_alloc 2025-09-18 14:48:52 -04:00
zm_swscale.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_tag.cpp Add tags support to events. 2025-07-05 08:09:09 -04:00
zm_tag.h Add tags support to events. 2025-07-05 08:09:09 -04:00
zm_time.cpp Introduce SystemTimePOintToMysqlString 2026-01-24 11:17:57 -05:00
zm_time.h Introduce SystemTimePOintToMysqlString 2026-01-24 11:17:57 -05:00
zm_uri.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_uri.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_user.cpp Add ::find methods and getAuthHash 2025-08-05 14:13:39 -04:00
zm_user.h Add ::find methods and getAuthHash 2025-08-05 14:13:39 -04:00
zm_utils.cpp Move escape_json_string and remove_newlines to zm_utils 2025-06-26 14:53:38 -04:00
zm_utils.h Move escape_json_string and remove_newlines to zm_utils 2025-06-26 14:53:38 -04:00
zm_vector2.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_videostore.cpp Apparently we have to drain packets out of the encoder BEFORE we go into flushing mode or else we may hang. 2026-01-22 22:17:16 -05:00
zm_videostore.h Move codec_data from videostore to ffmpeg. Add dec_codecs and add a function to return relevant codec_data and setup hw_ctx. 2025-09-18 09:27:31 -04:00
zm_zone.cpp Remove unused row index in zone load loop 2025-12-31 22:18:32 +11:00
zm_zone.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zm_zone_stats.h Format code using astyle google format 2024-03-26 13:43:58 -05:00
zmbenchmark.cpp Format code using astyle google format 2024-03-26 13:43:58 -05:00
zmc.cpp Only log a capture failure if we aren't terminated 2026-01-15 16:31:22 -05:00
zms.cpp Move exit_zms to zm.cpp exit_zm. Add time= parsing and prefer loading by event_id if specified 2026-01-05 16:38:35 -05:00
zmu.cpp Remove unused loop index in zmu list output 2025-12-31 22:29:37 +11:00