Macromedia Flash Server - Extra connections?

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2006 > Extra connections?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Extra connections?
Jorge Maiquez

2006-05-04, 7:11 am

Hi guys,

Why does the server side Stream.play method consume connections that count
against my license limit?!

This is straight from the SSAS dictionary:

"The server-side Stream.play method behaves a bit differently than the
NetStream.play method on the client side. A play call on the server is
similar to a publish call on the client."

OK, fine. But the client side NetStream.play method DOES NOT consume an
extra connection. To see what all the fuss is about, do the following:

1) Create a FLA with this code (assumes FCS/FMS on localhost):

nc = new NetConnection();
nc.connect("rtmp://localhost/ConnectionEater/test");

2) Create the following file structure in your FCS/FMS applications folder:

applications/ConnectionEater/ConnectionEater.asc
applications/ConnectionEater/streams/test/TestFile.flv

-> The ConnectionEater.asc contains this code:

application.onConnect = function(client){
this.myStream = Stream.get("foo");
this.myStream.play("TestFile");
return true;
}

-> The TestFile.flv is an FLV file (big enough so that it plays for
awhile).

3) Publish the FLA and look at the Application Inspector/FMS Admin console.

You'll see that *2* connections are consumed as long as the server is
playing the FLV. This makes no sense to me. I am not creating another
NetConnection on the server, and I am not playing this FLV from another
server.

Does anybody have an explanation for this?

Thanks,
-Jorge
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Stefan Richter

2006-05-04, 7:11 am

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Jorge Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume
> connections that count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently
> than the NetStream.play method on the client side. A play
> call on the server is similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT
> consume an extra connection. To see what all the fuss is
> about, do the following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS
> applications folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it
> plays for awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS
> Admin console.
>
> You'll see that *2* connections are consumed as long as the
> server is playing the FLV. This makes no sense to me. I am
> not creating another NetConnection on the server, and I am
> not playing this FLV from another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-05-04, 7:11 am

Jorge,

I tried one of my apps using ser side Stream --record and playback-
and I did not get 2 users. I only got one. Try this. Open up a second
window and play your app. See if you get 3 connections. If you get 4,
then your Connection Eater is doing something strange, but if you get
2, there may be a glitch in your Admin console.

Bill

On May 4, 2006, at 4:41 AM, Jorge Maiquez wrote:

> Hi guys,
>
> Why does the server side Stream.play method consume connections
> that count
> against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the
> NetStream.play method on the client side. A play call on the server is
> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT
> consume an
> extra connection. To see what all the fuss is about, do the following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another
> server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-04, 7:11 am

That's my thinking exactly.

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the
> NetStream.play method on the client side. A play call on the server is
> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-04, 7:11 am

Bill,

I wish this were true. Unfortunately, there is very little that can go wrong
in this code. The app literally has 7 lines of code.

Additionally, I've tested this on several boxes, both FMS and FCS, and the
Admin consoles all behave the same. I've even maxed out a dev license of FMS
to prove to myself that these connections are actually counting against my
limit.

-Jorge

-----Original Message-----
Wrom: EXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill Sanders
Sent: 04 May 2006 10:59
To: FlashComm Mailing List
Subject: Re: [FlashComm] Extra connections?

Jorge,

I tried one of my apps using ser side Stream --record and playback- and I
did not get 2 users. I only got one. Try this. Open up a second window and
play your app. See if you get 3 connections. If you get 4, then your
Connection Eater is doing something strange, but if you get 2, there may be
a glitch in your Admin console.

Bill

On May 4, 2006, at 4:41 AM, Jorge Maiquez wrote:

> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the
> NetStream.play method on the client side. A play call on the server is
> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge

________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-05-04, 7:11 am

Jorge,

I'll try your code, then. I've used the ser side Stream a lot and
never saw what you're describing. What's the,

return true;

for in the ser side code?

Bill
On May 4, 2006, at 5:59 AM, j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org wrote:

> Bill,
>
> I wish this were true. Unfortunately, there is very little that can
> go wrong
> in this code. The app literally has 7 lines of code.
>
> Additionally, I've tested this on several boxes, both FMS and FCS,
> and the
> Admin consoles all behave the same. I've even maxed out a dev
> license of FMS
> to prove to myself that these connections are actually counting
> against my
> limit.
>
> -Jorge
>
> -----Original Message-----
> Wrom: EXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
> Sanders
> Sent: 04 May 2006 10:59
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Extra connections?
>
> Jorge,
>
> I tried one of my apps using ser side Stream --record and playback-
> and I
> did not get 2 users. I only got one. Try this. Open up a second
> window and
> play your app. See if you get 3 connections. If you get 4, then your
> Connection Eater is doing something strange, but if you get 2,
> there may be
> a glitch in your Admin console.
>
> Bill
>
> On May 4, 2006, at 4:41 AM, Jorge Maiquez wrote:
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Stefan Richter

