Skip to content

build_webcast_uri

Build a webcast URI from a base URI and parameters. This method will format the base URI with the parameters and return the formatted URI.

Build a webcast URI from a base URI and parameters. This method will format the base URI with the parameters and return the formatted URI.

def build_webcast_uri(
initial_webcast_response: ProtoMessageFetchResult,
base_uri_params: dict,
base_uri_append_str: str,
) -> str
  • initial_webcast_response (ProtoMessageFetchResult) — The initial Webcast response
  • base_uri_params (dict) — Parameters to format the URI with
  • base_uri_append_str (str) — String to append to the base URI

str — str The formatted URI

from TikTokLive.client.ws.ws_utils import build_webcast_uri

TikTokLive/client/ws/ws_utils.py:13