User Tools

Site Tools


srt_connection_manual

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
srt_connection_manual [2020/08/06 12:10] peteraelligsrt_connection_manual [2023/10/20 19:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
-SRT Connection Manual +SRT allows you to send video and audio over the public Internet.\\ 
-SRT allows you to send video and audio over the public Internet. It is a point-to-point connection between 2 +It is a point-to-point connection between 2 computers. No additional server is needed.\\ 
-computers. No additional server is required. +On one side, the computer (sender or receiver), has either a fix public IP, or that a port forwarding to the computer is established.\\ 
-SRT at VMIX knows 3 different types +**It only needs port forwarding on one side (listener). On the other side (caller) this is not necessary.**\\ 
-  * caller +\\ 
-  * listener +SRT at VMIX knows 3 different types\\ 
-  * rendezvous\\ +  caller, the caller computer is the one from which you do not know or cannot use the public IP-address.\\ 
-<fs:large;fc:RED>**It is important to understand that the send direction has nothing to do with the three connection typesWhen sending and receiving simultaneously on the one computer where the public IP is known, both, the sender and the receiver are the listener.**</fs>\\ +  listener,the listener is the computer from which you know the public IP address.\\ 
- +  rendezvous, in rendezvous mode, both nodes initiate communication. Rendezvous mode is used when both nodes are behind firewalls and enables communication without configuring the firewall.\\
-**Caller:** the caller computer is the one from which you do not know or cannot use the public IP-address.\\ +
-**Listener:** the Listener is the computer from which you know the public IP address.\\ +
-**Rendezvous:** In rendezvous mode, both nodes initiate communication. Rendezvous mode is used when both +
-nodes are behind firewalls and enables communication without configuring the firewall.\\+
  
 If you have both computers on the same network, it is possible that only Rendevous can connect.\\ If you have both computers on the same network, it is possible that only Rendevous can connect.\\
 +\\
 +<fs:large;fc:RED>**It is important to understand that the send direction has nothing to do with the three connection types. When sending and receiving simultaneously, on the one computer where the public IP is known, both, the sender and the receiver are the listener.**</fs>\\
 +
 +Requirements:\\
 +<fs x-small>ALL IP’s and PORTS are ONLY EXAMPLES</fs>
  
-Requirements: 
   * the public Internet address on one side. (Not the one of your computer after the router, but the IP address before. You can find this with a service such as https://www.whatismyip.com or google "what is my public IP" In my case in this manual, the public address would be for example 277.277.277.27\\   * the public Internet address on one side. (Not the one of your computer after the router, but the IP address before. You can find this with a service such as https://www.whatismyip.com or google "what is my public IP" In my case in this manual, the public address would be for example 277.277.277.27\\
 **THIS COMPUTER WILL BE THE LISTENER, for sending and receiving SRT**\\ **THIS COMPUTER WILL BE THE LISTENER, for sending and receiving SRT**\\
  
-{{::s1.png?800|}}\\ +{{::srt1.png?800|}}\\ 
-  *the IP address of your computer after the router, in my case 192.168.10.102+  *the IP address of your computer after the router, in my case 10.10.10.52
   *An open UDP port in your router that allows connection to your computer through your router's firewall. [[https://en.wikipedia.org/wiki/Port_forwarding|wiki Port_forwarding.]]   *An open UDP port in your router that allows connection to your computer through your router's firewall. [[https://en.wikipedia.org/wiki/Port_forwarding|wiki Port_forwarding.]]
-  *In our example we forward the UDP addresses 1935 and 1936. You need one open port per SRT connection (inbound AND outbound)\\+  *In our example we forward the UDP addresses 52001and 52002. You need one open port per SRT connection (inbound AND outbound)\\
   *In our example we use vixVMIX on both sides, at least version 23.0.0.31 The HD version for 60$ should work.\\   *In our example we use vixVMIX on both sides, at least version 23.0.0.31 The HD version for 60$ should work.\\
-{{::s2.png?600|}}\\+{{::srt2.png?600|}}\\
 Consult your router's manual on how to set up UDP port forwarding. With my router it looks like this\\ Consult your router's manual on how to set up UDP port forwarding. With my router it looks like this\\
 On most Routers you can choose port forwarding for TCP or UDP or both. Choose UDP or both.\\ On most Routers you can choose port forwarding for TCP or UDP or both. Choose UDP or both.\\
Line 35: Line 35:
 {{::s3.png?600|}}\\ {{::s3.png?600|}}\\
   *Enable SRT\\   *Enable SRT\\
-  *Type caller, Port 1935+  *Type caller, Port 52001
   *Hostname is the Public IP of the Receiver-Modem, in this case 277.277.277.27. The public IP adress can be found with "google my IP" or https://www.whatismyip.com(can not be a 4G Modem or Mobile phone, because they don’t get their own Public IP, theyget a Pool-IP, which can’t handle portforwarding.   *Hostname is the Public IP of the Receiver-Modem, in this case 277.277.277.27. The public IP adress can be found with "google my IP" or https://www.whatismyip.com(can not be a 4G Modem or Mobile phone, because they don’t get their own Public IP, theyget a Pool-IP, which can’t handle portforwarding.
-  *You can set the latency 4 times the Ping time. If your connection ist not reliable, raise the Latency time. Start with a Latency of 200ms, go higher, up to 30 seconds, for bad lines, lower to 80ms for SUPERlines. You can also set a passphrase, to encrypt your SRT connection, The passphrase has to be set ON BOTH SIDES the same.+  *You can set the latency 4 times the Ping time. If your connection ist not reliable, raise the Latency time. Start with a Latency of 200ms, go higher, up to 30 seconds, for bad lines, lower to 80ms for SUPERlines. \\
   *Modern Quadro GPUS can handle H265, with H265 (HEVC) you have approx. ¼ more quality with the same bandwith. If HEVC(H265) stutters on the receiver side, raise Latency, if this does not work, your Hardware is not able to handle HEVC/H265. Choose the compression quality of the stream. Over a 4G Modem most computers can deal with 2mbps.\\   *Modern Quadro GPUS can handle H265, with H265 (HEVC) you have approx. ¼ more quality with the same bandwith. If HEVC(H265) stutters on the receiver side, raise Latency, if this does not work, your Hardware is not able to handle HEVC/H265. Choose the compression quality of the stream. Over a 4G Modem most computers can deal with 2mbps.\\
   *You can use a Passphrase to encrypt your connection. the passphrase must be entered ON BOTH SIDES.\\   *You can use a Passphrase to encrypt your connection. the passphrase must be entered ON BOTH SIDES.\\
 +<fc #ff0000>Attention, encryption does affect the bandwidth and is a processor-intensive task and may have an impact on the overall CPU usage.</fc>\\
  
 ===== receiver side ===== ===== receiver side =====
 +<fs x-small>ALL IP’s and PORTS are ONLY EXAMPLES</fs>\\
 {{::s4.png?700|}}\\ {{::s4.png?700|}}\\
  
 **in vMix, add Input**\\ **in vMix, add Input**\\
 {{::s5.png?700|}}\\ {{::s5.png?700|}}\\
-  *Stream Type: SRT Listener and the SAME port, you have choosen on the sender side, and your Router is forwarding this port to your computers IP (in this example 192.168.0.12)+  *Stream Type: SRT Listener and the SAME port, you have choosen on the sender side, and your Router is forwarding this port to your computers IP (in this example 10.10.10.52)
  
   *Start using H264 codec with 1.5 mbps. NO HARDWARE ENCODING\\   *Start using H264 codec with 1.5 mbps. NO HARDWARE ENCODING\\
Line 59: Line 60:
 Thats it.\\ Thats it.\\
  
 +====== Examples for Port forwarding with Larix Broadcaster/Player and vMix ======
 +SRT allows you to send video and audio over the public Internet. \\
 +It is a point-to-point connection between 2 computers. No additional server is needed. \\
 +It is important that (only) on one side the computer (sender or receiver) has either a fix public IP, or that a port forwarding to the computer is established. \\
 +
 +{{:srt1.png?900|}}
 +All Port Numbers and IP Adresses are examples only! You have to take the IP Adresses from your IP Provider and your Router.
 +{{:srt2.png?900|}}
 +All Port Numbers and IP Adresses are examples only! You have to take the IP Adresses from your IP Provider and your Router.\\
 +
 +<fc #ff0000>
 +<fs x-large>It is important to understand that the direction of transmission has nothing to do with Caller or Listner. The Caller is always the side where you can NOT control your router, e.g. your mobile phone.\\
  
 +In the example below, the vMix machine is always the listener, whether it is transmitting or receiving.</fs></fc>
  
 +{{:srt3.png?900|}}
 +All Port Numbers and IP Adresses are examples only! You have to take the IP Adresses from your IP Provider and your Router.
 +{{:srt4.png?900|}}
 +All Port Numbers and IP Adresses are examples only! You have to take the IP Adresses from your IP Provider and your Router.
srt_connection_manual.1596708629.txt.gz · Last modified: 2023/10/20 19:45 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki