streamlit-webrtc 0.47.7__py3-none-any.whl → 0.47.9__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.
- streamlit_webrtc/component.py +3 -9
- streamlit_webrtc/config.py +1 -6
- streamlit_webrtc/factory.py +1 -6
- streamlit_webrtc/frontend/build/asset-manifest.json +3 -3
- streamlit_webrtc/frontend/build/index.html +1 -1
- streamlit_webrtc/frontend/build/static/js/main.ff279b83.js +103 -0
- streamlit_webrtc/frontend/build/static/js/main.ff279b83.js.map +1 -0
- streamlit_webrtc/webrtc.py +3 -8
- {streamlit_webrtc-0.47.7.dist-info → streamlit_webrtc-0.47.9.dist-info}/METADATA +4 -5
- {streamlit_webrtc-0.47.7.dist-info → streamlit_webrtc-0.47.9.dist-info}/RECORD +13 -13
- streamlit_webrtc/frontend/build/static/js/main.9c17b353.js +0 -3
- streamlit_webrtc/frontend/build/static/js/main.9c17b353.js.map +0 -1
- /streamlit_webrtc/frontend/build/static/js/{main.9c17b353.js.LICENSE.txt → main.ff279b83.js.LICENSE.txt} +0 -0
- {streamlit_webrtc-0.47.7.dist-info → streamlit_webrtc-0.47.9.dist-info}/LICENSE +0 -0
- {streamlit_webrtc-0.47.7.dist-info → streamlit_webrtc-0.47.9.dist-info}/WHEEL +0 -0
streamlit_webrtc/component.py
CHANGED
@@ -10,11 +10,14 @@ from typing import (
|
|
10
10
|
Generic,
|
11
11
|
NamedTuple,
|
12
12
|
Optional,
|
13
|
+
TypedDict,
|
13
14
|
Union,
|
14
15
|
cast,
|
15
16
|
overload,
|
16
17
|
)
|
17
18
|
|
19
|
+
import streamlit as st
|
20
|
+
import streamlit.components.v1 as components
|
18
21
|
from aiortc.mediastreams import MediaStreamTrack
|
19
22
|
|
20
23
|
from streamlit_webrtc.models import (
|
@@ -25,15 +28,6 @@ from streamlit_webrtc.models import (
|
|
25
28
|
VideoFrameCallback,
|
26
29
|
)
|
27
30
|
|
28
|
-
try:
|
29
|
-
from typing import TypedDict
|
30
|
-
except ImportError:
|
31
|
-
# Python < 3.8
|
32
|
-
from typing_extensions import TypedDict
|
33
|
-
|
34
|
-
import streamlit as st
|
35
|
-
import streamlit.components.v1 as components
|
36
|
-
|
37
31
|
from ._compat import rerun
|
38
32
|
from .components_callbacks import register_callback
|
39
33
|
from .config import (
|
streamlit_webrtc/config.py
CHANGED
streamlit_webrtc/factory.py
CHANGED
@@ -1,9 +1,4 @@
|
|
1
|
-
from typing import Optional, Union, overload
|
2
|
-
|
3
|
-
try:
|
4
|
-
from typing import Literal
|
5
|
-
except ImportError:
|
6
|
-
from typing_extensions import Literal # type: ignore
|
1
|
+
from typing import Literal, Optional, Union, overload
|
7
2
|
|
8
3
|
import streamlit as st
|
9
4
|
from aiortc import MediaStreamTrack
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"files": {
|
3
|
-
"main.js": "./static/js/main.
|
3
|
+
"main.js": "./static/js/main.ff279b83.js",
|
4
4
|
"index.html": "./index.html",
|
5
|
-
"main.
|
5
|
+
"main.ff279b83.js.map": "./static/js/main.ff279b83.js.map"
|
6
6
|
},
|
7
7
|
"entrypoints": [
|
8
|
-
"static/js/main.
|
8
|
+
"static/js/main.ff279b83.js"
|
9
9
|
]
|
10
10
|
}
|
@@ -1 +1 @@
|
|
1
|
-
<!doctype html><html lang="en"><head><title>Streamlit WebRTC Component</title><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Streamlit WebRTC Component"/><script defer="defer" src="./static/js/main.
|
1
|
+
<!doctype html><html lang="en"><head><title>Streamlit WebRTC Component</title><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Streamlit WebRTC Component"/><script defer="defer" src="./static/js/main.ff279b83.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|