diff --git a/webui/web/css/main.css b/webui/web/css/main.css index 83079ba..832f78e 100644 --- a/webui/web/css/main.css +++ b/webui/web/css/main.css @@ -1110,6 +1110,29 @@ body { height: 18px; } +/* Info icon inside stream type badge */ +.info-icon-stream { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + width: 16px; + height: 16px; + margin-left: var(--space-2); + cursor: help; + color: var(--text-tertiary); + transition: color var(--transition-fast); +} + +.info-icon-stream:hover { + color: var(--purple-primary); +} + +.info-icon-stream svg { + width: 16px; + height: 16px; +} + .frigate-output-section { margin-top: var(--space-6); padding-top: var(--space-6); diff --git a/webui/web/js/mock/mock-stream-api.js b/webui/web/js/mock/mock-stream-api.js index 94dcc71..8ce1b24 100644 --- a/webui/web/js/mock/mock-stream-api.js +++ b/webui/web/js/mock/mock-stream-api.js @@ -53,14 +53,14 @@ export class MockStreamAPI { has_audio: false }, { - url: "rtsp://192.168.1.100:554/Streaming/Channels/102", - path: "/Streaming/Channels/102", - type: "FFMPEG", - resolution: "640x480", + url: "bubble://192.168.1.100:34567/bubble/live?ch=0&stream=0", + path: "/bubble/live?ch=0&stream=0", + type: "BUBBLE", + resolution: "1920x1080", codec: "H.264", - fps: 15, - bitrate: 512000, - has_audio: false + fps: 25, + bitrate: 3072000, + has_audio: true }, { url: "rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0", @@ -71,36 +71,6 @@ export class MockStreamAPI { fps: 30, bitrate: 6144000, has_audio: true - }, - { - url: "rtsp://192.168.1.100:554/h264Preview_01_main", - path: "/h264Preview_01_main", - type: "FFMPEG", - resolution: "1920x1080", - codec: "H.264", - fps: 20, - bitrate: 3072000, - has_audio: true - }, - { - url: "rtsp://192.168.1.100:554/live/ch0", - path: "/live/ch0", - type: "ONVIF", - resolution: "2688x1520", - codec: "H.265", - fps: 25, - bitrate: 5120000, - has_audio: true - }, - { - url: "rtsp://192.168.1.100:554/stream1", - path: "/stream1", - type: "FFMPEG", - resolution: "3840x2160", - codec: "H.265", - fps: 30, - bitrate: 8192000, - has_audio: true } ]; } diff --git a/webui/web/js/ui/stream-list.js b/webui/web/js/ui/stream-list.js index bddc934..5d51a94 100644 --- a/webui/web/js/ui/stream-list.js +++ b/webui/web/js/ui/stream-list.js @@ -30,6 +30,7 @@ export class StreamList {