Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actuallaylay

Posted 05 January 2013 - 09:52 AM

So I got my encoded voice sending across UDP and seems to play smoothly (on localhost) Now I need to know what I need to do to have it play nicely when connected to other servers.

So from what you've all told me there's 2 main things I need to solve. Packet reordering and packet loss.

Let's start with packet reordering. I imagine I'd have to wait for a certain amount of packets to come in before I can put them in order and play them. How many packets should I be waiting for before i sort them though? 5, 6, 7, 10? If I'm waiting too long then there's going to be a lot of latency.

Any other problems I'll have to solve? I want this to be on par with something like the voice chat in Source Engine games.

#2laylay

Posted 05 January 2013 - 09:52 AM

So I got my encoded voice sending across UDP and seems to play smoothly (on localhost) Now I need to know what I need to do to have it play nicely when connected to other servers.

So from what you've all told me there's 2 main things I need to solve. Packet reordering and packet loss.

Let's start with packet reordering. I imagine I'd have to wait for a certain amount of packets to come in before I can put them in order and play them. How many packets should I be waiting for before i sort them though? 5, 6, 7, 10? If I'm waiting too long then there's going to be a lot of latency.

Any other problems I'll have to solve? I want this to be on par with something like the voice chat in Source Engine games.

#1laylay

Posted 05 January 2013 - 09:52 AM

So I got my encoded voice sending across UDP and seems to play smoothly (on localhost) Now I need to know what I need to do to have it play nicely when connected to other servers.

 

So from what you've all told me there's 2 main things I need to solve. Packet reordering and packet loss.

 

Let's start with packet reordering. I imagine I'd have to wait for a certain amount of packets to come in before I can order and play them. How many packets should I be waiting for before i sort them though? 5, 6, 7, 10? If I'm waiting too long then there's going to be a lot of latency.

 

Any other problems I'll have to solve? I want this to be on par with something like the voice chat in Source Engine games.


PARTNERS