Skip to content

Instantly share code, notes, and snippets.

View abelha-io-user's full-sized avatar
🐝
Bees keeping world safe!

Github abelha.io abelha-io-user

🐝
Bees keeping world safe!
View GitHub Profile
@abelha-io-user
abelha-io-user / rtsp-intelbras-outros.txt
Created September 17, 2021 12:21 — forked from alexishida/rtsp-intelbras-outros.txt
RTSP dvr intelbras e outros
-------- Intelbras -------------------------------------------------------
rtsp://usuário:senha@ip:porta/cam/realmonitor?channel=1&subtype=0
-------- Luxvision -------------------------------------------------------
rtsp://ip:porta/user=[usuário]&password=[senha]&channel=1&stream=0.sdp
-------- Hikvision -------------------------------------------------------
rtsp://usuário:senha@ip:porta/Streaming/Channels/102
<?php
define('BOT_TOKEN', 'XXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX'); // place bot token of your bot here
function checkTelegramAuthorization($auth_data) {
$check_hash = $auth_data['hash'];
unset($auth_data['hash']);
$data_check_arr = [];
foreach ($auth_data as $key => $value) {
$data_check_arr[] = $key . '=' . $value;