This page has been robot translated, sorry for typos if any. Original content here.

How to connect a webcam

  • Webcams connect to the Internet
  • How to connect a webcam over a local network
  • How to access your webcam over the Internet
  • How to build a security system using webcams
  • Organization of live broadcasting from the ip camera on the site

  • Webcams connect to the Internet

    1. Via a port over a 10/100 MbitEthernet network , the most popular way to transfer data. There are two standards for 10 Mbit Ethernet networks: 10Base2 (using a coaxial cable) and 10BaseT (using a twisted pair cable). 10Base2 is used extremely rarely due to the sensitivity of the coaxial cable to external noise. The 100BaseTX standard uses twisted pair and provides a data transfer rate of 100 Mbps. 1000 Mbit Ethrnet, Gigabit Ethernet The 1000BaseTX standard used here is an advanced version of 100BaseTX. This standard is mainly used for building LAN backbones.
    2. Using a standard modem via a serial port. This is a cheap and fairly common way to connect a web camera to a global network. The main disadvantage of this connection method is the low data transfer rate (the maximum data download speed is 56 kbit / s, the maximum swap speed is 33.6 kbit / s.
    3. Via ISDN modems. The ISDN (Integrated Services Digital Network) standard is used to transmit digital graphics, audio and video information, and other digital data over private or public digital telephone networks. The ISDN standard provides data transfer at speeds up to 128 kbit / s over two channels. xDSL modemsDSL (Digital Subscriber Line) is a technology that provides wide bandwidth over simple copper telephone wires. The data transfer rate may vary depending on the company providing this service. On average, it is 1 Mbps for downloading data and 250 Kbps for swapping.
    4. A cable modem is a modem that provides Internet access through cable television networks. Cable modems use asymmetric technology that is best suited for user access to the Internet. At the same time, the maximum possible data reception speed by such a modem can reach about 40 Mbit / s (although usually it does not exceed 1 Mbit / s), and the data transfer speed is about 10 Mbit / s.
    5. Cellular Modems Using a cellular modem, you can connect a web-camera to the Internet using cellular communication lines. The data transfer rate is usually from 5 to 20 kbit / s.

    After a physical connection to the network, the webcam is assigned an IP address. Most often, the webcam does not have a default IP address; it is installed either using the corresponding function of a standard web browser, or by the DOS command, which uses the serial number of the web camera for identification. In addition, manufacturers are developing special programs for web-cameras, greatly simplifying the procedure for assigning an IP-address to a web-camera. Thanks to the built-in software for the web server, FTP server, FTP client, e-mail client, etc., the web camera connects directly to the LAN / WAN / Internet network and works in it as an independent network device. This distinguishes web-cameras from conventional computer cameras, which require a mandatory connection to a personal computer via USB or LPT port. In addition, web-cameras can support work with user scripts and JAVA-applets. To install a web-camera on the street or indoors, many manufacturers provide a special mount in the design of the camera body, designed to be installed on walls, ceilings, brackets and rotary devices. Some webcams have built-in PTZ devices for mounting on a horizontal or vertical surface.

    How to connect a webcam over a local network

    You will need the following components: computer, switch, network camera, and Ethernet LAN. There are also wireless options

    An example of the organization of video surveillance in the Office behind the front door

    Step 1: Identify Your Needs

    - Do you want to use the camera only indoors? Or for outdoor use?

    - Do you want a camera with a fixed viewing angle or a variable that will allow you to remotely pan, tilt or zoom?

    - Do you need additional options, such as motion detection, alarm notification, camera power over Ethernet, audio?

    - Do you want to just watch or also record what is happening?

    - Do you need to protect the camera from external influences?

    - Determine how many cameras you need for your needs.

    Step 2: System Requirements

    If your building does not yet have a local network that allows you to simply connect the network camera to the network output, then you will need the following equipment:

    - a switch that will serve as the central connection point between your network camera and your local computer

    - at least two Ethernet cables: one to connect your network camera with the switch and the other to connect your local computer with the switch.

    Step 3: Installation.

    - Connect all devices to each other through a switch

    Step 4: Assign an IP address for the network camera.

    - You must assign an IP address for your network camera so that you can access it through a Web browser on your local computer. You can choose between automatic and static IP address. A static IP address is recommended because you do not have to look for the IP address of the camera every time.

    To set the IP address of the network camera. You can use the software that is located on the CD-ROM that comes with the product, or can be downloaded from the manufacturer’s website or using the ping utility protocol definition protocol. In any case, all the information you will find in the installation guides of the network camera

    Step 5: Complete the installation of the network camera.

    Once an IP address has been assigned, you can open a Web browser on your local computer and enter the IP address of the network camera in the address field. For new visitors with the Internet Explorer Web browser, the browser will ask if you want to download the program for working with the camera. This program is required in order to watch live video from a video server or camcorder. It also provides control of MPEG-2, MPEG-4 formats, audio streams, motion detection and pan / tilt / zoom in the browser window. (Other Web browsers may have native support for video streams and do not require the installation of additional components.)

    Click the "Yes" button to install the program.

    How to access your webcam over the Internet

    Example: After you already receive the image from the webcam to your computer, you decide that it would be nice to be able to access the camera wherever there is Internet. For example, as a store owner, you want to control the actions in the store from your home, instead of having to be present at the workplace every minute

    Step 1: System Requirements

    Scenario A)

    If your building (where the camera should be located) is already connected via Ethernet to the Internet service provider (Internet service provider), just set up an account, turn on the network camera in the switch through the network output, and you should get a dynamically assigned public IP for the network camera -address. Follow the installation instructions for the network camera. A special software or utility for the webcam will be useful in identifying the IP address.

    Since the assigned IP address can be changed by your Internet service provider (due to the limited supply of IP addresses shared among its customers), you can find out how you can assign a specific IP address to cameras in Step4 below.

    Scenario B)

    If your building is not equipped with Ethernet access, then in most cases you may need the following devices:

    - a broadband modem for connecting an asymmetric digital subscriber line (usually supplied by your Internet service provider) or cable TV

    - a broadband router, which may also be called an Internet Gateway (A broadband router allows users on a local network to share a single Internet connection. It also serves as an interface between the Internet, the Provider and the Local Area Network.)

    - a switch that allows various devices from the network to communicate directly with each other and allows devices from the local network to have separate IP addresses),

    NOTE: Most broadband routers have a built-in switch function, so separate hardware is not required.

    - network camera

    - local computer

    - computer for remote monitoring

    Step 2: Assign an IP Address for Your Camera

    - Since the broadband router typically assigns automatic, local IP addresses for devices on the LAN, such IP addresses have the ability to change. A static (permanent) IP address is recommended for a network camera. To assign a static IP address, find out the range of IP addresses of the router, which, for example, can be from to If you want to use an IP address outside the range, such as, as a static IP address for the camera, it is likely that you will not risk that your device will conflict with other devices that receive automatic addresses.

    - Setting the IP address for your camera can be done in three different ways, as indicated in the camera manual. Once an IP address has been assigned, set the subnet and gateway (this information can be obtained from the router), and configure the camera settings: password, registered users to ensure access to the camera is restricted.

    Step 3: Port Forwarding

    - A broadband router, as mentioned earlier, provides an interface between the Internet, the Provider and the Local Area Network. The router receives an external IP address from the Internet service provider and delivers internal (local) IP addresses for devices on the local network.

    In order to access a network camera resident on the local network, you must identify the external IP address of your router (see the manual of your router), and configure your router so that the external IP address is directed to the static, local IP address of the network camera . This process is called port discovery; that is, when you print the external IP address of the router from any network computer, the Internet determines the location of your router, in turn redirects your request to the local IP address that is assigned to the network camera.

    - Launch a Web browser and log in to the router’s embedded Web pages through the Login to the router configuration pages.

    - Find the menu item "port forwarding" (or similar), with a table approximately as shown below:

    Service name Start port End port Server IP Address
    FTP 21 21 Not configured
    HTTP (Network) 80 80 Not configured
    Not configured

    Since the camera sends its video over HTTP, you must configure the HTTP service as follows:

    Service name Start port End port Server IP Address
    FTP 21 21 Not configured
    HTTP (Network) 80 80
    Unofficial port 80xx 80xx

    - Save the configuration in the router and exit the configuration pages. Configuration completed. Any requests that reach the external IP address of the router on port 80 will now be sent to the IP address of the camera:

    - If you want to make more than one network camera accessible via the Internet, then you must use additional (unofficial) router ports, such as 80xx, and bind them to the network IP address of the camera.

    Step 4: What can you do if your ISP often changes Dfi external IP address

    - Create an account in the DNS service that services and registers domain names (for example , etc.) and bind it to an external IP address. A domain name, such as , is understandable to the user, it is easy to remember, and you can assign a network device to each domain, i.e. its IP address. Whenever the IP address of the router changes, it will be automatically registered by the DNS service in order to update your IP address so that you can access your network camera at the same address.

    - Most broadband routers have native DNS support, such as .

    - Another alternative: you can buy or rent a static external IP address from your Internet service provider.

    How to build a security system using webcams

    An effective way to expand security systems in construction, in a factory, in a hospital or on a campus is to use an existing infrastructure:

      - During the day, guards watch the monitor in the control room
      - At night and on weekends, surveillance can be performed remotely at a central observation point serving several companies.
      - Built-in motion detector can trigger an alarm and start recording an alarm event
      - In the event of an alarm, the security manager can view the images on the computer closest to him or remotely through an Internet connection.

    Images may be injured in the computer at the enterprise or on the server of the Internet service provider (provider). Storing images in remote locations eliminates the risk that an attacker will destroy evidence of crime.

    Cameras can also send images automatically to the host computer, or the host computer itself can search for images from the cameras. If Windows is installed on the host computer, you can use special software designed for network cameras. The program can display a picture in real time or work with archives. When the storage period of video images becomes, for example, two weeks, the program automatically erases them.