Skip to content

web_settings

module TikTokLive.client.web.web_settings

  • Location (LocationPreset)
  • Device (DevicePreset)
  • Screen (ScreenPreset)
  • Last_RTT (str) — Default HTTP client parameters to include in requests to the Webcast API, Sign Server, and Websocket Server
  • DEFAULT_WEB_CLIENT_PARAMS (Dict[str, Union[int, str]])
  • DEFAULT_WS_CLIENT_PARAMS (Dict[str, Union[int, str]])
  • DEFAULT_WS_CLIENT_PARAMS_APPEND_STR (str) = '&version_code=270000' — Default HTTP client headers to include in requests to the Webcast API, Sign Server, and Websocket Server
  • DEFAULT_REQUEST_HEADERS (Dict[str, str])
  • DEFAULT_COOKIES (Dict[str, str]) = {'tt-target-idc': 'useast1a'} — The unique identifier for ttlive-python
  • CLIENT_NAME (str) = 'ttlive-python'
  • WebDefaults (_WebDefaults)
import TikTokLive.client.web.web_settings

TikTokLive/client/web/web_settings.py