py-tgcalls 2.1.0.dev2__py3-none-any.whl → 2.1.0.dev3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: py-tgcalls
3
- Version: 2.1.0.dev2
3
+ Version: 2.1.0.dev3
4
4
  Summary: Async client API for the Telegram Calls.
5
5
  Author-email: Laky-64 <iraci.matteo@gmail.com>
6
- License: GNU LESSER GENERAL PUBLIC LICENSE
6
+ License: GNU LESSER GENERAL PUBLIC LICENSE
7
7
  Version 3, 29 June 2007
8
8
 
9
9
  Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
@@ -187,14 +187,14 @@ Requires-Python: >=3.9
187
187
  Description-Content-Type: text/markdown
188
188
  License-File: LICENSE
189
189
  Requires-Dist: aiohttp>=3.9.3
190
- Requires-Dist: ntgcalls<1.4.0,>=1.3.0b3
190
+ Requires-Dist: ntgcalls<1.4.0,>=1.3.0b6
191
191
  Requires-Dist: deprecation
192
- Provides-Extra: hydrogram
193
- Requires-Dist: hydrogram>=0.1.4; extra == "hydrogram"
194
192
  Provides-Extra: pyrogram
195
193
  Requires-Dist: pyrogram>=1.2.20; extra == "pyrogram"
196
194
  Provides-Extra: telethon
197
195
  Requires-Dist: telethon>=1.24.0; extra == "telethon"
196
+ Provides-Extra: hydrogram
197
+ Requires-Dist: hydrogram>=0.1.4; extra == "hydrogram"
198
198
 
199
199
  <img src="https://raw.githubusercontent.com/pytgcalls/pytgcalls/master/.github/images/banner.png" alt="pytgcalls logo" />
200
200
  <p align="center">
@@ -1,5 +1,5 @@
1
1
  pytgcalls/__init__.py,sha256=qbfwN7rYwIdCegMOzdcbvwazeNjDzgmowgcqLFNqKIM,308
2
- pytgcalls/__version__.py,sha256=wNJAWxZJ5nqnvr7CcRnjak-Pcnydu3AaK30sXJNnIZU,27
2
+ pytgcalls/__version__.py,sha256=9EHEScNheGlrVxkru1Ps6aAsAj18JJ68S6FijrN4FgM,27
3
3
  pytgcalls/environment.py,sha256=ctCHACvG6l8SdpPewSBhOvc70kbwpv18maC0TwLvZ08,1924
4
4
  pytgcalls/exceptions.py,sha256=0MmAktc53ajYAc7ThjD2tJ9PDyibUi0iHZMfUy2IoKs,4109
5
5
  pytgcalls/ffmpeg.py,sha256=uAqFDPwWoABW_WfubxeulpIh5vWpylxFARgYokn3ff8,8640
@@ -88,12 +88,12 @@ pytgcalls/types/stream/audio_quality.py,sha256=4X94ErmTeLP4TVcE3eLtPPdtluSPxgxbg
88
88
  pytgcalls/types/stream/device.py,sha256=lnWrChNArFl3Sk-DqVEs61K-YXl2rqRAQq6PSPgjBCU,578
89
89
  pytgcalls/types/stream/direction.py,sha256=_Q1SNb-47krKuZs7B5dw1mqDhQ9_CTb_Jr96-MAfv28,395
90
90
  pytgcalls/types/stream/media_stream.py,sha256=_gevQrmDJyLxGQCGk9qAfxe7949S8w51X2aF2rNCYM0,10222
91
- pytgcalls/types/stream/record_stream.py,sha256=FNwreJsEHHn7k_nZYbdnfC7D9-5LyPWNFQVwHYkRzio,2961
91
+ pytgcalls/types/stream/record_stream.py,sha256=pp08OahflXJ5Cs281KxU-K2ULRP88ega5WBkJ7dwBjk,3038
92
92
  pytgcalls/types/stream/stream_ended.py,sha256=xR_kZwFf03hA6rw_nvI7Be7GwoCKzQf_1MKaGpPDXqY,716
93
93
  pytgcalls/types/stream/stream_frame.py,sha256=TMoJUbC2tsMDL1tt4oWCkaMsHoeYKj8dnV6JIs7EoEk,797
94
94
  pytgcalls/types/stream/video_quality.py,sha256=HBfWq005kh-D19MaVE9VzVdnODzrXf4IJUimCfslfiU,231
95
- py_tgcalls-2.1.0.dev2.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
96
- py_tgcalls-2.1.0.dev2.dist-info/METADATA,sha256=x49Taxds_EKwrWUaD8LgzmYaHHVrM5uQ17V_KtsC2hE,14380
97
- py_tgcalls-2.1.0.dev2.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
98
- py_tgcalls-2.1.0.dev2.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
99
- py_tgcalls-2.1.0.dev2.dist-info/RECORD,,
95
+ py_tgcalls-2.1.0.dev3.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
96
+ py_tgcalls-2.1.0.dev3.dist-info/METADATA,sha256=393hFk_Xe3qXThyYeDOmLAUm7cXZk8NFIclX6SPh1u4,14399
97
+ py_tgcalls-2.1.0.dev3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
98
+ py_tgcalls-2.1.0.dev3.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
99
+ py_tgcalls-2.1.0.dev3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
pytgcalls/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '2.1.0.dev2'
1
+ __version__ = '2.1.0.dev3'
@@ -50,6 +50,7 @@ class RecordStream(Stream):
50
50
  is_lossless = raw_audio_parameters.bitrate > 48000
51
51
  commands = [
52
52
  'ffmpeg',
53
+ '-y',
53
54
  '-loglevel',
54
55
  'quiet',
55
56
  '-f',
@@ -62,6 +63,8 @@ class RecordStream(Stream):
62
63
  'pipe:0',
63
64
  '-codec:a',
64
65
  'flac' if is_lossless else 'libmp3lame',
66
+ '-flush_packets',
67
+ '1',
65
68
  audio,
66
69
  ]
67
70
  return AudioStream(