Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 5de8ebba6a122a0fb772961a72613518 > files > 452

python-livestreamer-1.12.2-6.mga7.noarch.rpm

.. _api:

API Reference
=============

.. module:: livestreamer

This ia reference of all the available API methods in Livestreamer.

Livestreamer
------------

.. autofunction:: streams


Session
-------

.. autoclass:: Livestreamer
    :members:


Plugins
-------
.. module:: livestreamer.plugin
.. autoclass:: Plugin
    :members:


Streams
-------

All streams inherit from the :class:`Stream` class.

.. module:: livestreamer.stream
.. autoclass:: Stream
    :members:


.. _api-stream-subclasses:

Stream subclasses
^^^^^^^^^^^^^^^^^

You are able to inspect the parameters used by each stream,
different properties are available depending on stream type.

.. autoclass:: AkamaiHDStream
    :members:

.. autoclass:: HDSStream
    :members:

.. autoclass:: HLSStream
    :members:

.. autoclass:: HTTPStream
    :members:

.. autoclass:: RTMPStream
    :members:


Exceptions
----------

Livestreamer has three types of exceptions:

.. autoexception:: livestreamer.LivestreamerError
.. autoexception:: livestreamer.PluginError
.. autoexception:: livestreamer.NoPluginError
.. autoexception:: livestreamer.StreamError