[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.stats.Stats\u003c/code\u003e represents playback statistics aggregated over the entire receiver session, including multiple items in a queue.\u003c/p\u003e\n"],["\u003cp\u003eThe statistics include various metrics like time spent playing, buffering, total corrupted/decoded/dropped frames, estimated bandwidth, and dimensions of the video track.\u003c/p\u003e\n"],["\u003cp\u003eSeveral properties, such as \u003ccode\u003eabsolutePlayTime\u003c/code\u003e, \u003ccode\u003ecompletionPercent\u003c/code\u003e, and others, are specifically supported when using the Shaka player.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estateHistory\u003c/code\u003e and \u003ccode\u003eswitchHistory\u003c/code\u003e provide detailed information about player state changes and stream switches, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThis interface helps developers understand playback performance and user behavior during a Cast session.\u003c/p\u003e\n"]]],[],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).stats.Stats \ninterface static\n\nRepresents playback statistics. Statistics attributes are aggregated over\nthe entire receiver session (including multiple items in a queue) where\nindicated.\n\nProperties\n\nabsolutePlayTime\n\n(number or undefined)\n\nThe total time spent in a playing state only, in seconds. Unlike\n'playTime', *absolute* play time does NOT include time spent in a paused\nstate.\nThis is currently only supported while using Shaka.\n\nbufferingTime\n\n(number or undefined)\n\nThe total time spent in a buffering state, in seconds. This is\naggregated over all media items in the current receiver session.\n\ncompletionPercent\n\n(number or undefined)\n\nThe greatest completion percent that the user has experienced in\nplayback. Also known as the \"high water mark\". Is NaN when there is no\nknown duration, such as for livestreams.\nThis is currently only supported while using Shaka.\n\ncorruptedFrames\n\n(number or undefined)\n\nThe total number of corrupted frames. This is aggregated over all media\nitems in the current receiver session.\nThis is currently only supported while using Shaka.\n\ndecodedFrames\n\n(number or undefined)\n\nThe total number of frames decoded. This is aggregated over all media\nitems in the current receiver session.\n\ndrmTimeSeconds\n\n(number or undefined)\n\nThe amount of time it took to download the first drm key, and load that\nkey into the drm system.\nThis is currently only supported while using Shaka.\n\ndroppedFrames\n\n(number or undefined)\n\nThe total number of frames dropped. This is aggregated over all media\nitems in the current receiver session.\n\nestimatedBandwidth\n\n(number or undefined)\n\nThe estimated bandwidth. This is currently only supported while using\nShaka.\n\ngapsJumped\n\n(number or undefined)\n\nThe total number of playback gaps jumped by the player.\nThis is currently only supported while using Shaka v4.1.0+.\n\nheight\n\n(number or undefined)\n\nThe height of the current video track. Undefined if no video is playing.\n\nlicenseTime\n\n(number or undefined)\n\nThe time spent on license requests during this session in seconds, or\nNaN. This is currently only supported while using Shaka.\n\nliveLatency\n\n(number or undefined)\n\nThe time between the capturing of a frame and the end user having it\ndisplayed on their screen.\nThis is currently only supported while using Shaka.\n\nloadLatency\n\n(number or undefined)\n\nThe number of seconds it took for the video element to have enough data\nto begin playback. This is measured from the time the player's load()\nfunction is called to the time the 'loadeddata' event is fired by the\nmedia element.\nThis is currently only supported while using Shaka.\n\nmanifestTimeSeconds\n\n(number or undefined)\n\nThe amount of time it took to download and parse the manifest.\nThis is currently only supported while using Shaka.\n\nmaxSegmentDuration\n\n(number or undefined)\n\nThe presentation's max segment duration in seconds, or NaN.\nThis is currently only supported while using Shaka.\n\npauseTime\n\n(number or undefined)\n\nThe total time spent in a paused state in seconds.\nThis is currently only supported while using Shaka.\n\nplayTime\n\n(number or undefined)\n\nThe total time spent in a non-buffering state, in seconds. This is\naggregated over all media items in the current receiver session.\n\nstallsDetected\n\n(number or undefined)\n\nThe total number of playback stalls detected.\nThis is currently only supported while using Shaka v4.1.0+.\n\nstateHistory\n\n(non-null Array of non-null [cast.framework.stats.StateChange](/cast/docs/reference/web_receiver/cast.framework.stats.StateChange) or undefined)\n\nA history of the state changes the player has entered. This can be\n'buffering', 'playing', 'paused', or 'ended'.\n\nstreamBandwidth\n\n(number or undefined)\n\nThe bandwidth required for the current streams (total, in bit/sec).\nUndefined if no streams are currently active.\n\nswitchHistory\n\n(non-null Array of non-null [cast.framework.stats.TrackChoice](/cast/docs/reference/web_receiver/cast.framework.stats.TrackChoice) or undefined)\n\nA history of the stream changes. This includes both changes from ABR and\nmanual track selections.\n\nwidth\n\n(number or undefined)\n\nThe width of the current video track. Undefined if no video is playing."]]