2006-05-04, 7:11 am


> What's the,
>
> return true;


That's the same as saying 'acceptConnection'.

Return false would reject it.

Stefan

________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Bill Sanders

2006-05-04, 7:11 am

Hi Again,

Here's my code:

nc = new NetConnection();
nc.connect("rtmp://192.168.0.11/eater/test");

Ser side

application.onConnect = function(vidName) {
this.mySteam=Stream.get("foo");
this.mySteam.play("test");
return true;
};

I still just get 1 connection. Could it be the difference between
running on a LAN and doing the whole thing from the same machine?
(localhost).

Bill


On May 4, 2006, at 5:59 AM, j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org wrote:

> Bill,
>
> I wish this were true. Unfortunately, there is very little that can
> go wrong
> in this code. The app literally has 7 lines of code.
>
> Additionally, I've tested this on several boxes, both FMS and FCS,
> and the
> Admin consoles all behave the same. I've even maxed out a dev
> license of FMS
> to prove to myself that these connections are actually counting
> against my
> limit.
>
> -Jorge
>
> -----Original Message-----
> Wrom: EXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
> Sanders
> Sent: 04 May 2006 10:59
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Extra connections?
>
> Jorge,
>
> I tried one of my apps using ser side Stream --record and playback-
> and I
> did not get 2 users. I only got one. Try this. Open up a second
> window and
> play your app. See if you get 3 connections. If you get 4, then your
> Connection Eater is doing something strange, but if you get 2,
> there may be
> a glitch in your Admin console.
>
> Bill
>
> On May 4, 2006, at 4:41 AM, Jorge Maiquez wrote:
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-04, 7:11 am

Hi again

Yes, you are right, in the "View Applications" tab of the Admin Console you
can only see 1 connection.

However, if you look in the "Manage Servers" tab:
- select the server (not just a Vhost),
- look in the "Connections" section

You'll see that there are indeed 2 connections being made (only whilst the
server is playing the FLV though).

Thanks,
-Jorge

-----Original Message-----
Wrom: TFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHV
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill Sanders
Sent: 04 May 2006 12:48
To: FlashComm Mailing List
Subject: Re: [FlashComm] Extra connections?

Hi Again,

Here's my code:

nc = new NetConnection();
nc.connect("rtmp://192.168.0.11/eater/test");

Ser side

application.onConnect = function(vidName) {
this.mySteam=Stream.get("foo");
this.mySteam.play("test");
return true;
};

I still just get 1 connection. Could it be the difference between running on
a LAN and doing the whole thing from the same machine?
(localhost).

Bill


On May 4, 2006, at 5:59 AM, j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org wrote:
[vbcol=seagreen]
> Bill,
>
> I wish this were true. Unfortunately, there is very little that can go
> wrong in this code. The app literally has 7 lines of code.
>
> Additionally, I've tested this on several boxes, both FMS and FCS, and
> the Admin consoles all behave the same. I've even maxed out a dev
> license of FMS to prove to myself that these connections are actually
> counting against my limit.
>
> -Jorge
>
> -----Original Message-----
> Wrom: EXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
> Sanders
> Sent: 04 May 2006 10:59
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Extra connections?
>
> Jorge,
>
> I tried one of my apps using ser side Stream --record and playback-
> and I
> did not get 2 users. I only got one. Try this. Open up a second
> window and
> play your app. See if you get 3 connections. If you get 4, then your
> Connection Eater is doing something strange, but if you get 2,
> there may be
> a glitch in your Admin console.
>
> Bill
>
> On May 4, 2006, at 4:41 AM, Jorge Maiquez wrote:
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Jorge Maiquez

2006-05-04, 1:11 pm

Just reporting back here..

Bill has been kind enough to test this code on his machines (thanks Bill!),
and has verified that Stream.play does consume extra connections.

I'm sure I'm not the only one here who thinks this is not right. As Stefan
correctly pointed out, there is only one NetConnection being established in
this code, so it should consume only one connection, and no more.

