py-tgcalls 2.2.2__py3-none-any.whl → 2.2.3__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.
- {py_tgcalls-2.2.2.dist-info → py_tgcalls-2.2.3.dist-info}/METADATA +2 -2
- {py_tgcalls-2.2.2.dist-info → py_tgcalls-2.2.3.dist-info}/RECORD +8 -8
- pytgcalls/__version__.py +1 -1
- pytgcalls/methods/internal/connect_call.py +1 -2
- pytgcalls/methods/stream/play.py +7 -1
- {py_tgcalls-2.2.2.dist-info → py_tgcalls-2.2.3.dist-info}/WHEEL +0 -0
- {py_tgcalls-2.2.2.dist-info → py_tgcalls-2.2.3.dist-info}/licenses/LICENSE +0 -0
- {py_tgcalls-2.2.2.dist-info → py_tgcalls-2.2.3.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-tgcalls
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Async client API for the Telegram Calls.
|
|
5
5
|
Author-email: Laky-64 <iraci.matteo@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://pytgcalls.github.io/
|
|
@@ -20,7 +20,7 @@ Requires-Python: >=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: aiohttp>=3.9.3
|
|
23
|
-
Requires-Dist: ntgcalls<3.0.0,>=2.0.
|
|
23
|
+
Requires-Dist: ntgcalls<3.0.0,>=2.0.3
|
|
24
24
|
Requires-Dist: deprecation
|
|
25
25
|
Provides-Extra: pyrogram
|
|
26
26
|
Requires-Dist: pyrogram>=1.2.20; extra == "pyrogram"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
py_tgcalls-2.2.
|
|
1
|
+
py_tgcalls-2.2.3.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
2
2
|
pytgcalls/__init__.py,sha256=qbfwN7rYwIdCegMOzdcbvwazeNjDzgmowgcqLFNqKIM,308
|
|
3
|
-
pytgcalls/__version__.py,sha256=
|
|
3
|
+
pytgcalls/__version__.py,sha256=imyOcBgptJng0fWUAVwWSHYVE3csDgLCIYFSbnvEA-U,22
|
|
4
4
|
pytgcalls/environment.py,sha256=ctCHACvG6l8SdpPewSBhOvc70kbwpv18maC0TwLvZ08,1924
|
|
5
5
|
pytgcalls/exceptions.py,sha256=Rijc-8T93WEWJxNW9jncU8_M6mYZZZcs8F2bqitEIeI,3787
|
|
6
6
|
pytgcalls/ffmpeg.py,sha256=CZvSyuztc-TGKbKI9_2G7CLITe1ITf315YPyprWu_Pg,8645
|
|
@@ -36,7 +36,7 @@ pytgcalls/methods/decorators/on_update.py,sha256=ZTL4YcQk0N4Ru56a5WItUvkSN5SAqr6
|
|
|
36
36
|
pytgcalls/methods/internal/__init__.py,sha256=fcgIxUJKT6QJD30ltnOfzKsLhzTTTklD2qxKlwCvyv0,1057
|
|
37
37
|
pytgcalls/methods/internal/clear_cache.py,sha256=IbcDOGiBJbmqOnGJWkIe8c6P_Y6e0YPkui4Hg4PAZlA,334
|
|
38
38
|
pytgcalls/methods/internal/clear_call.py,sha256=u84SdZb5z6lGRxf7dbrcAcf-xObGVgMsHqSmvdzoAbQ,487
|
|
39
|
-
pytgcalls/methods/internal/connect_call.py,sha256=
|
|
39
|
+
pytgcalls/methods/internal/connect_call.py,sha256=fRQYfDzpwyCXHDOTDSxPdzFu8bmeNf9hvP6c6lpNS-k,5739
|
|
40
40
|
pytgcalls/methods/internal/emit_sig_data.py,sha256=ucIsknhJHB-0x7lcymXvwQ647AJQ852zH2W6MdlC3ws,216
|
|
41
41
|
pytgcalls/methods/internal/handle_connection_changed.py,sha256=_1u3J6_Pjl1Gs1u_WkhG2FAUl_hxlHUiflaMkKkJDsc,866
|
|
42
42
|
pytgcalls/methods/internal/handle_mtproto_updates.py,sha256=mdj8N4GXX1J650dE7OThSAVCmtB4wwByqd95P6vmbU8,7461
|
|
@@ -52,7 +52,7 @@ pytgcalls/methods/internal/update_status.py,sha256=6zH7oMM_qPE-88mdC5CBhT07gPvay
|
|
|
52
52
|
pytgcalls/methods/stream/__init__.py,sha256=mAcOih0-NT6T_Gspej6mySpJNPuEe46sUwgKV3vSvYM,336
|
|
53
53
|
pytgcalls/methods/stream/mute.py,sha256=ZrZS_EeNUeUxb6UgbdhwXUdRX826u-qSjH5a6sg7LsE,557
|
|
54
54
|
pytgcalls/methods/stream/pause.py,sha256=-kNvWQuv5VlssNcL-M6rkT5TKFmXlbOzJrDny95qsUc,560
|
|
55
|
-
pytgcalls/methods/stream/play.py,sha256=
|
|
55
|
+
pytgcalls/methods/stream/play.py,sha256=zJhWNCq2BKni1cCmPz6JVCTK2y-Pceh9ik4TYytR87I,3196
|
|
56
56
|
pytgcalls/methods/stream/record.py,sha256=geYSVtSbp0yRIR1Nmj-L1s-6nqQAh0x0IcA1OuFvuyA,1306
|
|
57
57
|
pytgcalls/methods/stream/resume.py,sha256=AUHU3AtpXO2rtp2V1EKSC_KAWTk2KHMiHaqHluYy31M,563
|
|
58
58
|
pytgcalls/methods/stream/send_frame.py,sha256=Kj9R8OqUM-g7pt-FiWP-US7sCFkH5ciPr9S8v-WPtLg,1062
|
|
@@ -116,7 +116,7 @@ pytgcalls/types/stream/record_stream.py,sha256=f4VQ6MY8HtOxt7vz0hWBFmbbAIvTRHpAI
|
|
|
116
116
|
pytgcalls/types/stream/stream_ended.py,sha256=xR_kZwFf03hA6rw_nvI7Be7GwoCKzQf_1MKaGpPDXqY,716
|
|
117
117
|
pytgcalls/types/stream/stream_frames.py,sha256=028ZhNV-mN3BGqMlmxusAV1xDQpXRYCeM0WXBZhRUhA,446
|
|
118
118
|
pytgcalls/types/stream/video_quality.py,sha256=eMCBFPwh5meX3UVEaozcGlwmgaujfpiTa3vBVSBBP_8,275
|
|
119
|
-
py_tgcalls-2.2.
|
|
120
|
-
py_tgcalls-2.2.
|
|
121
|
-
py_tgcalls-2.2.
|
|
122
|
-
py_tgcalls-2.2.
|
|
119
|
+
py_tgcalls-2.2.3.dist-info/METADATA,sha256=F0k9s4eJBmRk4UcmwLMBwuEFx6UG-1Od7pJLf2KemCU,5280
|
|
120
|
+
py_tgcalls-2.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
121
|
+
py_tgcalls-2.2.3.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
|
|
122
|
+
py_tgcalls-2.2.3.dist-info/RECORD,,
|
pytgcalls/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.2.
|
|
1
|
+
__version__ = '2.2.3'
|
|
@@ -42,8 +42,7 @@ class ConnectCall(Scaffold):
|
|
|
42
42
|
chat_id,
|
|
43
43
|
payload,
|
|
44
44
|
config.invite_hash,
|
|
45
|
-
media_description.camera is None
|
|
46
|
-
media_description.screen is None,
|
|
45
|
+
media_description.camera is None,
|
|
47
46
|
self._cache_user_peer.get(chat_id),
|
|
48
47
|
)
|
|
49
48
|
await self._binding.connect(
|
pytgcalls/methods/stream/play.py
CHANGED
|
@@ -41,6 +41,7 @@ class Play(Scaffold):
|
|
|
41
41
|
media_description = await StreamParams.get_stream_params(
|
|
42
42
|
stream,
|
|
43
43
|
)
|
|
44
|
+
is_presentation = media_description.screen is not None
|
|
44
45
|
|
|
45
46
|
if chat_id in await self._binding.calls():
|
|
46
47
|
try:
|
|
@@ -49,6 +50,11 @@ class Play(Scaffold):
|
|
|
49
50
|
StreamMode.CAPTURE,
|
|
50
51
|
media_description,
|
|
51
52
|
)
|
|
53
|
+
if isinstance(config, GroupCallConfig):
|
|
54
|
+
await self._join_presentation(
|
|
55
|
+
chat_id,
|
|
56
|
+
is_presentation,
|
|
57
|
+
)
|
|
52
58
|
return
|
|
53
59
|
except FileError as e:
|
|
54
60
|
raise FileNotFoundError(e)
|
|
@@ -81,7 +87,7 @@ class Play(Scaffold):
|
|
|
81
87
|
if isinstance(config, GroupCallConfig):
|
|
82
88
|
await self._join_presentation(
|
|
83
89
|
chat_id,
|
|
84
|
-
|
|
90
|
+
is_presentation,
|
|
85
91
|
)
|
|
86
92
|
await self._update_sources(chat_id)
|
|
87
93
|
except FileError as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|