evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 10 forks source link

Add stream info #384

Open Mebareksaf opened 9 months ago

Mebareksaf commented 9 months ago

Screenshot 2024-02-21 at 9 04 51 PM

gBillal commented 9 months ago
Mebareksaf commented 9 months ago
  • First don't use the back-end for this information, try subscribing to the hls events
  • Show the information on the top left of the video
  • They should be visible only if the user wants too (either add an icon on the top of the player, or use a context menu, or any other solution)
Screenshot 2024-02-23 at 4 41 43 PM
gBillal commented 9 months ago
Mebareksaf commented 9 months ago
  • You can still put the stats higher and don't mind the timestamp.
  • Make the font smaller
  • format the bit rate into kbps, mbps, ..etc and showw the unit.
  • The bandwidth should renamed to bitrate, and try to get the actual bandwidth of the user which is his connection bandwidth.
Screenshot 2024-02-23 at 6 06 28 PM
gBillal commented 9 months ago
Mebareksaf commented 9 months ago
  • [x] Make the factor 1000 and not 1024
  • [x] Show in kbps instead of mbps if the bit rate doesn't exceed 1 mbps (so 500 kbps instead of 0.5 mbps)
  • [x] Delete the paraenthesis around the unit
  • [x] Show a info icon in the top left of the player with appropriate opacity and hide the icon when the stats are visible.

I added the icon below the snapshot button, to offer a "toggling" experience instead of hiding it when the information are available

Screenshot 2024-02-24 at 2 00 58 PM