aiortsp-1.3.6
توضیحات
An asyncio-based RTSP library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aiortsp-1.3.6 |
| نام | aiortsp |
| نسخه کتابخانه | 1.3.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | MARSS S.A.M. |
| ایمیل نویسنده | info@marss.com |
| آدرس صفحه اصلی | https://github.com/marss/aiortsp |
| آدرس اینترنتی | https://pypi.org/project/aiortsp/ |
| مجوز | GNU Lesser General Public License v3 or later |
RTSP Library for asyncio
========================
.. image:: https://travis-ci.com/marss/aiortsp.svg?branch=master
:target: https://travis-ci.com/marss/aiortsp
.. image:: https://coveralls.io/repos/github/marss/aiortsp/badge.svg?branch=master
:target: https://coveralls.io/github/marss/aiortsp?branch=master
This is a very simple asyncio library for interacting with an
RTSP server, with basic RTP/RTCP support.
The intended use case is to provide a pretty low level control
of what happens at RTSP connection level, all in python/asyncio.
This library does not provide any decoding capability,
it is up to the client to decide what to do with received RTP packets.
One could easily decode using `OpenCV <https://pypi.org/project/opencv-python/>`_
or `PyAV <https://pypi.org/project/av/>`_, or not at all depending on the intended
use.
See ``examples`` for how to use the lib internals, butfor quick usage:
.. code-block:: python3
import asyncio
from aiortsp.rtsp.reader import RTSPReader
async def main():
# Open a reader (which means RTSP connection, then media session)
async with RTSPReader('rtsp://cam/video.sdp') as reader:
# Iterate on RTP packets
async for pkt in reader.iter_packets():
print('PKT', pkt.seq, pkt.pt, len(pkt))
asyncio.run(main())
نیازمندی
| مقدار | نام |
|---|---|
| ~=1.9 | dpkt |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.6 | Python |
نحوه نصب
نصب پکیج whl aiortsp-1.3.6:
pip install aiortsp-1.3.6.whl
نصب پکیج tar.gz aiortsp-1.3.6:
pip install aiortsp-1.3.6.tar.gz