Запрос на изменение стиля текстовых дорожек или изменение статуса дорожек. Если 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"]],["Последнее обновление: 2024-10-30 UTC."],[[["`EditTracksInfoRequest` is used to modify the style or status of text tracks in a media stream."],["It allows specifying active tracks using `activeTrackIds` and customizing style using `textTrackStyle`."],["Requests can fail if provided `trackId` values do not match existing tracks."],["Modifying text track style is possible even if no text track is currently active."]]],["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"]]