gggggggggggggggggggggghttps://itsegrtnet.cameranuvem.com.br/public/cameras/player?group_id=1103
// MOBILE - TRATAMENTO /* if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { window.location = "https://itsegrtnet.cameranuvem.com.br/mobileNotAvailable"; } */
var mainSideBarOpened = false; var mainSideBarFixed = false;
var showSupportButton = ''; var showFooter = '';
function toogleMainSideBar(open) { if(open != undefined) { if(open) { mainSideBarOpened = false; } else { mainSideBarOpened = true; } }
if(mainSideBarOpened) { $('#mainSideBar').width(60);
$('.sideMenuText').hide(); $('.sideMenuTitle').hide();
mainSideBarOpened = false; } else { $('#mainSideBar').width(200);
$('.sideMenuText').show(); $('.sideMenuTitle').show();
mainSideBarOpened = true; } }
$(document).ready() { try { // Intercom if(showSupportButton) { window.intercomSettings = { app_id: "af9dahui", alignment: 'left' }; }
$('#mainIcon').on('click', function() { sidebarPadding = 60;
if(!mainSideBarFixed) { sidebarPadding = 200; }
$('#main-content').attr('style', 'padding-left:'+sidebarPadding+'px')
mainSideBarFixed = !mainSideBarFixed;
toogleMainSideBar(); });
$('[data-toggle="popover"]').popover();
$('[data-toggle="tooltip"]').tooltip();
$('#whiteLabelId').on('change', function() { $('#form-set-whitelabel').submit();
});
$('#mainSideBar').on('mouseenter', function() { if(!mainSideBarFixed) { toogleMainSideBar(true); } });
$('#mainSideBar').on('mouseleave', function() { if(!mainSideBarFixed) { toogleMainSideBar(false); } });
$('.navbar-toggle').on('click', function() { const hasClass = $(this).hasClass('toggle-active');
if(hasClass) { $(this).removeClass('toggle-active'); } else { $(this).addClass('toggle-active'); } });
$(function() { /* */ });
} catch(exc) { // }
} //ready
var mymap; var cameras = JSON.parse('[{"id":40511,"description":"PRAIA DE PALMAS - BOMBEIRO CENTRAL","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-930.monuv.com.br:443\/a1\/40511.stream\/playlist.m3u8?m_hash=HS3EmzFi0iP_d8dBmu8fxJq1l-7YR5mJWjGMZDpfM9E=","live_url_html5":"https:\/\/live-930.monuv.com.br:443\/a1\/40511.stream\/playlist.m3u8?m_hash=HS3EmzFi0iP_d8dBmu8fxJq1l-7YR5mJWjGMZDpfM9E=","server_url":"str-server-930.monuv.com.br","rest_digest":"nMub0fCN41CGtiDnULNhyUuX9jJQruFFpfHr_fTOT8g=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/40511\/last\/40511.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"nMub0fCN41CGtiDnULNhyUuX9jJQruFFpfHr_fTOT8g=","online_at":1617729641,"lr_date":"03\/02\/2024 20:36:45","camera_location":{"camera_id":40511,"complete_address":"R. dos Ant\u00farios, 240, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.32399228","longitude":"-48.53914663"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.32399228","longitude":"-48.53914663","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":40562,"description":"PRAIA GRANDE - ITSEG RT","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-28.monuv.com.br:443\/a1\/40562.stream\/playlist.m3u8?m_hash=3bDP6GyX27GMDpdaerQRxQYnuXn1D53nXc7R6rOlbgw=","live_url_html5":"https:\/\/live-28.monuv.com.br:443\/a1\/40562.stream\/playlist.m3u8?m_hash=3bDP6GyX27GMDpdaerQRxQYnuXn1D53nXc7R6rOlbgw=","server_url":"str28.monuv.com.br","rest_digest":"JNShat5dJZTYRQZezTjq9aI4XuGi4rAcGWo4-o6iNX0=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/40562\/last\/40562.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"JNShat5dJZTYRQZezTjq9aI4XuGi4rAcGWo4-o6iNX0=","online_at":1617794958,"lr_date":"03\/02\/2024 20:36:44","camera_location":{"camera_id":40562,"complete_address":"R. Aroeira, 378, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.36430603","longitude":"-48.53580887"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.36430603","longitude":"-48.53580887","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":41230,"description":"CAMBOA - ITSEG - RTNET","stream_status":10,"stream_status_desc":"ERRO PERMANENTE","stream_status_class":"label label-permanent","camera_app":"a1","live_url":"https:\/\/live-35.monuv.com.br:443\/a1\/41230.stream\/playlist.m3u8?m_hash=iFnD5dmRXak7Z0XuVx53KXuCm2ZwVS8gbyuJbTHpXEg=","live_url_html5":"https:\/\/live-35.monuv.com.br:443\/a1\/41230.stream\/playlist.m3u8?m_hash=iFnD5dmRXak7Z0XuVx53KXuCm2ZwVS8gbyuJbTHpXEg=","server_url":"str35.monuv.com.br","rest_digest":"VkOi05_FzADtIdFNXzEuJps9Gbg5BePIYpOj_rvdPEY=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/41230\/last\/41230.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"VkOi05_FzADtIdFNXzEuJps9Gbg5BePIYpOj_rvdPEY=","online_at":1618515482,"lr_date":"11\/01\/2024 21:12:51","camera_location":{"camera_id":41230,"complete_address":"Tv. Dem\u00e9trio Paulino Alves, 58, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.36482831","longitude":"-48.54723483"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.36482831","longitude":"-48.54723483","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":41243,"description":"GANCHOS DO MEIO - ITSEG - RT","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-34.monuv.com.br:443\/a1\/41243.stream\/playlist.m3u8?m_hash=EuOyoxaJEL4nnILFZHOrWBs3QmQneQUZAFDFp6LJq5w=","live_url_html5":"https:\/\/live-34.monuv.com.br:443\/a1\/41243.stream\/playlist.m3u8?m_hash=EuOyoxaJEL4nnILFZHOrWBs3QmQneQUZAFDFp6LJq5w=","server_url":"str34.monuv.com.br","rest_digest":"3f0d_jIPLlj6Qz9uAWMXaFlzURh1Fhlw4zE8a6e5pXw=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/41243\/last\/41243.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"3f0d_jIPLlj6Qz9uAWMXaFlzURh1Fhlw4zE8a6e5pXw=","online_at":1618598165,"lr_date":"03\/02\/2024 20:37:03","camera_location":{"camera_id":41243,"complete_address":"Av. Ganchos, 951, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.31320389","longitude":"-48.55250537"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.31320389","longitude":"-48.55250537","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":41244,"description":"CALHEIROS - ITSEG - RTNET","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-34.monuv.com.br:443\/a1\/41244.stream\/playlist.m3u8?m_hash=QXxXh9LXLKvHsa6kWzKGGHLU7uvvpLPmIJafUMK0yUk=","live_url_html5":"https:\/\/live-34.monuv.com.br:443\/a1\/41244.stream\/playlist.m3u8?m_hash=QXxXh9LXLKvHsa6kWzKGGHLU7uvvpLPmIJafUMK0yUk=","server_url":"str34.monuv.com.br","rest_digest":"nQ0dqpAvEO_tUg27qUjejElYRf-W8WP2XAeWCbuEps4=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/41244\/last\/41244.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"nQ0dqpAvEO_tUg27qUjejElYRf-W8WP2XAeWCbuEps4=","online_at":1618597047,"lr_date":"03\/02\/2024 20:37:02","camera_location":{"camera_id":41244,"complete_address":"Av. Bela Vista, 1200, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.31397651","longitude":"-48.56591008"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.31397651","longitude":"-48.56591008","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":42415,"description":"ITSEG - BASE PALMAS","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-28.monuv.com.br:443\/a1\/42415.stream\/playlist.m3u8?m_hash=NRW54epnQKAlTc05STZ0P62kD-yTqpZF-7bI1PTv2fw=","live_url_html5":"https:\/\/live-28.monuv.com.br:443\/a1\/42415.stream\/playlist.m3u8?m_hash=NRW54epnQKAlTc05STZ0P62kD-yTqpZF-7bI1PTv2fw=","server_url":"str28.monuv.com.br","rest_digest":"rWWHuvsDNFD_oBuw8igSk5EK1xn9PWSK4SOpmp9R8bc=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/42415\/last\/42415.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"rWWHuvsDNFD_oBuw8igSk5EK1xn9PWSK4SOpmp9R8bc=","online_at":1621887378,"lr_date":"03\/02\/2024 20:37:02","camera_location":{"camera_id":42415,"complete_address":"Av. Gov. Irineu Bornhausen, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.32811870","longitude":"-48.54089940"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.32811870","longitude":"-48.54089940","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":66846,"description":"BAIA DOS GOLFINHOS - ITSEG - RTNET","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-12.monuv.com.br:443\/a1\/66846.stream\/playlist.m3u8?m_hash=2Sp4961ulCZgLpddhkzQcaoRh2u-xYB7vRC1f_euTYI=","live_url_html5":"https:\/\/live-12.monuv.com.br:443\/a1\/66846.stream\/playlist.m3u8?m_hash=2Sp4961ulCZgLpddhkzQcaoRh2u-xYB7vRC1f_euTYI=","server_url":"str12.monuv.com.br","rest_digest":"scmPr7ZGCKbg1N_m2FtMaAQtDIu8varIxKVS9NuwWjE=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/66846\/last\/66846.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"scmPr7ZGCKbg1N_m2FtMaAQtDIu8varIxKVS9NuwWjE=","online_at":1666890300,"lr_date":"03\/02\/2024 20:37:13","camera_location":{"camera_id":66846,"complete_address":"JC7Q+93 Governador Celso Ramos - SC, Brasil","latitude":"-27.38658615","longitude":"-48.56226227"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.38658615","longitude":"-48.56226227","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":83584,"description":"PRAIA DE CALHEIROS - ITSEG - RTNET","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-27.monuv.com.br:443\/a1\/83584.stream\/playlist.m3u8?m_hash=llW6EPahK0QSwBSOdJKFRpg2ySZTJQhf9I5zxeCmZOM=","live_url_html5":"https:\/\/live-27.monuv.com.br:443\/a1\/83584.stream\/playlist.m3u8?m_hash=llW6EPahK0QSwBSOdJKFRpg2ySZTJQhf9I5zxeCmZOM=","server_url":"str27.monuv.com.br","rest_digest":"trpR0nrcgVXsUqmReAwCABy3koB4MgYEHpUVqVNUg1Y=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/83584\/last\/83584.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"trpR0nrcgVXsUqmReAwCABy3koB4MgYEHpUVqVNUg1Y=","online_at":1689087757,"lr_date":"03\/02\/2024 20:34:34","camera_location":{"camera_id":83584,"complete_address":"Av. Bela Vista, 970, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.31663400","longitude":"-48.56125700"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.31663400","longitude":"-48.56125700","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"},{"id":94894,"description":"PRAIA DE PALMAS - BOMBEIRO SUL","stream_status":1,"stream_status_desc":"ONLINE","stream_status_class":"label label-success","camera_app":"a1","live_url":"https:\/\/live-27.monuv.com.br:443\/a1\/94894.stream\/playlist.m3u8?m_hash=cMVNaiZbtDXNt0TQm3rQvqywd886kaST5YbzlhBx-5c=","live_url_html5":"https:\/\/live-27.monuv.com.br:443\/a1\/94894.stream\/playlist.m3u8?m_hash=cMVNaiZbtDXNt0TQm3rQvqywd886kaST5YbzlhBx-5c=","server_url":"str27.monuv.com.br","rest_digest":"nQKPi8nltkw9Y3HRmDWkt9RtG7BjpEXgNVhRENP5RJg=","demo":0,"free":0,"thumb_url":"https:\/\/thumbnails.monuv.com.br\/94894\/last\/94894.jpg","playback_timeout":300,"can_see_recordings":true,"plan_description":null,"url_stream":"0","public_camera":null,"digest":"nQKPi8nltkw9Y3HRmDWkt9RtG7BjpEXgNVhRENP5RJg=","online_at":1706803247,"lr_date":"03\/02\/2024 20:34:54","camera_location":{"camera_id":94894,"complete_address":"R. Cinquenta e Um, 51, Gov. Celso Ramos - SC, 88190-000, Brasil","latitude":"-27.33365837","longitude":"-48.53301913"},"camera_plan":{"id":361,"name":"","history_days":3,"price":0,"day_price":0,"fps":0,"created_at":"2018-08-15 18:01:16","updated_at":"2018-08-15 18:01:16","deleted_at":null,"resolution_id":2,"show_user":1,"demo":0,"special":0},"latitude":"-27.33365837","longitude":"-48.53301913","favorite_camera":false,"can_see_live_video":true,"can_see_camera":true,"serial_number":"","region":"us-east-1"}]'); var camera_id = '';
var statusDesc = {"5":"CONECTANDO...","1":"ONLINE","2":"OFFLINE","3":"FRAMERATE","4":"OFFLINE","6":"N\u00c3O CONFIGURADA","7":"CONFIGURA\u00c7\u00c3O OK","8":"ERRO CONFIGURA\u00c7\u00c3O","9":"CONECTADO - NO DATA","10":"ERRO PERMANENTE","11":"DELETADA"}; var statusClass = {"5":"label label-warning","1":"label label-success","2":"label label-danger","3":"label label-danger","4":"label label-danger","6":"label label-warning","7":"label label-success","8":"label label-danger","9":"label label-warning","10":"label label-permanent","11":"label label-danger"};
//console.log(cameras);
var appUrl = "https://itsegrtnet.cameranuvem.com.br"
$(document).ready() {
$('.navbar').removeClass('navbar');
var controls = false; var drawHeader = false; var drawFooter = false; var drawSlider = false; var drawSidePlayer = false;
initMap(cameras, controls, drawHeader, drawFooter, drawSlider, drawSidePlayer);
if(camera_id) { resetShowPlayerModal(camera_id, 0, controls, drawHeader, drawFooter, drawSlider, drawSidePlayer); }
/* $(document).on('click', '.cameraMapThumb', function(){
const controls = false; const drawHeader = false; const drawFooter = false; const drawSlider = false; const drawSidePlayer = false;
cameraId = $(this).attr('camera-id');
resetShowPlayerModal(cameraId, 0, controls, drawHeader, drawFooter, drawSlider, drawSidePlayer); }); */ }