You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
4.6 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('../ajax_asm.php');
  3. if( $CUser->Data['id'] > 1 ){
  4. $Data['status'] = 'error';
  5. $HID = intval( $_POST['HID'] );
  6. switch( $HID ){
  7. case 32:{
  8. $TOPIC = 'Database Logging';
  9. $INFO_BREEF = 'Log all Application messages trought Database';
  10. $HELP_FULL = 'Enabling this option will give ability to read messages prduced by businesslogic engine via web user interface';
  11. break;
  12. };
  13. case 33:{
  14. $TOPIC = 'Session Timeout';
  15. $INFO_BREEF = 'Set the Session ending timeout';
  16. $HELP_FULL = 'This parameter is to set time window in which if arises any alarm from the same track it will continue the ongoing session<br/>On the other side, if there no alarms came from same track during selected value of time after last arised alarm then the session will be closed and placed into history';
  17. break;
  18. };
  19. case 34:{
  20. $TOPIC = 'Media Encoder Count';
  21. $INFO_BREEF = 'Set the Maximal count of Media Encoder instances to work simultaniously on Server';
  22. $HELP_FULL = 'The Media Encoder is used to reencode media that came from the Station Module.<br/> When there is an alarm on the track. The station module transfers recorded vide to the server and server makes re-encoding by Media Encoder instance. The Recorded Media file consist 1 minute of recording and re-encoding of that Media file usually tooks about 30 seconds.';
  23. break;
  24. };
  25. case 35:{
  26. $TOPIC = 'SCADA Alarm Time';
  27. $INFO_BREEF = 'Set the time out to emmit SCADA ALARM signal After Session Start';
  28. $HELP_FULL = 'The parameter is a SECONDS<br/>0 - will disable SCADA Alarm signals<br/><b>Note: The Session Close will mitigate the SCADA Signal</b>';
  29. break;
  30. };
  31. case 312:{
  32. $TOPIC = 'Video Container';
  33. $INFO_BREEF = 'Video containers, also known as container formats, are file formats that hold various types of media data, including video, audio, subtitles, and metadata.';
  34. $HELP_FULL = 'Types of Video Containers<br/>The most common types of video containers include:<br/>MP4 (MPEG-4 Part 14): Widely used for video streaming and distribution, MP4 is compatible with most devices and supports advanced content like 3D graphics and user interactivity.<br/>AVI (Audio Video Interleave): Introduced by Microsoft, AVI is a traditional format that can contain high-quality video and audio but often results in larger file sizes than other containers.<br/>MOV: Developed by Apple, MOV is the basis of the QuickTime framework and is popular in professional video editing environments due to its high quality and flexibility.<br/>MKV (Matroska Video): An open-source container with unlimited video, audio, picture, or subtitle tracks in one file, making it highly versatile for complex content.<br/>FLV (Flash Video): Previously dominant for online video streaming, FLV has declined in popularity with the decrease in support for Adobe Flash Player.<br/>Each container has its own features and compatibility, influencing its use for different applications.';
  35. break;
  36. };
  37. case 122:{
  38. $TOPIC = 'Encoder Bitrate Setting';
  39. $INFO_BREEF = 'Video bitrate is essentially any video data that is being transferred at any given moment. A high bitrate is essential for streamers, as it is what defines the quality of a video. Bitrate is a measurement of the amount of data used to encode a single second of video.';
  40. $HELP_FULL = 'On YouTube’s support page, a full breakdown of the best bitrate settings is given for YouTube video uploads. They recommend a bitrate of at least 5 Mbps for 720p videos, 8 Mbps for 1080p videos, 16 Mbps for 1440p videos, and 35-45 Mbps for 4K videos at standard frame rates. Check out the support page for further information.';
  41. break;
  42. };
  43. default:
  44. $TOPIC = 'UNKNOWN HELP TOPIC';
  45. $INFO_BREEF = 'UNKNOWN HELP TOPIC';
  46. $HELP_FULL = 'UNKNOWN HELP TOPIC';
  47. };
  48. $SKEL=<<<DATABOUNDARY
  49. {
  50. xtype: 'panel',
  51. border: false,
  52. frame: false,
  53. items:[{
  54. xtype:'panel',
  55. border: false,
  56. frame: false,
  57. html: '<table width="100%" border=0 class="setEd_infoPanel" id="LIBAV_LOGO"><tr><td width="200px"><div class="help_logo_img"></div></td><td valign="middle">{$TOPIC}</td></tr><tr><td colspan=2>{$INFO_BREEF}</td></tr></table><br/>'
  58. },{
  59. xtype: 'spacer',
  60. height: 10
  61. },{
  62. xtype:'panel',
  63. border: false,
  64. frame: false,
  65. html: '<table width="100%" border=0 class="setEd_infoPanel" id="IOVRY_BODY"><tr><td>{$HELP_FULL}</td></tr>'
  66. },]
  67. }
  68. DATABOUNDARY;
  69. $Data['status'] = 'ok';
  70. $Data['content'] = $SKEL;
  71. echo json_encode( $Data );
  72. } else {
  73. header('location: /');
  74. };
  75. ?>