issue #10 HDMI입력시 화면 전환 기능 추가. Welcome에서 MQTT메시지 처리 로직 추가.
This commit is contained in:
@@ -38,7 +38,7 @@ HotelTV.hcap = (function() {
|
||||
'input_splash_image', 'block_usb', 'tv_channel_attribute_floating_ui',
|
||||
'instant_power', 'hardware_version',
|
||||
'network_info',
|
||||
'tv_channel_ui',
|
||||
'tv_channel_ui', "mute_on_tv_input",
|
||||
'soft_ap_ui', "soft_ap", "soft_ap_password",
|
||||
'end_of_item'
|
||||
];
|
||||
@@ -1045,6 +1045,13 @@ HotelTV.hcap = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
// MUTE ON TV INPUT: Prevent TV channel auto play when exit OTT
|
||||
if (_devinfo["mute_on_tv_input"] !== undefined) {
|
||||
if (_devinfo["mute_on_tv_input"] != 1) {
|
||||
_pmFxnArProperty.push(__hcapfxn_set_property('mute_on_tv_input', 1));
|
||||
}
|
||||
}
|
||||
|
||||
// // OSD LAYER ID
|
||||
// if (_devinfo["osd_layer_id"] !== undefined) {
|
||||
// if (_devinfo["osd_layer_id"] != 0) {
|
||||
@@ -1551,6 +1558,21 @@ HotelTV.hcap = (function() {
|
||||
|
||||
},
|
||||
|
||||
// _type은 hcap.externalinput.ExternalInputType형이고, 현재는 HDMI로 고정
|
||||
// _index는 HDMI포트 번호
|
||||
SetExternalInput: function(_type, _index) {
|
||||
hcap.externalinput.setCurrentExternalInput({
|
||||
"type" : hcap.externalinput.ExternalInputType.HDMI,
|
||||
"index" : _index,
|
||||
"onSuccess" : function() {
|
||||
console.log("onSuccess");
|
||||
},
|
||||
"onFailure" : function(f) {
|
||||
console.error("onFailure : errorMessage = " + f.errorMessage);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Test: function() {
|
||||
console.log("Test Start....");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user