Skip to content

FetchVideoDataRoute

TikTok route to record the livestream video in real-time

TikTok route to record the livestream video in real-time

class FetchVideoDataRoute(ClientRoute)
FetchVideoDataRoute(web: TikTokHTTPClient)

Instantiate the video fetch route

  • ffmpeg (property, Optional[FFmpeg]) — Return a copy of the FFmpeg class, which is only defined while recording
  • is_recording (property, bool) — Check if the route is currently in use to record the Live
  • output_filename (property, Optional[str]) — Get the output filename

Alias for calling the class itself, starts a recording

def start(**kwargs) -> None
  • **kwargs — Kwargs to pass to __call__

None — None

Stop a livestream recording if it is ongoing

def stop() -> None

None — None

from TikTokLive.client.web.routes import FetchVideoDataRoute

TikTokLive/client/web/routes/fetch_video_data.py:57