Would someone from Adobe please comment as to why this is eating away my
precious connections?

Thanks,
-Jorge


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: 04 May 2006 12:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

Hi again

Yes, you are right, in the "View Applications" tab of the Admin Console you
can only see 1 connection.

However, if you look in the "Manage Servers" tab:
- select the server (not just a Vhost),
- look in the "Connections" section

You'll see that there are indeed 2 connections being made (only whilst the
server is playing the FLV though).

Thanks,
-Jorge

-----Original Message-----
Wrom: TFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHV
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill Sanders
Sent: 04 May 2006 12:48
To: FlashComm Mailing List
Subject: Re: [FlashComm] Extra connections?

Hi Again,

Here's my code:

nc = new NetConnection();
nc.connect("rtmp://192.168.0.11/eater/test");

Ser side

application.onConnect = function(vidName) {
this.mySteam=Stream.get("foo");
this.mySteam.play("test");
return true;
};

I still just get 1 connection. Could it be the difference between running on
a LAN and doing the whole thing from the same machine?
(localhost).

Bill
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Stefan Richter

2006-05-04, 1:11 pm

I'm gonna back you up here. If this really is the case then we have a
problem as the pricing of this product is directly dependent on the number
of connections.

Granted, a bug in the bandwidth measurement would be worse. Having said that
I've spotted some strange results in the admin console in regards to
bandwidth figures.
Example: log on via the admin console to a server that runs apps that use
streaming video or audio. Click on Manage Servers. Click on Connections.
Check the Mbits in/out. The tooltip on this column states 'Current bandwidth
in Mbits/s'. This cannot be. The column clearly keeps a sum of all bandwidth
(which it shouldn't), my server showing 450.780 Mbit in, 4210.763 Mbit out
and steadily rising. I'd love to have this kind of connectivity but I know
for sure that I don't :-)

The bandwidth graph under 'Details' shows more of a realistic figure but it
fluctuates like crazy, going from 0 to spike 80Mbit, 0 again, spike 80Mbit,
and so on every 5 to 10 secs. It just seems a bit broken to me.
Again this is not great considering that the product is licensed on
bandwidth and connections.
I think it's fair to expect this part to work 100% reliably.

Jorge, I'd file a bug:
http://www.adobe.com/cfusion/mmform...roduct=16&6213=
24
(nice layout on that form)

Stefan




> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Jorge Maiquez
> Sent: 04 May 2006 14:09
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] Extra connections?
>
> Just reporting back here..
>
> Bill has been kind enough to test this code on his machines
> (thanks Bill!), and has verified that Stream.play does
> consume extra connections.
>
> I'm sure I'm not the only one here who thinks this is not
> right. As Stefan correctly pointed out, there is only one
> NetConnection being established in this code, so it should
> consume only one connection, and no more.
>
> Would someone from Adobe please comment as to why this is
> eating away my precious connections?
>
> Thanks,
> -Jorge
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
> Sent: 04 May 2006 12:57
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] Extra connections?
>
> Hi again
>
> Yes, you are right, in the "View Applications" tab of the
> Admin Console you can only see 1 connection.
>
> However, if you look in the "Manage Servers" tab:
> - select the server (not just a Vhost),
> - look in the "Connections" section
>
> You'll see that there are indeed 2 connections being made
> (only whilst the server is playing the FLV though).
>
> Thanks,
> -Jorge
>
> -----Original Message-----
> Wrom: TFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHV
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Bill Sanders
> Sent: 04 May 2006 12:48
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Extra connections?
>
> Hi Again,
>
> Here's my code:
>
> nc = new NetConnection();
> nc.connect("rtmp://192.168.0.11/eater/test");
>
> Ser side
>
> application.onConnect = function(vidName) {
> this.mySteam=Stream.get("foo");
> this.mySteam.play("test");
> return true;
> };
>
> I still just get 1 connection. Could it be the difference
> between running on a LAN and doing the whole thing from the
> same machine?
> (localhost).
>
> Bill
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-04, 1:11 pm

Done, reported the bug.

Yeah, the console does act a bit funny sometimes. On one of our
installations it shows CPU at 100% (no way) and Memory at 0% (I wish :p)

I do hope this conn issue gets sorted though.
Someone from Adobe, please step in to put my mind at ease!


-----Original Message-----
Wrom: IYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDO
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 15:31
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I'm gonna back you up here. If this really is the case then we have a
problem as the pricing of this product is directly dependent on the number
of connections.

