livekit-api 0.3.0__tar.gz → 0.4.0__tar.gz
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.
- {livekit-api-0.3.0 → livekit-api-0.4.0}/PKG-INFO +5 -5
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/__init__.py +6 -5
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/_service.py +1 -1
- livekit-api-0.3.0/livekit/api/_twirp_client.py → livekit-api-0.4.0/livekit/api/twirp_client.py +10 -2
- livekit-api-0.4.0/livekit/api/version.py +1 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit_api.egg-info/PKG-INFO +5 -5
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit_api.egg-info/SOURCES.txt +1 -1
- livekit-api-0.4.0/livekit_api.egg-info/requires.txt +5 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/setup.py +4 -4
- livekit-api-0.3.0/livekit/api/version.py +0 -1
- livekit-api-0.3.0/livekit_api.egg-info/requires.txt +0 -5
- {livekit-api-0.3.0 → livekit-api-0.4.0}/README.md +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/access_token.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/egress_service.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/ingress_service.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/livekit_api.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/room_service.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit/api/webhook.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit_api.egg-info/dependency_links.txt +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/livekit_api.egg-info/top_level.txt +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/pyproject.toml +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/setup.cfg +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/tests/test_access_token.py +0 -0
- {livekit-api-0.3.0 → livekit-api-0.4.0}/tests/test_webhook.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: livekit-api
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Python Server API for LiveKit
|
|
5
5
|
Home-page: https://github.com/livekit/python-sdks
|
|
6
6
|
License: Apache-2.0
|
|
@@ -19,13 +19,13 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.8.0
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
Requires-Dist: pyjwt>=2.0.0
|
|
25
25
|
Requires-Dist: aiohttp>=3.9.0
|
|
26
|
-
Requires-Dist: protobuf
|
|
27
|
-
Requires-Dist: types-protobuf
|
|
28
|
-
Requires-Dist: livekit-protocol
|
|
26
|
+
Requires-Dist: protobuf==4.25.1
|
|
27
|
+
Requires-Dist: types-protobuf<5,>=4
|
|
28
|
+
Requires-Dist: livekit-protocol~=0.3.0
|
|
29
29
|
|
|
30
30
|
# LiveKit Server APIs
|
|
31
31
|
|
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
|
|
18
18
|
# flake8: noqa
|
|
19
19
|
# re-export packages from protocol
|
|
20
|
-
from livekit.protocol.egress import *
|
|
21
|
-
from livekit.protocol.ingress import *
|
|
22
|
-
from livekit.protocol.models import *
|
|
23
|
-
from livekit.protocol.room import *
|
|
24
|
-
from livekit.protocol.webhook import *
|
|
20
|
+
from livekit.protocol.egress import * # type: ignore
|
|
21
|
+
from livekit.protocol.ingress import * # type: ignore
|
|
22
|
+
from livekit.protocol.models import * # type: ignore
|
|
23
|
+
from livekit.protocol.room import * # type: ignore
|
|
24
|
+
from livekit.protocol.webhook import * # type: ignore
|
|
25
25
|
|
|
26
|
+
from .twirp_client import TwirpError, TwirpErrorCode
|
|
26
27
|
from .livekit_api import LiveKitAPI
|
|
27
28
|
from .access_token import VideoGrants, AccessToken, TokenVerifier
|
|
28
29
|
from .webhook import WebhookReceiver
|
livekit-api-0.3.0/livekit/api/_twirp_client.py → livekit-api-0.4.0/livekit/api/twirp_client.py
RENAMED
|
@@ -23,8 +23,16 @@ DEFAULT_PREFIX = "twirp"
|
|
|
23
23
|
|
|
24
24
|
class TwirpError(Exception):
|
|
25
25
|
def __init__(self, code: str, msg: str) -> None:
|
|
26
|
-
self.
|
|
27
|
-
self.
|
|
26
|
+
self._code = code
|
|
27
|
+
self._msg = msg
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def code(self) -> str:
|
|
31
|
+
return self._code
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def message(self) -> str:
|
|
35
|
+
return self._msg
|
|
28
36
|
|
|
29
37
|
|
|
30
38
|
class TwirpErrorCode:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: livekit-api
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Python Server API for LiveKit
|
|
5
5
|
Home-page: https://github.com/livekit/python-sdks
|
|
6
6
|
License: Apache-2.0
|
|
@@ -19,13 +19,13 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.8.0
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
Requires-Dist: pyjwt>=2.0.0
|
|
25
25
|
Requires-Dist: aiohttp>=3.9.0
|
|
26
|
-
Requires-Dist: protobuf
|
|
27
|
-
Requires-Dist: types-protobuf
|
|
28
|
-
Requires-Dist: livekit-protocol
|
|
26
|
+
Requires-Dist: protobuf==4.25.1
|
|
27
|
+
Requires-Dist: types-protobuf<5,>=4
|
|
28
|
+
Requires-Dist: livekit-protocol~=0.3.0
|
|
29
29
|
|
|
30
30
|
# LiveKit Server APIs
|
|
31
31
|
|
|
@@ -3,12 +3,12 @@ pyproject.toml
|
|
|
3
3
|
setup.py
|
|
4
4
|
livekit/api/__init__.py
|
|
5
5
|
livekit/api/_service.py
|
|
6
|
-
livekit/api/_twirp_client.py
|
|
7
6
|
livekit/api/access_token.py
|
|
8
7
|
livekit/api/egress_service.py
|
|
9
8
|
livekit/api/ingress_service.py
|
|
10
9
|
livekit/api/livekit_api.py
|
|
11
10
|
livekit/api/room_service.py
|
|
11
|
+
livekit/api/twirp_client.py
|
|
12
12
|
livekit/api/version.py
|
|
13
13
|
livekit/api/webhook.py
|
|
14
14
|
livekit_api.egg-info/PKG-INFO
|
|
@@ -46,13 +46,13 @@ setuptools.setup(
|
|
|
46
46
|
keywords=["webrtc", "realtime", "audio", "video", "livekit"],
|
|
47
47
|
license="Apache-2.0",
|
|
48
48
|
packages=setuptools.find_namespace_packages(include=["livekit.*"]),
|
|
49
|
-
python_requires=">=3.
|
|
49
|
+
python_requires=">=3.8.0",
|
|
50
50
|
install_requires=[
|
|
51
51
|
"pyjwt>=2.0.0",
|
|
52
52
|
"aiohttp>=3.9.0",
|
|
53
|
-
"protobuf
|
|
54
|
-
"types-protobuf>=
|
|
55
|
-
"livekit-protocol
|
|
53
|
+
"protobuf==4.25.1",
|
|
54
|
+
"types-protobuf>=4,<5",
|
|
55
|
+
"livekit-protocol~=0.3.0",
|
|
56
56
|
],
|
|
57
57
|
package_data={
|
|
58
58
|
"livekit.api": ["py.typed", "*.pyi", "**/*.pyi"],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|