Запрос на изменение стиля текстовых дорожек или изменение статуса дорожек. Если trackId не соответствует существующим trackIds, весь запрос завершится неудачей и статус не изменится. Допускается изменение стиля текстовой дорожки, даже если ни одна текстовая дорожка в данный момент не активна.
Конструктор
EditTracksInfoRequest
новый EditTracksInfoRequest (activeTrackIds, textTrackStyle)
Массив идентификаторов трека TrackId, которые должны быть активными. Если он не предусмотрен, активные треки не будут меняться. Если массив пуст, ни одна дорожка не будет активной.
[[["Прост для понимания","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-24 UTC."],[[["\u003cp\u003e\u003ccode\u003eEditTracksInfoRequest\u003c/code\u003e is used to modify the style or status of text tracks in a media stream.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying active tracks using \u003ccode\u003eactiveTrackIds\u003c/code\u003e and customizing style using \u003ccode\u003etextTrackStyle\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequests can fail if provided \u003ccode\u003etrackId\u003c/code\u003e values do not match existing tracks.\u003c/p\u003e\n"],["\u003cp\u003eModifying text track style is possible even if no text track is currently active.\u003c/p\u003e\n"]]],["The `EditTracksInfoRequest` class modifies text track status or style. It accepts `activeTrackIds`, an array of track IDs to activate (or an empty array to deactivate all), and `textTrackStyle` to update the style. If `activeTrackIds` is not provided, track status is unchanged; if `textTrackStyle` isn't, the existing style is retained. Requests with invalid `trackId` will fail. A `requestId` property, which contains a number, is also part of the class.\n"],null,[]]