a networked camera for controlling electronic devices is provided . the camera includes a camera module for obtaining images , a remote control module for generating remote control signals for electronic devices , and a module for controlling orientation of the remote control module . the remote control module includes an ir beam emitter for generating ir remote control signals . in response to a control command from a user device , the camera identifies a target electronic device , an orientation associated with the target electronic device . the camera changes orientation of a remote control module toward the target electronic device using the identified orientation and transmit an ir control signal for controlling the target electronic device .