Goodday everyone, I am brand new to this mailing list and to ogg/vorbis so I apologies if I am out of line. I am attempting to get synchronised streams to x clients via a WAN (i.e. internet). Currently due to buffering , latency etc.. the client streams are on average 1 - 10 seconds out of sync. My question is this. Does either ogg or vorbis contain timestamp information that could be use to sync clients and if so how would you propose this could be implemented in both server and client? I'm not a great hacker but am willing to have a go at the problem if I know where to look and what the potential pitfalls are. Any constructive help / ideas / comment will be received with gratitude. <p>K --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tuesday 12 August 2003 09:12, Mr I wrote:> Goodday everyone, > I am brand new to this mailing list and to ogg/vorbis so I apologies if > I am out of line. > > I am attempting to get synchronised streams to x clients via a WAN (i.e. > internet). Currently due to buffering , latency etc.. the client streams > are on average 1 - 10 seconds out of sync. > > My question is this. Does either ogg or vorbis contain timestamp > information that could be use to sync clients and if so how would you > propose this could be implemented in both server and client?Yes. The ogg layer contains timestamps (measured in samples), so the information is there for you to use. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tue, Aug 12, 2003 at 12:12:03AM +0100, Mr I wrote:> Goodday everyone, > I am brand new to this mailing list and to ogg/vorbis so I apologies if > I am out of line. > > I am attempting to get synchronised streams to x clients via a WAN (i.e. > internet). Currently due to buffering , latency etc.. the client streams > are on average 1 - 10 seconds out of sync.Assuming you actually get them in sync to begin with, you're going to discover that different machines will slowly drift out of sync with one another due to the soundcard's onboard clocks all being slightly off with respect to one another (and not even consistently out of spec, you can expect them to change with temperature and for no reason at all). So if you really expect multiple machines to _stay_ synchronized, you'd have to constantly be communicating among them and somehow be correcting the time slips that occur. However, you're never going to get within a certain margin of error, so I'd guess you will always have funny phase issues if you can hear different machines from one place. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.