{"id":3229,"date":"2018-08-30T15:21:42","date_gmt":"2018-08-30T13:21:42","guid":{"rendered":"https:\/\/technicadelarte.com\/kb\/?page_id=3229"},"modified":"2021-10-11T14:55:50","modified_gmt":"2021-10-11T12:55:50","slug":"udp-port-forwarding-for-rtp-incoming-stream","status":"publish","type":"page","link":"https:\/\/technicadelarte.com\/kb\/?page_id=3229","title":{"rendered":"UDP port forwarding for RTP incoming stream"},"content":{"rendered":"<p><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/Port-forward-to-LUCI-studio.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2666 size-full\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/Port-forward-to-LUCI-studio.jpg\" alt=\"\" width=\"1024\" height=\"778\" \/><\/a>When an RTP stream arrives at the router of your Studio, your Studio has to send the stream to the computer where your copy of LUCI Studio or a hardware codec is running. In the above example the computer has the IP-address <strong>192.168.1.100<\/strong> and is listening on port <strong>5010<\/strong>. The incoming RTP stream at <strong>5010<\/strong> wants to go to this IP-address, but it doesn&#8217;t know the local IP-address. So the Router must be set to send the stream to port <strong>5010<\/strong> of the computer at <strong>192.168.1.100<\/strong>.<\/p>\n<p>This concept is called port-forwarding on your router.<\/p>\n<p>Read more about port-forwarding <a href=\"https:\/\/en.wikipedia.org\/wiki\/Port_forwarding\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<h3>Step by step example<\/h3>\n<p>WAN = Wide Area Network (the internet)<br \/>\nLAN = Local Area Network (the local network)<br \/>\nIP address = Internet Protocol Address<br \/>\nPort = source and destination number (TCP\/UDP protocol)<br \/>\nPort Forwarding = translating the address of a packet to a new destination<\/p>\n<p>We will need to set up a transmission from an external device to an internal computer, connected to the internet through a router. Our external device is in this example an iPhone running LUCI LIVE software. The iPhone is connected to the internet via a 4G connection, the receiving computer router is connected to the internet via ADSL.<br \/>\nThe receiving computer has LUCI Studio software running.<br \/>\nThe WAN (external) IP address of the router is <strong><em>82.161.163.12<\/em><\/strong>. The LAN IP addresses in our example start with <strong><em>192.168.1<\/em><\/strong>. and the last numbers: <strong><em>100<\/em><\/strong>, <strong><em>110<\/em><\/strong> and <strong><em>115<\/em><\/strong> are the specific numbers corresponding with the different computers.<br \/>\nTo connect from the outside world to one specific computer in our internal network, the router should be set up to forward the incoming transmission to the right computer. To do so the router uses Port numbers. We need to configure the router in such away that the UDP transmission coming in through port number <strong><em>5010<\/em><\/strong> is routed to the right IP address (in this example <em><strong>192.168.1.100<\/strong><\/em>).<br \/>\nAfter this setting is done, the router will forward all the data incoming on address <strong><em>82.161.163.12<\/em><\/strong> with the port number <strong><em>5010<\/em><\/strong> to the right address <strong><em>192.168.1.100<\/em><\/strong>. The returning signal will be configured automatically by the router to go back to the iPhone.<br \/>\nEvery router has it&#8217;s own user interface where the port forwarding can be set-up, this depends on the manufacturer.<br \/>\nHow to configure this on your router depends on the model, but here you can find some <a href=\"https:\/\/portforward.com\/router.htm\" target=\"_blank\" rel=\"noopener noreferrer\">examples<\/a>\u00a0for most routers.<\/p>\n<p><strong><em>Note: Only the UDP protocol needs to be port forwarded.<\/em><\/strong><\/p>\n<p><strong><em>Note: Ensure that the used port is NOT used by an other port-foward rule.<\/em><\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When an RTP stream arrives at the router of your Studio, your Studio has to send the stream to the computer where your copy of LUCI Studio or a hardware codec is running. In the above example the computer has the IP-address 192.168.1.100 and is listening on port 5010. The incoming RTP stream at 5010 &hellip; <a href=\"https:\/\/technicadelarte.com\/kb\/?page_id=3229\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;UDP port forwarding for RTP incoming stream&#8221;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"parent":3220,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3229","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/3229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3229"}],"version-history":[{"count":19,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/3229\/revisions"}],"predecessor-version":[{"id":5596,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/3229\/revisions\/5596"}],"up":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/3220"}],"wp:attachment":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}