We have purchased the Theta camera and we have downlaoded the sample Ricoh SDK code. I have installed the app on my iphone and then connect to camera wifi. After that I’m trying to connect to camera using App but I’m getting below error.
Post the version of the firmware you are using as well as the model of the THETA.
Use the desktop app, “Basic App” as well as the USB cable that came with the camera to manage the firmware in the camera. With the Basic App you can upgrade the firmware to the latest version as well as see the firmware version in the camera.
Note that if you are developing your mobile app for potentially high-volume camera use, there may be additional help options for technical support. If this is for prototyping of potential high-volume use, please contact @jcasman
Hi @craig Thank you so much for your quick response, We are not developing desktop application. We want to use Ricoh camera SDK in your iOS App. So the sample code which Richo Theta provided is not working. I’m not able to connect to the camera.
I have followed the below guidance for SDK implementation.
@jcasman Could you please provide your input here.
You may be able to get the camera to connect to the SDK with Wi-Fi if you upgrade the internal camera firmware. Can you let me know what version of the firmware you are using in the camera?
I have updated the firmware, Earlier it was 1.60.1 now it has been updated with 2.00.1
I have tried to connect with camera but still I’m getting same error. I’m attaching the screenshot.
One more thing I would like to add here, When I try to connect to camera using Theta (Apple Store) app it ask me to connect to wifi first. please check the screenshot
I’m going to need to test, which may take a day or so as I normally use Windows/Linux and I need to configure a Mac for this.
So I can replicate this, what version of iOS are you testing?
I’m assuming that you’re using the RICOH THETA Z1 as your primary development platform, right?
The good news is that other people are using the Z1 with that firmware and that SDK, so I think there’s a path forward.
Are you only doing iOS development? Or, are you also building an Android version? It’s a bit easier for me to test Android as the emulator and devices connect to Windows/Linux.
Can you ping the camera or use Notice of website closure (HTTP GET) to check if there is any connection at all?
The camera should be at 192.168.1.1 if the camera is set to connect with Wi-Fi in access point mode (which is easier since you don’t need to set up authentication)
I’m using RICOH THETA Z1. I have downloaded one SDK from Ricoh website. https://api.ricoh/downloads/
Visit the link and under the package section you would find the " [RICOH Camera Wireless SDK for iOS]" link. I’m using that SDK.
I’ve connected camera wifi and ping the 192.168.1.1 on safari browser, then I open 192.168.1.1/osc/info and I got some json result.
We are doing only iOS development.
Yes in the error logs it says 192.168.0.1 But I didn’t find that IP address in the code. I don’t know about the Client Mode authentication, I’m simply connecting the camera wifi and then try to connect to wifi.
Please let me know Do I need to download other SDK for “RICOH THETA Z1”.
Feel free to continue to ask questions. The Z1 is a good camera. The documentation is fairly good. There are some minor bugs in the settings sometimes when you set multiple settings at the same time. You need to wait for the camera status to be idle before you send the next command. The main issue people face is that they forget to check the camera status for “readiness” between commands. There is an API command to check if the camera is idle.
@craig Thanks for your help, I’m able to connect to the camera and I’m also able to download the images as well.
There is only one issue which I’m facing, I’m getting lag on live view of camera in SDK. Could you please help me here to get rid of this issue.
Thanks for your response, I’m using below code, The same code was also there on SDK. I have install the app from sdk as well but I’m facing the lag on live streaming.
httpConnection.startLiveView { (frameData:Data?) in
self.toggleCameraStatusLabel(isHidden: true)
DispatchQueue.main.async {
if frameData != nil {
self.imgMotionView.image = UIImage(data: frameData!)
}
}
}
StartLiveView method is returning the Data and I’m converting the data into the image and assigning it to the UIImageView. but ended with lag. Please help me if there is any other way to convert motion jpeg from data.
I would like to add one more thing, The same code is working fine on simulator. I have run the app in simulator and connect to the camera. I was able to get the live feeds without any lag.