$npx skillfedfor your agent

aiortsp

An asyncio-based RTSP library

With conditionsPyPI InternetReleased Sep 2024104.3K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiortsp-1.4.0-py3-none-any.whl
v1.4.0 · released 2024-09-27 · Python ~=3.6 · 1 runtime deps: dpkt

Yes, if you need low-level RTSP client control in an asyncio application and can accept a copyleft license. The install friction is minimal and there are no known vulnerabilities. However, the dormant maintenance status means you should not expect bug fixes or support for new RTSP features; use it for stable, well-tested scenarios or when you are prepared to maintain a fork if needed.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • RTSP server URL and network connectivity to the server are prerequisites; the library provides no decoding, so you must handle RTP packet interpretation separately.
  • Low install friction with a single pure-Python dependency (dpkt).

License · maintenance · safety

copyleft license (copyleft) — Licensed under GNU Lesser General Public License v3 or later (copyleft). You may use and modify the package freely, but any derivative works must also be distributed under a compatible copyleft license; proprietary applications cannot link this library without releasing their own source code under the same terms.

last release 2024-09-27 (686 days) · last repo commit 2024-09-27 · 57 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 104,330 downloads/mo, #12,754 on PyPI

Verify before relying

import asyncio
from aiortsp.rtsp.reader import RTSPReader

async def main():
    async with RTSPReader('rtsp://cam/video.sdp') as reader:
        async for pkt in reader.iter_packets():
            print('PKT', pkt.seq, pkt.pt, len(pkt))

asyncio.run(main())
  • Whether the library works reliably with modern RTSP servers and camera implementations beyond the examples shown.
  • Performance characteristics under high-bandwidth or high-packet-rate scenarios.
  • Compatibility with Python versions beyond 3.8 (classifiers list only up to 3.8, but requires_python is ~=3.6).
Same gist for agents: .md · .json

What it is and what it does

aiortsp is a low-level asyncio RTSP client library that handles the protocol mechanics of connecting to RTSP servers and receiving RTP/RTCP media packets. It does not decode video or audio—that responsibility falls to the caller, who can use external libraries like OpenCV or PyAV if needed. The library is designed for developers who want fine-grained control over RTSP session management and packet handling within an async Python application.

The package depends only on dpkt for packet parsing and supports Python 3.6 onward. It is in beta status and has not seen active development for nearly two years, though the repository remains available and the last commit is recent. It is suitable for stable, well-understood use cases but should be evaluated carefully if you need ongoing maintenance or support for emerging RTSP server implementations.

Use it for

  • Build a custom video surveillance application that connects to IP cameras via RTSP and processes raw RTP packets in real time.
  • Integrate RTSP stream capture into an asyncio-based media pipeline without relying on external video libraries.
  • Prototype or debug RTSP protocol interactions and RTP packet flows at a low level for network diagnostics.
  • Create a headless media ingestion service that receives RTSP streams and forwards packets to external processing systems.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need low-level RTSP client control in an asyncio application and can accept a copyleft license.

The install friction is minimal and there are no known vulnerabilities. However, the dormant maintenance status means you should not expect bug fixes or support for new RTSP features; use it for stable, well-tested scenarios or when you are prepared to maintain a fork if needed.

Install

aiortsp on PyPI

Before you install

Low install friction with a single pure-Python dependency (dpkt). Maintenance is dormant—last release was 686 days ago, though the repository remains active with a recent commit on 2024-09-27 and modest community interest (57 stars). Suitable for stable use cases but not for projects requiring active development support.

Requires Python 3.6 or later. RTSP server URL and network connectivity to the server are prerequisites; the library provides no decoding, so you must handle RTP packet interpretation separately.

License in practice

Licensed under GNU Lesser General Public License v3 or later (copyleft). You may use and modify the package freely, but any derivative works must also be distributed under a compatible copyleft license; proprietary applications cannot link this library without releasing their own source code under the same terms.

Quickstart

import asyncio
from aiortsp.rtsp.reader import RTSPReader

async def main():
    async with RTSPReader('rtsp://cam/video.sdp') as reader:
        async for pkt in reader.iter_packets():
            print('PKT', pkt.seq, pkt.pt, len(pkt))

asyncio.run(main())

Verify before relying

  • Whether the library works reliably with modern RTSP servers and camera implementations beyond the examples shown.
  • Performance characteristics under high-bandwidth or high-packet-rate scenarios.
  • Compatibility with Python versions beyond 3.8 (classifiers list only up to 3.8, but requires_python is ~=3.6).

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release ~=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
dpkt
MaintenanceDormant 686 days since the last release
Last repo commit
First released
Downloads104,330 / month, #12,754 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Evidence: aiortsp-1.4.0-py3-none-any.whl

Tags

Capabilities
asyncio rtsp clientrtsp library pythonrtp packet streamingrtsp connection asyncmedia stream receiverrtsp reader asynciortp rtcp support
Topics
rtsp-streamingasyncio-networking
PyPI keywords
asynciortsp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “asyncio rtsp client”

  • aiortspProvides asyncio-based RTSP client functionality with basic RTP/RTCP…
  • python-ffmpegProvides a Python binding for FFmpeg with both synchronous and…
  • aiosonicAn asyncio HTTP/1.1, HTTP/2, and WebSocket client library with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also aiortc · rtp · pylibsrtp · go2rtc-client · irc · python-ffmpeg · icmplib · aioserial · pypcap · aioblescan