Buffer trouble :)

Hiya! :slight_smile:

I’m experimenting with live streaming in FMX, and it works wonders. =)

But I can’t seem to figure out how to check if it’s buffering or not…

I want a textfield saying whether it’s buffering or not, like: “buffering…”, then “All buffed out! Let’s ROLL!!”…

Argh… :frowning:

Btw I’m streaming off Digitally Imported.

anyone?

at all??

Are u guys avoiding this thread?

cough yes cough

aaa-ha…

and why…?

well I for one have never used it, and I assume the same goes for probably most everyone else here. That being the case, we (like myself) probably just dont know. :+)

argh

I saw on www.whoswe.com , that they’d done it…

THEN I searched these forums, and the ones on flashkit, and the ultrashock, and finally actionscript.org…

nothing…

Just how to stream live, and THAT’S NOT HARD… grr…

:( :( :*(

When I first saw this thread I tohught that you won’t get any good help cuz I don’t think anybody knows that kinda stuff!
I don’t knwo a thing about streaming in flash!(-: :smirk:

A-ha…

well, do this:

Make an object, convert to MC. Rightclick and then “Actions”, add this:

on(release){
stream=new Sound();
stream.loadSound(“http://64.236.34.141:80/stream/1003”, true);
stream.start(0,1);
}

And run the movie, click the button, and after a few secs, music SHOULD be flowin’ through the speakers.

It’s that timespace from u release, to the music starts playing I’m fiddlin’ with…

The buffertime…

I just want flash to tell me when it’s buffering, and when it’s playing… :frowning:

[SIZE=1]I don’t have a clue about this![/SIZE]

oooh I thought you meant with a webcam livestream input.
never used it, (most likely) never will.

anyway, for that just check for changes in soundObj.position
if position isnt changing, its buffering.

■■■■

of course :slight_smile:

thanx man! :stuck_out_tongue:

I guess some people have a logic way of thinking, mine is just messed up (-:

And btw seno, at the top post, I stated that I was streaming off Digitally Imported :slight_smile:

the shoutcast server? :slight_smile:

I tried checking the position, but it returns nothing :-\

:Plol:P

oh no WAIT!!!

something WORKS!!!

ahem… now I’ve got another problem…

OMG I MADE IT WORK!!! :!: :!: :!:

:P:P:P

thx for the tip seno!!!

thats probably from the whole shoutcast thing then… in that case I would assume you’re sol :frowning:

[edit] nvm it works![/edit]

hey seno

can I ask you to take a look at my fla and see if you can make it say “buffering” when the connection brakes and it has to reconnect?

it’s all in the relationship between check1 and check2 (checks positions)…

I can’t seem to figure it out… :frowning:

guess not…

any other takers…? :-\