/usr/lib/python3/dist-packages/librtmp/__init__.py is in python3-librtmp 0.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | """Python bindings for librtmp, built with cffi."""
from .compat import is_win32
if is_win32:
import socket # Import socket to initialize WinSock
from ._librtmp import ffi, lib as librtmp
librtmp_version = librtmp.RTMP_LibVersion()
if librtmp_version < 0x020300:
raise ImportError("Only librtmp version >= 2.3 is supported by this library")
from .exceptions import RTMPError, RTMPTimeoutError
from .logging import *
from .packet import *
from .rtmp import *
from .stream import *
from .utils import *
__title__ = "python-librtmp"
__version__ = "0.3.0"
__license__ = "Simplified BSD"
__author__ = "Christopher Rosell"
__copyright__ = "Copyright 2013-2015 Christopher Rosell"
|