Answered
Re-sync out of sync live streams
Hi Guys,
I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.
Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.
I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.
Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.
Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.
If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.
I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.
Any help would be appreciated!
I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.
Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.
I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.
Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.
Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.
If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.
I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.
Any help would be appreciated!
