Metadata-Version: 2.1
Name: py-tgcalls
Version: 0.4.9
Summary: UNKNOWN
Home-page: https://github.com/pytgcalls/pytgcalls
Author: Laky64
Author-email: iraci.matteo@gmail.com
License: LGPL-3.0
Description: <p align="center">
          <img src="https://user-images.githubusercontent.com/32808683/111091141-62473b00-8508-11eb-9c05-3e0fd4a21af3.png" alt="pytgcalls logo" />
        </p>
        
        # PyTgCalls
        
        [![pre-commit.ci status][pre-commit.ci-badge]][pre-commit.ci]
        [![PyPI](https://img.shields.io/pypi/v/py-tgcalls.svg?style=flat)](https://pypi.org/project/py-tgcalls/)
        [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/py-tgcalls)](https://www.python.org/)
        [![GitHub](https://img.shields.io/github/license/pytgcalls/pytgcalls)](https://github.com/pytgcalls/pytgcalls/blob/master/LICENSE)
        ![OS](https://img.shields.io/badge/platform-Linux%20%7C%20WSL2.0-lightgrey)
        [![Node Version](https://img.shields.io/badge/node-%3E%20%3D%2015.0.0%20-brightgreen)](https://nodejs.org/it/)
        
        This project allow to make Telegram group call with MTProto Api using Pyrogram and WebRTC, this is possible thanks to the power of NodeJS's WebRTC library, socketio-client and [@evgeny-nadymov]
        
        # Common Problems
        
        ## Problem with pyrogram?
        If do you have problems with pyrogram, reinstall by this command
        ``` bash
        pip install git+https://github.com/pyrogram/pyrogram -U
        ```
        
        ## Live stream or ffmpeg live conversion stopped?
        Check before if is changing the size of file(Is a method to check if ffmpeg is alive).
        
        If is alive and stream is stopped, report to the issue with including last ultra verbose log and put in to nekobin.
        
        ## Docs
        
        [Read the docs!][docs]
        
        ## How to install?
        
        Here's how to install the PyTgCalls lib, the commands are given below:
        
        ``` bash
        # With Git
        pip install git+https://github.com/pytgcalls/pytgcalls -U
        
        # With PyPi
        pip install py-tgcalls -U
        ```
        
        ## Conversion commands
        
        From file to raw format
        ``` bash
        ffmpeg -i {INPUT_FILE} -f s16le -ac 1 -acodec pcm_s16le -ar {BITRATE} {OUTPUT_FILE}
        ```
        
        From stream link to raw format
        ``` bash
        ffmpeg -y -i {STREAM_LINK} -f s16le -ac 1 -acodec pcm_s16le -ar {BITRATE} {OUTPUT_FILE}
        ```
        
        From youtube video/live-stream to raw format
        ``` bash
        ffmpeg -i "$(youtube-dl -x -g "{YOUTUBE_LINK}")" -f s16le -ac 1 -acodec pcm_s16le -ar {BITRATE} {OUTPUT_FILE}
        ```
        
        ## Credits
        
        Big thanks to [@evgeny-nadymov] for allowing us to use their code from [telegram-react]
        
        This library is based on [tgcallsjs] developed [@AndrewLaneX] and pyservercall by [@Laky-64]
        
        [pre-commit.ci-badge]: https://results.pre-commit.ci/badge/github/pytgcalls/pytgcalls/master.svg
        [pre-commit.ci]: https://results.pre-commit.ci/latest/github/pytgcalls/pytgcalls/master
        [docs]: https://pytgcalls.github.io/
        [@evgeny-nadymov]: https://github.com/evgeny-nadymov/
        [@AndrewLaneX]: https://github.com/AndrewLaneX/
        [telegram-react]: https://github.com/evgeny-nadymov/telegram-react/
        [tgcallsjs]: https://github.com/tgcallsjs/tgcalls
        [pyservercall]: https://github.com/pytgcalls/pyservercall/
        [@Laky-64]: https://github.com/Laky-64/
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.1
Description-Content-Type: text/markdown
