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