Data['id'] > 1 ){
$Data['status'] = 'error';
$HID = intval( $_POST['HID'] );
switch( $HID ){
case 32:{
$TOPIC = 'Database Logging';
$INFO_BREEF = 'Log all Application messages trought Database';
$HELP_FULL = 'Enabling this option will give ability to read messages prduced by businesslogic engine via web user interface';
break;
};
case 33:{
$TOPIC = 'Session Timeout';
$INFO_BREEF = 'Set the Session ending timeout';
$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
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';
break;
};
case 34:{
$TOPIC = 'Media Encoder Count';
$INFO_BREEF = 'Set the Maximal count of Media Encoder instances to work simultaniously on Server';
$HELP_FULL = 'The Media Encoder is used to reencode media that came from the Station Module.
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.';
break;
};
case 35:{
$TOPIC = 'SCADA Alarm Time';
$INFO_BREEF = 'Set the time out to emmit SCADA ALARM signal After Session Start';
$HELP_FULL = 'The parameter is a SECONDS
0 - will disable SCADA Alarm signals
Note: The Session Close will mitigate the SCADA Signal';
break;
};
case 312:{
$TOPIC = 'Video Container';
$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.';
$HELP_FULL = 'Types of Video Containers
The most common types of video containers include:
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.
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.
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.
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.
FLV (Flash Video): Previously dominant for online video streaming, FLV has declined in popularity with the decrease in support for Adobe Flash Player.
Each container has its own features and compatibility, influencing its use for different applications.';
break;
};
case 122:{
$TOPIC = 'Encoder Bitrate Setting';
$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.';
$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.';
break;
};
default:
$TOPIC = 'UNKNOWN HELP TOPIC';
$INFO_BREEF = 'UNKNOWN HELP TOPIC';
$HELP_FULL = 'UNKNOWN HELP TOPIC';
};
$SKEL=<< | {$TOPIC} |
| {$INFO_BREEF} |
'
},{
xtype: 'spacer',
height: 10
},{
xtype:'panel',
border: false,
frame: false,
html: '| {$HELP_FULL} |
'
},]
}
DATABOUNDARY;
$Data['status'] = 'ok';
$Data['content'] = $SKEL;
echo json_encode( $Data );
} else {
header('location: /');
};
?>