Languages

Menu
Sites
Language
Voice search in Tizen OS using ReactNativeWeb,It's working fine in localhost (chrome).Not Working in Simulator & physical TV.

I Developed a Movie OTT application for Tizen Using React Native Web.
In that application I am developing a Voice Search Feature. for that I used
react-speech-recognition which using window.SpeechRecognition .
It's working very fine in my mac chrome browser . And It's not working in Tizen Simulator and Physical TV device.
here i am attaching my my config file: and search screen

please tell me where i did mistake.

if possible please give me an example to build voice search 

Thank you.

 

Responses

5 Replies
Emily Strickland

Congratulations on developing a movie OTT application for Tizen using React Native Web! Integrating a voice search feature can greatly enhance the user experience. I understand that you're facing difficulties with getting the voice search feature to work on the Tizen Simulator and physical TV device.

Emily Strickland

Based on the information you provided, it seems that the issue might be related to compatibility or limitations of the Tizen platform. The react-speech-recognition library you're using relies on the window.SpeechRecognition object, which may not be supported on Tizen devices.

Kosso

Check the version of Tizen running on your TV device. Then check which version of Chrome is running inside it by looking at this table: https://developer.samsung.com/smarttv/develop/specifications/web-engine-specifications.html

It is quite possible that the physical TV device you are trying to use does not support certain browser features due to it having an old version of Chrome running inside. 

You can check for browser support for window.SpeechRecognition here : https://caniuse.com/?search=SpeechRecognition

It appear that for older version of chrome, you will need to use the 'webkit' prefix for it to work. 

You could try using : 

var recognition = new (window.SpeechRecognition || window.webkitSpeechRecognition)();


 

pat cummins
It sounds like you've done a great job developing your Movie OTT application for Tizen using React Native Web, especially with the addition of a Voice Search feature using react-speech-recognition and window.SpeechRecognition. The issue you're encountering, where the Voice Search works well in your Mac's Chrome browser but not in the Tizen Simulator or on a physical Tizen TV, is likely due to the lack of support for window.SpeechRecognition in the Tizen web environment. Tizen's web browser does not support all the features and APIs available in desktop browsers like Chrome, especially those that require more advanced capabilities such as speech recognition

To troubleshoot and resolve this, you can consider the following steps:

Check Tizen API Support: Firstly, be sure if Tizen recognizes the window.SpeechRecognition API or has any other alternative speech recognition APIs available. You can find out from Tizen's developer documentation.
Polyfills and Libraries: In case of Tizen platforms that do not support Tizen window.SpeechRecognition, look for polyfills or other libraries that can do the same thing and are compatible with Tizen. 
Use Platform-Specific Code: Execute the platform-specific code to control the voice search on Tizen devices in a different way. This can mean using another way for Tizen while the other platforms keep the same execution.
Debugging and Logging: Consider adding more logging information in your code to obtain more data points for analyzing the Tizen emulator and the actual one. This can help to solve the question of where the process gets stuck.
Tizen developer forums: Find Tizen developer forums and related communities. In addition, developers have gone through the same issue so the solutions and workarounds can also be gotten from their.

By implementing these strategies, the chances are high that you will successfully identify compatibility problems and consequently acquire the right solution for the implementation of voice search on Tizen devices. If you include your configuration file and search screen code, more specific assistance can be offered.read more about voice user interface