Granted, a bug in the bandwidth measurement would be worse. Having said that
I've spotted some strange results in the admin console in regards to
bandwidth figures.
Example: log on via the admin console to a server that runs apps that use
streaming video or audio. Click on Manage Servers. Click on Connections.
Check the Mbits in/out. The tooltip on this column states 'Current bandwidth
in Mbits/s'. This cannot be. The column clearly keeps a sum of all bandwidth
(which it shouldn't), my server showing 450.780 Mbit in, 4210.763 Mbit out
and steadily rising. I'd love to have this kind of connectivity but I know
for sure that I don't :-)

The bandwidth graph under 'Details' shows more of a realistic figure but it
fluctuates like crazy, going from 0 to spike 80Mbit, 0 again, spike 80Mbit,
and so on every 5 to 10 secs. It just seems a bit broken to me.
Again this is not great considering that the product is licensed on
bandwidth and connections.
I think it's fair to expect this part to work 100% reliably.

Jorge, I'd file a bug:
http://www.adobe.com/cfusion/mmform...roduct=16&6213=
24
(nice layout on that form)

Stefan




> -----Original Message-----
> Wrom: TWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESK
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 14:09
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] Extra connections?
>
> Just reporting back here..
>
> Bill has been kind enough to test this code on his machines (thanks
> Bill!), and has verified that Stream.play does consume extra
> connections.
>
> I'm sure I'm not the only one here who thinks this is not right. As
> Stefan correctly pointed out, there is only one NetConnection being
> established in this code, so it should consume only one connection,
> and no more.
>
> Would someone from Adobe please comment as to why this is eating away
> my precious connections?
>
> Thanks,
> -Jorge
>
>
> -----Original Message-----
> Wrom: PNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZF
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
> Sent: 04 May 2006 12:57
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] Extra connections?
>
> Hi again
>
> Yes, you are right, in the "View Applications" tab of the Admin
> Console you can only see 1 connection.
>
> However, if you look in the "Manage Servers" tab:
> - select the server (not just a Vhost),
> - look in the "Connections" section
>
> You'll see that there are indeed 2 connections being made (only whilst
> the server is playing the FLV though).
>
> Thanks,
> -Jorge
>
> -----Original Message-----
> Wrom: TFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHV
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
> Sanders
> Sent: 04 May 2006 12:48
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Extra connections?
>
> Hi Again,
>
> Here's my code:
>
> nc = new NetConnection();
> nc.connect("rtmp://192.168.0.11/eater/test");
>
> Ser side
>
> application.onConnect = function(vidName) {
> this.mySteam=Stream.get("foo");
> this.mySteam.play("test");
> return true;
> };
>
> I still just get 1 connection. Could it be the difference between
> running on a LAN and doing the whole thing from the same machine?
> (localhost).
>
> Bill
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Asa Whillock

2006-05-04, 1:11 pm

I'll take a look at this.

Asa

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.=20

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the
localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan
Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge=20
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>=20
> Hi guys,
> =20
> Why does the server side Stream.play method consume connections that=20
> count against my license limit?!
> =20
> This is straight from the SSAS dictionary:
> =20
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
> =20
> OK, fine. But the client side NetStream.play method DOES NOT consume=20
> an extra connection. To see what all the fuss is about, do the=20
> following:
> =20
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
> =20
> nc =3D new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
> =20
> 2) Create the following file structure in your FCS/FMS applications=20
> folder:
> =20
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
> =20
> -> The ConnectionEater.asc contains this code:
> =20
> application.onConnect =3D function(client){
> this.myStream =3D Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
> =20
> -> The TestFile.flv is an FLV file (big enough so that it plays for=20
> awhile).
> =20
> 3) Publish the FLA and look at the Application Inspector/FMS Admin=20
> console.
> =20
> You'll see that *2* connections are consumed as long as the server is=20
> playing the FLV. This makes no sense to me. I am not creating another=20
> NetConnection on the server, and I am not playing this FLV from=20
> another server.
> =20
> Does anybody have an explanation for this?
> =20
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training=20
> http://www.figleaf.com http://training.figleaf.com
>=20


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-04, 1:11 pm

Much appreciated

Thanks,
-Jorge

-----Original Message-----
Wrom: CXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMK
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Asa Whillock
Sent: 04 May 2006 19:55
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

I'll take a look at this.

Asa

-----Original Message-----
Wrom: HJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCON
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-11, 7:11 am

