Search code examples
cameraudpwear-ossonysony-camera-api

Sony Camera Api on Android Wear


I created a Android Wear application that can control a supported Sony Camera using the Sony Camera Api. I got it all working(recoring, liveview etc.), so i wanted to focus on the "connecting" thing.

As said in the following question i connect to the Sony Camera using a hardcoded ip-address because UDB Multicast is not supported on Android Wear: Using Sony Camera API on AndroidWear

I know this is not best practice, so i wanted to know if there is something else then SSDP to get the ip-address from the Sony Camera.

Is there a list of ip-addresses per device, or is there a another protocol to find out, or will it be soon supported in Android Wear? Questions i can not answer.


Solution

  • Not a direct answer to your question, but the alternative to using SSDP on the watch is to use it on the phone.

    You would of course, use the paired smartphone to discover the camera using SSDP. And, the smartphone would share the camera's URL with the watch.