April 16th, 2013, 05:12 PM
Webcam function on Android
There is a function built into the Android module which activates the phone's (or tablet) camera for use as an MJPEG streaming webcam and is supposed to return a tuple for the address and port # of the stream.
My question is.....once it is enabled for streaming, how would you have the tuple values for the address and port displayed? When you call the function, it enables the camera and you basically only have a camera preview displayed on the screen.
droid = android.Android()
April 17th, 2013, 02:45 AM
From https://code.google.com/p/android-scripting/wiki/unofficial_apiref#webcamStart : "Starts an MJPEG stream and returns a Tuple of address and port for the stream."
Originally Posted by Guitarman2010
(address, port) = droid.webcamStart()
April 17th, 2013, 08:12 AM
The answer was that easy? I keep that website always book marked and have it saved as a PDF for offline viewing but I still couldn't gather that easy answer lol.......thanks for the help
Originally Posted by partoj