Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-08-2004, 06:07 PM   #1
Trevor Harrison
Lurking since 2004
 
Join Date: Apr 2004
Location: Maryland, USA
Posts: 48
Send a message via AIM to Trevor Harrison
Default 3 second audio lag problem

I'm running into a problem and wanted to see if anyone else knew of this and if my workaround sounds kosher.

I've got a movie that lets 2 users talk to each other, via my FCS. (FYI, I'm running fcs and the 2 copies of my movie all on my local pc, so network bandwidth shouldn't be an issue) I'm not using any code on the server side.

User 1 publishes a stream that is connected to his mic and user 2 plays that stream.

Initially, all is good and the liveDelay as measured from user2 is less than 1 second. However, if user2 stops and restarts playing user 1's stream several times (ie. ns.play(false); to stop, then ns.play(user1streamname); to start again) the liveDelay jumps to 3 seconds. If user2 keeps listening to user1's stream for a long time (several minutes) the liveDelay slowly will creep down to sub 1sec, but as soon as you stop and restart it, it will be back at 3 seconds.

If I change my code to create a new stream each time user2 stops listening and starts listening again, I don't have the delay problem.

Has anyone seen this kind of a problem with NetStream?
Am I going to have any issues with killing and re-creating streams?

-Trevor
Trevor Harrison is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.