I want to get live preview by Theta SC2 on Android.
(I’m using the https://github.com/ricohapi/theta-api2.1-android-sdk)
But LivePreview screen is Sometimes all black and I can’t see a thing.
Always black when connecting for the first time.
Do you have any solutions?
Would it be possible to get live preview by Theta SC2 on Android?
Rule out Android phone trying to fall back to mobile data:
put Android phone in Airplane mode (or disable mobile data) and then enable Wi-Fi only
The Android phone cannot connect to mobile data and Wi-Fi simultaneously (at least I don’t think it can)
After you rule out Wi-Fi interference and mobile data conflict, consider opening up a GitHub issue and see if the developers can test it with an SC2. I haven’t heard of this problem before, but the LivePreview is a major feature and people are trying to use the SDK with the SC2, so it’s possible that a fix is in progress.
I know some people at RICOH and will pass on this information as well as the results of my own tests. I can replicate the problems that you have with the LivePreview. I haven’t tested the option for the wlanFrequency yet.
I’ve heard that as the SC2 is new, the API documentation will get updated to reflect the capability of the SC2. I notice that on _wlanFrequency and other commands, only “SC”, not “SC2” is listed on the model support table.
I know some people at RICOH and will pass on this information as well as the results of my own tests. I can replicate the problems that you have with the LivePreview. I haven’t tested the option for the wlanFrequency yet.
Thank you for your cooperation.
If you find anything, I’d like to know.
The overall network performance of the SDK with the SC2 seems to be poor. On the THETA V, the image download after the picture is taken is also much faster.
The theta sample app here: https://github.com/ricohapi/theta-api2.1-android-sdk does have a bug where the live preview goes black on the SC2. If you are knowledgable in java, an EOFException occurs in readMJpegFrame() in MJpegInputStream. There is a relatively simple workaround if you are able to develop. Make the call to camera.getLivePreview again after after this occurs. Hope this helps!
@tamy It continous throw EOFException, so calling camera.getLivePreview again after and after while error occurs is a bad idea, any other idea you have? so please help us with that.
The Wi-Fi chipset on the SC2 sometimes shows difficulty connecting to Windows computers. Try putting the SC2 right next to the Windows Wi-Fi antenna, 2.4GHz only.