Models
UserViewingVideo
objectcurrentTimeinteger<seconds>requiredtimestamp within the video, in seconds
Example
5viewEventstringseekEvent since last viewing call:
seek- If the user seeked the video
sessionIdstringOptional param to represent the current viewer session. Used by the backend to properly count one view per session per video. PeerTube admin can configure the server to not trust this sessionId parameter but use the request IP address instead to identify a viewer.
clientstringClient software used to watch the video. For example "Firefox", "PeerTube Approval Android", etc.
deviceVideoStatsUserAgentDeviceDevice used to watch the video. For example "desktop", "mobile", "smarttv", etc.
operatingSystemstringOperating system used to watch the video. For example "Windows", "Ubuntu", etc.