Hi Asa,

Any news on this issue?

Thanks,
-Jorge

-----Original Message-----
Wrom: TTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCR
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Asa Whillock
Sent: 04 May 2006 19:55
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

I'll take a look at this.

Asa

-----Original Message-----
Wrom: TNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQ
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.

2006-05-18, 7:11 am

I guess Asa is busy..

Anyone else at Adobe care to comment on why the SS Stream.play consumes
connections?

It's been 2 weeks now and still no word..


-----Original Message-----
Wrom: PQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPY
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: 11 May 2006 10:38
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

Hi Asa,

Any news on this issue?

Thanks,
-Jorge

-----Original Message-----
Wrom: TTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCR
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Asa Whillock
Sent: 04 May 2006 19:55
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

I'll take a look at this.

Asa

-----Original Message-----
Wrom: TNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQ
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan



> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Steve Wolkoff

2006-05-18, 1:11 pm

Jorge - my apologies - I sent a reply on May 11, but I just realized
that I got an "undeliverable" bounceback from the chattyfig list.

here's my response:

Stream.play method actually does create a new NetConnection to the
localhost in the background."

Pretty close. The server does use similar logic/code to a client
connection to connect to "itself".

And, there is code in FMS that marks that connection as "private" and
does not count that towards licensing limits.=20

....Unfortunately, that code does not seem to be working properly in the
current public build of FMS. Even stranger, it seems to have not been
working properly for the past several versions of FMS (and even back
into FCS). The good news is that this is pretty clearly not a serious
bug, since nobody has reported it, and it's been around for over a year.
Bad news is that it's affecting Jorge's application.

Jorge - we'd like to know more about your app, and why each client
connect needs to kick off a server side stream.play. I understand if you
don't want to share that on list - if not, would you be willing to work
with our support team to see if we can find a way to re-design your app
to conserve your connections? Feel free to contact me offlist.

I can't yet provide a date for a fix - only that it will be addressed in
the next public hotfix release of FMS. I will update as when I know
more.

Thanks,
-steve.

steve wolkoff
adobe systems
swolkoff-dv/VyGpifdQAvxtiuMwx3w@public.gmane.org

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 18, 2006 2:47 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I guess Asa is busy..

Anyone else at Adobe care to comment on why the SS Stream.play consumes
connections?=20

It's been 2 weeks now and still no word..


-----Original Message-----
Wrom: PQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPY
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: 11 May 2006 10:38
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

Hi Asa,

Any news on this issue?

Thanks,
-Jorge

-----Original Message-----
Wrom: TTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCR
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Asa
Whillock
Sent: 04 May 2006 19:55
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

I'll take a look at this.

Asa

-----Original Message-----
Wrom: TNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQ
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.=20

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the
localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan
Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan


[vbcol=seagreen]
> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge=20
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>=20
> Hi guys,
> =20
> Why does the server side Stream.play method consume connections that=20
> count against my license limit?!
> =20
> This is straight from the SSAS dictionary:
> =20
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
> =20
> OK, fine. But the client side NetStream.play method DOES NOT consume=20
> an extra connection. To see what all the fuss is about, do the
> following:
> =20
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
> =20
> nc =3D new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
> =20
> 2) Create the following file structure in your FCS/FMS applications
> folder:
> =20
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
> =20
> -> The ConnectionEater.asc contains this code:
> =20
> application.onConnect =3D function(client){
> this.myStream =3D Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
> =20
> -> The TestFile.flv is an FLV file (big enough so that it plays for=20
> awhile).
> =20
> 3) Publish the FLA and look at the Application Inspector/FMS Admin=20
> console.
> =20
> You'll see that *2* connections are consumed as long as the server is=20
> playing the FLV. This makes no sense to me. I am not creating another=20
> NetConnection on the server, and I am not playing this FLV from=20
> another server.
> =20
> Does anybody have an explanation for this?
> =20
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training=20
> http://www.figleaf.com http://training.figleaf.com
>=20


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Jorge Maiquez

2006-05-18, 1:11 pm

Hi Steve,

Thanks for the explanation. I have to say I'm relieved that this is actually
a bug, and not some oversight on our behalf.

I do however urge you to consider this a serious bug. My guess is that
people don't complain about it because they haven't noticed it. We only
discovered it because we were testing on a dev license. I would think that
any jukebox-like application that queues server side streams will suffer
from these "lost" connections.

