Convert rtsp.c to rtsp_curl.py
Project description
Convert rtsp.c to rtsp_curl.py
A basic RTSP transfer rtsp.c
Example:
import time
from madyel import Rtsp_Curl
stream_uri = 'rtsp://127.0.0.1:554/video.mp4'
rtsp = Rtsp_Curl()
rtsp.init(stream_uri, 'username:password')
rtsp.auth()
rtsp.rtsp_describe()
control = rtsp.get_media_control_attribute()
rtsp.rtsp_setup(control)
rtsp.rtsp_play(stream_uri)
time.sleep(5)
rtsp.rtsp_teardown()
rtsp.rtsp_curl_close()
Install_requires
pip install scanf
pip install pycurl
/\
||_____-----_____-----_____
|| O O \
|| O\\ ___ //O /
|| \\ / \// \
|| |_O O_| /
|| ^ | ^ \
|| // UUU \\ /
|| O// \\O \
|| O O /
||_____-----_____-----_____\
||
||.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rtsp_curl-0.7.tar.gz
(3.0 kB
view details)
File details
Details for the file rtsp_curl-0.7.tar.gz
.
File metadata
- Download URL: rtsp_curl-0.7.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a40d63e56f98e0b5d57f3286b20bcd8d4c4a0277e8be9196ce35c7915cdc441e
|
|
MD5 |
0cfa702fb5aee170cbef53d3a80f2624
|
|
BLAKE2b-256 |
3a0d4731fc445c53a25f915d791dde152e530267f99a3c38e90f4f7c51d3210a
|