Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

Odtwarzanie dźwięków z mikrofonu Klienta na głośnikach kamery

To transmit audio from the Client's microphone behind NAT to the Server's or camera's loudspeaker, do the following:

Aby móc trasmitować audio z mikrofonu Klienta znajdującego się za NAT do głośnika Serwera bądź kamery, wykonaj następujące kroki:

  1. Na Kliencie określ unikalny zasięg portów oraz zewnętrzny adres IP routera; w tym celu:
    1. Dodaj zmienną środowiskową
    On the Client, specify a unique port range and an external router's public IP address. Follow the steps below:
    1. Add an NGP_CLIENT_PORT_BASE environmental variable and set its value to the first port number in the range (see Appendix 10. Creating system variable).i ustaw jej wartość na pierwszy port w zasięgu (zobacz: Załącznik 10. Tworzenie zmiennych systemowych).
    2. Dodaj zmienną środowiskową Add an NGP_CLIENT_PORT_SPAN environmental variable and set its value to the number of ports in the rangei ustaw jej wartość na liczbę portów w zasięgu.

      Note
      titleAttentionUwaga!

      We recommend you to use no less than 100 portsZalecane jest użycie nie mniej niż 100 portów


      Note
      titleAttention!

      If you have multiple Clients within your network, their port ranges must not overlap. 

      Add an
      Uwaga!

      Jeśli korzystasz z wielu Klientów w jednej sieci, ich zasięgi portów nie mogą się na siebie nakładać. 


    3. Dodaj zmienną środowiskową NGP_ALT_ADDR environmental variable and set its value to the public IP address of the externa router.
  2. Configure forwarding of the specified ports on both external and internal router.

Example. 

Image Removed

To transmit audio from microphones connected to Client 1 and Client 2 to the Server's or camera's loudspeaker, do the following:

    1. i ustaw jej wartość na publiczny adres IP zewnętrznego routera.
  1. Skonfiguruj przekierowywanie określonych portów na zarówno zewnętrznym, jaki i wewnętrznym routerze.

Przykład:

Image Added

Aby móc transmitować audio z mikrofonów na Klientach 1 i 2 do głośnika Serwera lub kamery na Serwerze, wykonaj następujące kroki:

  1. Na Kliencie 1 ustaw zasięg portów na 20555-21554 oraz publiczny adres IP routera dostawcy Internetu.
  2. Na Kliencie 1 ustaw zasięg portów na 21555-22554 oraz publiczny adres IP routera dostawcy Internetu.
  3. Skonfiguruj przekierowywanie portów na wewnętrznym routerze:
    1. porty 20555-21554 do wewnętrznego adresu IP Klienta 1 oraz portów 20555-21554;
    2. porty 21555-22554 do wewnętrznego adresu IP Klienta 2 oraz portów 21555-22554;
  4. Skonfiguruj przekierowywanie portów na routerze dostawcy Internetu:
    1. porty routera 20555-21554 do adresu IP wewnętrznego routera oraz portów 20555-21554;
    2. porty routera 21555-22554 do adresu IP wewnętrznego routera oraz portów 21555-22554.
  5. On Client 1, set port range to 20555-21554, and the public IP address of your Internet provider's router.
  6. On Client 2, set port range to 21555-22554, and the public IP address of your Internet provider's router.
  7. Configure port forwarding on the internal router:
    1. ports 20555-21554 to the internal IP address of Client 1 and ports 20555-21554;
    2. ports 21555-22554 to the internal IP address of Client 2 and ports 21555-22554;
  8. Configure port forwarding on the provider's router:
    1. router ports 20555-21554 to the IP address of the internal router and ports 20555-21554;
    2. router ports 21555-22554 to the IP address of the internal router and ports 21555-22554;