I appreciate your offer to help us re-design the app, but unfortunately, we
cannot revisit the application architecture at this stage. Given that you're
telling me that this issue will be fixed, I'm sure we can manage our
clients's concerns in the short run.

Now, I know that you probably can't answer this, but can you give me a
ball-park release date for the next public hotfix of FMS? 6 months? 12
months? Anything to help me manage expectations..

Again, thanks for addressing this!
-Jorge



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Steve Wolkoff
Sent: 18 May 2006 16:10
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

Jorge - my apologies - I sent a reply on May 11, but I just realized that I
got an "undeliverable" bounceback from the chattyfig list.

here's my response:

Stream.play method actually does create a new NetConnection to the localhost
in the background."

Pretty close. The server does use similar logic/code to a client connection
to connect to "itself".

And, there is code in FMS that marks that connection as "private" and does
not count that towards licensing limits.

...Unfortunately, that code does not seem to be working properly in the
current public build of FMS. Even stranger, it seems to have not been
working properly for the past several versions of FMS (and even back into
FCS). The good news is that this is pretty clearly not a serious bug, since
nobody has reported it, and it's been around for over a year.
Bad news is that it's affecting Jorge's application.

Jorge - we'd like to know more about your app, and why each client connect
needs to kick off a server side stream.play. I understand if you don't want
to share that on list - if not, would you be willing to work with our
support team to see if we can find a way to re-design your app to conserve
your connections? Feel free to contact me offlist.

I can't yet provide a date for a fix - only that it will be addressed in the
next public hotfix release of FMS. I will update as when I know more.

Thanks,
-steve.

steve wolkoff
adobe systems
swolkoff-dv/VyGpifdQAvxtiuMwx3w@public.gmane.org

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 18, 2006 2:47 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I guess Asa is busy..

Anyone else at Adobe care to comment on why the SS Stream.play consumes
connections?

It's been 2 weeks now and still no word..


-----Original Message-----
Wrom: PQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPY
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: 11 May 2006 10:38
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

Hi Asa,

Any news on this issue?

Thanks,
-Jorge

-----Original Message-----
Wrom: TTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCR
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Asa Whillock
Sent: 04 May 2006 19:55
To: FlashComm Mailing List
Subject: RE: [FlashComm] Extra connections?

I'll take a look at this.

Asa

-----Original Message-----
Wrom: TNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQ
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
j_maiquez-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
Sent: Thursday, May 04, 2006 2:56 AM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

That's my thinking exactly.

I'm almost expecting someone to come along now and say, "Well, the
Stream.play method actually does create a new NetConnection to the localhost
in the background."


-----Original Message-----
Wrom: FXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan Richter
Sent: 04 May 2006 10:57
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Extra connections?

I agree, there should be no more connections consumed than there are
nc.connect statements. You have one .connect so you should only see one
connection being taken.

Stefan


[vbcol=seagreen]
> -----Original Message-----
> Wrom: NNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Jorge
> Maiquez
> Sent: 04 May 2006 09:42
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Extra connections?
>
> Hi guys,
>
> Why does the server side Stream.play method consume connections that
> count against my license limit?!
>
> This is straight from the SSAS dictionary:
>
> "The server-side Stream.play method behaves a bit differently than the


> NetStream.play method on the client side. A play call on the server is


> similar to a publish call on the client."
>
> OK, fine. But the client side NetStream.play method DOES NOT consume
> an extra connection. To see what all the fuss is about, do the
> following:
>
> 1) Create a FLA with this code (assumes FCS/FMS on localhost):
>
> nc = new NetConnection();
> nc.connect("rtmp://localhost/ConnectionEater/test");
>
> 2) Create the following file structure in your FCS/FMS applications
> folder:
>
> applications/ConnectionEater/ConnectionEater.asc
> applications/ConnectionEater/streams/test/TestFile.flv
>
> -> The ConnectionEater.asc contains this code:
>
> application.onConnect = function(client){
> this.myStream = Stream.get("foo");
> this.myStream.play("TestFile");
> return true;
> }
>
> -> The TestFile.flv is an FLV file (big enough so that it plays for
> awhile).
>
> 3) Publish the FLA and look at the Application Inspector/FMS Admin
> console.
>
> You'll see that *2* connections are consumed as long as the server is
> playing the FLV. This makes no sense to me. I am not creating another
> NetConnection on the server, and I am not playing this FLV from
> another server.
>
> Does anybody have an explanation for this?
>
> Thanks,
> -Jorge
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com