File size: 695 Bytes
e43ba26
 
1328fff
 
e43ba26
 
1328fff
e43ba26
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from streamlit_webrtc import webrtc_streamer

from sample_utils.turn import get_ice_servers

webrtc_streamer(
    key="custom_ui_texts",
    rtc_configuration={"iceServers": get_ice_servers()},
    translations={
        "start": "開始",
        "stop": "停止",
        "select_device": "デバイス選択",
        "media_api_not_available": "Media APIが利用できない環境です",
        "device_ask_permission": "メディアデバイスへのアクセスを許可してください",
        "device_not_available": "メディアデバイスを利用できません",
        "device_access_denied": "メディアデバイスへのアクセスが拒否されました",
    },
)