🕐 커밋 시간: 2025. 10. 16. 15:01:09 📊 변경 통계: • 총 파일: 5개 • 추가: +240줄 • 삭제: -48줄 📁 추가된 파일: + com.twin.app.shoptime/vui-test.1.md + com.twin.app.shoptime/web-speech.md 📝 수정된 파일: ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.module.less ~ com.twin.app.shoptime/src/views/VoicePanel/VoicePanel.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/web-speech.md (md파일): ✅ Added: Framework(), Hook(), constructor(), checkSupport(), initialize(), SpeechRecognition(), setupEventHandlers(), onStart(), onResult(), onError(), getErrorMessage(), onEnd(), start(), abort(), cleanup(), WebSpeechService(), dispatch(), Date(), useDispatch(), useSelector(), useEffect(), initializeWebSpeech(), onSTTText(), useCallback(), SearchPanel(), useState(), setSearchQuery(), setTimeout(), setIsVoiceOverlayVisible(), useWebSpeech(), setVoiceMode(), stopListening(), handleSearchSubmit(), onSearchChange(), setCurrentMode(), onClose(), stopPropagation(), classNames(), renderModeContent(), async(), getUserMedia(), getTracks(), preventDefault(), startListening(), useSearchVoice() 🔧 주요 변경 내용: • 테스트 커버리지 및 안정성 향상 • 개발 문서 및 가이드 개선
6.0 KiB
1-1 Can you recommend a 4K TV with Dolby Atmos support under $1,500?
오버레이 인식 : 확인
STT Text : Can you recommend a 4K TV with Dolby Atmos support under $1,500?
Event Logs :
RESPONSE :
{ "subscribed": true, "command": "setContext", "returnValue": true, "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-0036" }
COMMAND :
{ "command": "setContext", "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-0036" }
REQUEST : { "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-0036", "intentCount": 3, "intents": [ { "intent": "UseIME", "supportAsrOnly": true }, { "intent": "Select", "supportOrdinal": true, "items": [ { "itemId": "voice-search-button", "value": [ "Search", "Search Products", "Find Items" ], "title": "Search" }, { "itemId": "voice-cart-button", "value": [ "Cart", "Shopping Cart", "My Cart" ], "title": "Cart" }, { "itemId": "voice-home-button", "value": [ "Home", "Go Home", "Main Page" ], "title": "Home" }, { "itemId": "voice-mypage-button", "value": [ "My Page", "Account", "Profile" ], "title": "My Page" } ] }, { "intent": "Scroll", "supportOrdinal": false, "items": [ { "itemId": "voice-scroll-up", "value": [ "Scroll Up", "Page Up" ] }, { "itemId": "voice-scroll-down", "value": [ "Scroll Down", "Page Down" ] } ] } ] }
RESPONSE :
{ "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-0036", "intentCount": 3, "intents": [ { "intent": "UseIME", "supportAsrOnly": true }, { "intent": "Select", "supportOrdinal": true, "items": [ { "itemId": "voice-search-button", "value": [ "Search", "Search Products", "Find Items" ], "title": "Search" }, { "itemId": "voice-cart-button", "value": [ "Cart", "Shopping Cart", "My Cart" ], "title": "Cart" }, { "itemId": "voice-home-button", "value": [ "Home", "Go Home", "Main Page" ], "title": "Home" }, { "itemId": "voice-mypage-button", "value": [ "My Page", "Account", "Profile" ], "title": "My Page" } ] }, { "intent": "Scroll", "supportOrdinal": false, "items": [ { "itemId": "voice-scroll-up", "value": [ "Scroll Up", "Page Up" ] }, { "itemId": "voice-scroll-down", "value": [ "Scroll Down", "Page Down" ] } ] } ] }
ACTION :
{ "message": "Context set successfully. Press the MIC button on remote and speak.", "nextStep": "Waiting for performAction event...", "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-0036" }
그러나 두번째 시도에서
STT Text : No STT text received yet. Speak after registering to see the result.
RESPONSE :
{ "subscribed": true, "command": "setContext", "returnValue": true, "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-003b" }
COMMAND : { "command": "setContext", "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-003b" }
REQUEST : { "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-003b", "intentCount": 3, "intents": [ { "intent": "UseIME", "supportAsrOnly": true }, { "intent": "Select", "supportOrdinal": true, "items": [ { "itemId": "voice-search-button", "value": [ "Search", "Search Products", "Find Items" ], "title": "Search" }, { "itemId": "voice-cart-button", "value": [ "Cart", "Shopping Cart", "My Cart" ], "title": "Cart" }, { "itemId": "voice-home-button", "value": [ "Home", "Go Home", "Main Page" ], "title": "Home" }, { "itemId": "voice-mypage-button", "value": [ "My Page", "Account", "Profile" ], "title": "My Page" } ] }, { "intent": "Scroll", "supportOrdinal": false, "items": [ { "itemId": "voice-scroll-up", "value": [ "Scroll Up", "Page Up" ] }, { "itemId": "voice-scroll-down", "value": [ "Scroll Down", "Page Down" ] } ] } ] }
RESPONSE : { "returnValue": true }
ACTION : { "message": "Context set successfully. Press the MIC button on remote and speak.", "nextStep": "Waiting for performAction event...", "voiceTicket": "13799ec6-fd1f-4cdd-b02e-34d58fe5f34b-68ef-003b" }
ERROR : { "message": "performAction event was not received within 15 seconds after setContext.", "possibleReasons": [ "1. Did you press the MIC button on the remote control?", "2. Did you speak after pressing the MIC button?", "3. UseIME intent might not be supported on this webOS version", "4. Voice framework might not be routing events correctly" ], "suggestion": "Try pressing the remote MIC button and speaking clearly. Check VoicePanel logs for performAction event." }