درخواستی برای تغییر سبک آهنگ های متنی یا تغییر وضعیت آهنگ ها. اگر یک trackId با trackId های موجود مطابقت نداشته باشد، کل درخواست با شکست مواجه می شود و هیچ وضعیتی تغییر نمی کند. حتی اگر هیچ تراک متنی در حال حاضر فعال نباشد، تغییر سبک آهنگ متنی قابل قبول است.
سازنده
EditTracksInfoRequest
جدید EditTracksInfoRequest (activeTrackIds، textTrackStyle)
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["`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"]]