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())
Raw data
{
"_id": null,
"home_page": "https://github.com/marss/aiortsp",
"name": "aiortsp",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.6",
"maintainer_email": "",
"keywords": "asyncio,rtsp",
"author": "MARSS S.A.M.",
"author_email": "info@marss.com",
"download_url": "https://files.pythonhosted.org/packages/9c/60/7db46bcbcaf23c7070037061ca28bbe3d644f087e754e5d910a7a136d209/aiortsp-1.3.7.tar.gz",
"platform": null,
"description": "RTSP Library for asyncio\n========================\n\n.. image:: https://travis-ci.com/marss/aiortsp.svg?branch=master\n :target: https://travis-ci.com/marss/aiortsp\n\n.. image:: https://coveralls.io/repos/github/marss/aiortsp/badge.svg?branch=master\n :target: https://coveralls.io/github/marss/aiortsp?branch=master\n\nThis is a very simple asyncio library for interacting with an\nRTSP server, with basic RTP/RTCP support.\n\nThe intended use case is to provide a pretty low level control\nof what happens at RTSP connection level, all in python/asyncio.\n\nThis library does not provide any decoding capability,\nit is up to the client to decide what to do with received RTP packets.\n\nOne could easily decode using `OpenCV <https://pypi.org/project/opencv-python/>`_\nor `PyAV <https://pypi.org/project/av/>`_, or not at all depending on the intended\nuse.\n\nSee ``examples`` for how to use the lib internals, butfor quick usage:\n\n.. code-block:: python3\n\n import asyncio\n from aiortsp.rtsp.reader import RTSPReader\n\n async def main():\n # Open a reader (which means RTSP connection, then media session)\n async with RTSPReader('rtsp://cam/video.sdp') as reader:\n # Iterate on RTP packets\n async for pkt in reader.iter_packets():\n print('PKT', pkt.seq, pkt.pt, len(pkt))\n\n asyncio.run(main())\n",
"bugtrack_url": null,
"license": "GNU Lesser General Public License v3 or later",
"summary": "An asyncio-based RTSP library",
"version": "1.3.7",
"project_urls": {
"Homepage": "https://github.com/marss/aiortsp"
},
"split_keywords": [
"asyncio",
"rtsp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b9d9f03a0d5d7e297c5c45302721b0e45d4e80511292407d3e7b89feab9d8b77",
"md5": "55c337165d02b8d809a270db2538762f",
"sha256": "4f3d97ee34e92fe2d12c533246f2144c0a242e20eafd1360c3c9f8630f91c953"
},
"downloads": -1,
"filename": "aiortsp-1.3.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "55c337165d02b8d809a270db2538762f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.6",
"size": 33482,
"upload_time": "2023-09-01T07:52:07",
"upload_time_iso_8601": "2023-09-01T07:52:07.164080Z",
"url": "https://files.pythonhosted.org/packages/b9/d9/f03a0d5d7e297c5c45302721b0e45d4e80511292407d3e7b89feab9d8b77/aiortsp-1.3.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9c607db46bcbcaf23c7070037061ca28bbe3d644f087e754e5d910a7a136d209",
"md5": "48042a3ebc40821086175f1567bf4945",
"sha256": "c49c500f73837f2e3ed17756c7bab27950ce2709455d26616c4cfa3e17b00fea"
},
"downloads": -1,
"filename": "aiortsp-1.3.7.tar.gz",
"has_sig": false,
"md5_digest": "48042a3ebc40821086175f1567bf4945",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.6",
"size": 34838,
"upload_time": "2023-09-01T07:52:08",
"upload_time_iso_8601": "2023-09-01T07:52:08.439564Z",
"url": "https://files.pythonhosted.org/packages/9c/60/7db46bcbcaf23c7070037061ca28bbe3d644f087e754e5d910a7a136d209/aiortsp-1.3.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-01 07:52:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "marss",
"github_project": "aiortsp",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "aiortsp"
}