[lunaSend] subtitle parameters

This commit is contained in:
고동영
2024-06-14 17:58:19 +09:00
parent 33ad2bf5dd
commit e7a634514a

View File

@@ -177,6 +177,7 @@ export const setSubtitleEnable = (
// 5.0
export const setSubtitleEnableOver5 = (
showId,
captionEnable,
{ onSuccess, onFailure, onComplete }
) => {
if (
@@ -187,7 +188,7 @@ export const setSubtitleEnableOver5 = (
return new LS2Request().send({
service: "luna://com.webos.media",
method: "setSubtitleEnable",
parameters: { pipelineId: showId },
parameters: { enable: captionEnable, mediaId: showId },
onSuccess,
onFailure,
onComplete,