Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzinfocom-org/onvif
📹 | Onvif implementation in php [maintainer=@yetimdasturchi]
https://github.com/uzinfocom-org/onvif
implementation onvif php-onvif
Last synced: 1 day ago
JSON representation
📹 | Onvif implementation in php [maintainer=@yetimdasturchi]
- Host: GitHub
- URL: https://github.com/uzinfocom-org/onvif
- Owner: uzinfocom-org
- Created: 2023-02-03T04:50:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T04:53:43.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T23:37:55.251Z (2 days ago)
- Topics: implementation, onvif, php-onvif
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-onvif
Ushbu kutubxona IP kameralar uchun standartlashtirilgan onvif protokoli bilan ishlash uchun mo'ljallangan.
## Imkoniyatlar
- Media, PTZ va snapshot hazolalarni avtomatik aniqlash
- Davomiy va qadamlarga asoslantirib kordinalarni boshqarish## Ishga tushirish
```php
include 'Onvif.php';/* Avtorizatsiya talab qilinmaydigan holatlar uchun obyekt argumentidagi massivni bo'sh qoldiring */
$onvif = new Onvif('192.168.200.1:80', [ // Ip manzil va port
'username' => 'admin', //Foydalanuvchi
'password' => 'admin123', //Parol
]);
```## Metodlar
- getOnvifVersion - Onvif versiyasini aniqlash
- getMediaUri - Media boshqaruv manzilini aniqlash
- getPtzUri - PTZ manzilini aniqlash
- getSources - Video oqimlar massivi
- getStreamUris - Video oqimlar havolalari massivda
- getStreamUri - Yagona video oqim manzili olish
- getSnapshotUris - Surat olish uchun havolalari massivda
- getSnapshotUri - Yagona surat olish manzili olish
- move - Davomiy harakat
- step - Qadamba-qadam harakat
- stop - Harakatni to'xtatish## Demo
Kutubxona ishlashini avtomatik demostrasiya qiluvchi faylni ishga tushirish:
```bash
$: /usr/bin/php demo.php
```
Klaviatura orqali boshqaruvchi demo dasturni ishga tushirish:```bash
$: /usr/bin/php keypad.php
```