Pirate Tok

Mobile Webcast WSS

Purpose

Mobile WebSocket hosts, headers and parameters observed in Android requests. The minimum sufficient parameter set is not established.

Endpoint Family

Observed hosts:

  • webcast-ws16-normal-no1a.tiktokv.eu
  • webcast-ws.tiktokv.com
  • frontier.tiktokv-eu.com
  • frontier-va.tiktokv.com

Observed path family:

  • /webcast/im/ws_proxy/
  • /webcast/im/ws_proxy/ws_reuse_supplement/
  • frontier ... /ws/v2

Observed Mobile Parameters

Observed parameter values:

  • app_language=en
  • app_type=normal
  • channel=googleplay
  • device_type=Pixel 7 Pro
  • language=en
  • resolution=1080*2340
  • update_version_code=2024405030
  • device_id={device_id}
  • compress=gzip
  • version_code=440503
  • ab_version=44.5.3
  • live_id=12
  • device_platform=android
  • aid=1233
  • room_id={room_id}
  • iid={iid}
  • openudid={openudid}
  • webcast_sdk_version=4360
  • app_name=musical_ly

Tested combinations without an established successful minimum include:

  • web host + mobile-style params
  • fresh ttwid with no session
  • random device ids / install ids

Observed Mobile Headers

  • User-Agent: com.zhiliaoapp.musically/... Cronet/TTNetVersion...
  • Cookie
  • Origin
  • Accept-Encoding
  • Sec-WebSocket-Key
  • Sec-WebSocket-Version
  • Sec-WebSocket-Extensions
  • Sec-WebSocket-Protocol
  • X-Tt-Token
  • X-Cylons
  • X-SS-DP
  • x-tt-ext-info
  • x-tt-request-tag

Confidence Note

Unlike the web direct-WSS path, the mobile parameter and header set is still partly replay-oriented. The evidence is strong that these hosts and headers exist, but weaker on which subset is minimally sufficient.