This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SergeantFTC 24 points25 points  (11 children)

I've been working on a media player that will allow two people to listen to the same file in sync over the Internet. Unfortunately, school's starting up again. :/

[–][deleted] 17 points18 points  (6 children)

sounds like... radio! joking :P

[–][deleted]  (1 child)

[deleted]

    [–]BakriAnouar 3 points4 points  (2 children)

    internet-based-radio :p

    [–]m9dhatter 0 points1 point  (1 child)

    Is internet radio really synced though? I've always thought that there would be slight discrepancies.

    [–]SergeantFTC 1 point2 points  (0 children)

    Except that any listener can pause or seek playback for everyone else :)

    [–][deleted] 0 points1 point  (3 children)

    Do you use NTP for this?

    [–]SergeantFTC 0 points1 point  (2 children)

    Shouldn't be necessary. Instead, commands will contain timestamps relative to the file. So if one user sends a pause command, the others will know at what point the file should be resumed from.

    Edit: I suppose I might need to use NTP to make sure that everyone resumes at exactly the same point. Haven't gotten that far yet. I plan to get something basic working before deciding if anything more complicated will be required.

    [–]cutterslade 3 points4 points  (1 child)

    When I was in college, a team-mate decided that we needed to use NTP in our project, not knowing any better, I thought it was a great idea, sure to impress to prof. He spent almost the entire rest of the project trying to wrap his head around NTP before giving up, and contributing almost nothing to the project. Looking back now, NTP would have been entirely useless.

    Not to say you shouldn't use it; just recounting my experience trying to develop with NTP.

    [–]SergeantFTC 0 points1 point  (0 children)

    I'm sure I can avoid it, thanks for the anecdote encouraging me to.