Re: Connection on Silverlight 3.0

View: New views
9 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Connection on Silverlight 3.0

by info@videoavolonte.com :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,

> we are trying to use fluorinefx solution (last SVN r138) on
> silverlight 3.0 but we can't connect, each time we have an error,
> Error: NetConnection.Call.BadVersion
> Client not connected.
>
> it seem like the library for silverlight 2.0 is not compatible with 3.0
> do somebody have any idea what we can do ?
>
> anyway we are trying to play video over RTMP(te) connection.
>
> Thanks a lot,
>
> Best regards,
>
> Sylvain
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,

> we are trying to use fluorinefx solution (last SVN r138) on
> silverlight 3.0 but we can't connect, each time we have an error,
> Error: NetConnection.Call.BadVersion
> Client not connected.
>
> it seem like the library for silverlight 2.0 is not compatible with
> 3.0 do somebody have any idea what we can do ?
>
> anyway we are trying to play video over RTMP(te) connection.
>
> Thanks a lot,
>
> Best regards,
>
> Sylvain
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by info@videoavolonte.com :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[mailto:fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24
À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,

> we are trying to use fluorinefx solution (last SVN r138) on
> silverlight 3.0 but we can't connect, each time we have an error,
> Error: NetConnection.Call.BadVersion
> Client not connected.
>
> it seem like the library for silverlight 2.0 is not compatible with
> 3.0 do somebody have any idea what we can do ?
>
> anyway we are trying to play video over RTMP(te) connection.
>
> Thanks a lot,
>
> Best regards,
>
> Sylvain
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


There are 2 (socket) error codes for which the meaning is:

10013: Access denied -> no policy server is running
10061: ConnectionRefused -> FMS not running, Flash Media Server listening
wrong IP address or port

The first one is your case which means that you did not configure the
ASP.NET application to run the policy server (if you are connecting to a
FluorineFx enabled Web site) or you are not running the
FluorineFxPolicyServer.exe application (in case you are connecting to FMS)

The "NetConnection.Call.BadVersion" was changed to
"NetConnection.Connect.Failed" to indicate that there is a connection
failure.

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 11:50 AM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[mailto:fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,

> we are trying to use fluorinefx solution (last SVN r138) on
> silverlight 3.0 but we can't connect, each time we have an error,
> Error: NetConnection.Call.BadVersion
> Client not connected.
>
> it seem like the library for silverlight 2.0 is not compatible with
> 3.0 do somebody have any idea what we can do ?
>
> anyway we are trying to play video over RTMP(te) connection.
>
> Thanks a lot,
>
> Best regards,
>
> Sylvain
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by info@videoavolonte.com :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Thank you for your fast response
We are in the first case (10013 access denied)


For the policy we create the file clientaccesspolicy.xml that is deposed at
the root of our server

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from http-request-headers="*">
                <domain uri="*"/>
            </allow-from>
            <grant-to>
                <resource path="/" include-subpaths="true"/>
                                <socket-resource port="4502-4534"
protocol="tcp"/>
                                <socket-resource port="943" protocol="tcp"
/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>


Do you have any idea of what we can do more to enable the socket access ?
Should we activate an option in visual studio ?
( our project is developed in Silverlight 3 )


Thank you very much









-----Message d'origine-----
De : fluorine-bounces@...
[mailto:fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 14:24
À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


There are 2 (socket) error codes for which the meaning is:

10013: Access denied -> no policy server is running
10061: ConnectionRefused -> FMS not running, Flash Media Server listening
wrong IP address or port

The first one is your case which means that you did not configure the
ASP.NET application to run the policy server (if you are connecting to a
FluorineFx enabled Web site) or you are not running the
FluorineFxPolicyServer.exe application (in case you are connecting to FMS)

The "NetConnection.Call.BadVersion" was changed to
"NetConnection.Connect.Failed" to indicate that there is a connection
failure.

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 11:50 AM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[mailto:fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[mailto:fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,

> we are trying to use fluorinefx solution (last SVN r138) on
> silverlight 3.0 but we can't connect, each time we have an error,
> Error: NetConnection.Call.BadVersion
> Client not connected.
>
> it seem like the library for silverlight 2.0 is not compatible with
> 3.0 do somebody have any idea what we can do ?
>
> anyway we are trying to play video over RTMP(te) connection.
>
> Thanks a lot,
>
> Best regards,
>
> Sylvain
>


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by cmatech :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

I use FlourineFx 1.0.0.17 (from svn) with Silverlight 3 with no problems.
Try this policy file and then restrict it more to your needs if needed:

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from>
                <domain uri="*"/>
            </allow-from>
            <grant-to>
                <socket-resource port="4502-4534" protocol="tcp"/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>

Hope this helps,

Chris Ahlers

On Fri, Sep 18, 2009 at 05:40, info <info@...> wrote:

> Thank you for your fast response
> We are in the first case (10013 access denied)
>
>
> For the policy we create the file clientaccesspolicy.xml that is deposed at
> the root of our server
>
> <?xml version="1.0" encoding="utf-8"?>
> <access-policy>
>    <cross-domain-access>
>        <policy>
>            <allow-from http-request-headers="*">
>                <domain uri="*"/>
>            </allow-from>
>            <grant-to>
>                <resource path="/" include-subpaths="true"/>
>                                <socket-resource port="4502-4534"
> protocol="tcp"/>
>                                <socket-resource port="943" protocol="tcp"
> />
>            </grant-to>
>        </policy>
>    </cross-domain-access>
> </access-policy>
>
>
> Do you have any idea of what we can do more to enable the socket access ?
> Should we activate an option in visual studio ?
> ( our project is developed in Silverlight 3 )
>
>
> Thank you very much
>
>
>
>
>
>
>
>
>
> -----Message d'origine-----
> De : fluorine-bounces@...
> [mailto:fluorine-bounces@...] De la part de Support
> Envoyé : vendredi 18 septembre 2009 14:24
> À : 'Fluorine Mailing List'
> Objet : Re: [Fluorine] Connection on Silverlight 3.0
>
>
> There are 2 (socket) error codes for which the meaning is:
>
> 10013: Access denied -> no policy server is running
> 10061: ConnectionRefused -> FMS not running, Flash Media Server listening
> wrong IP address or port
>
> The first one is your case which means that you did not configure the
> ASP.NET application to run the policy server (if you are connecting to a
> FluorineFx enabled Web site) or you are not running the
> FluorineFxPolicyServer.exe application (in case you are connecting to FMS)
>
> The "NetConnection.Call.BadVersion" was changed to
> "NetConnection.Connect.Failed" to indicate that there is a connection
> failure.
>
> -----Original Message-----
> From: fluorine-bounces@...
> [mailto:fluorine-bounces@...] On Behalf Of info
> Sent: Friday, September 18, 2009 11:50 AM
> To: 'Fluorine Mailing List'
> Subject: Re: [Fluorine] Connection on Silverlight 3.0
>
> Hello,
> Thank you for your fast response
>
> We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll
>
> The previous error was "NetConnection.call.badVersion"
> We have now a "NetConnection.Connect.Failed"
>
> If we use the breakpoint we can read a "net winsock error 10013"
>
> Thank you in advance
>
> Sébastien
>
>
>
> -----Message d'origine-----
> De : fluorine-bounces@...
> [mailto:fluorine-bounces@...] De la part de Support
> Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
> Objet : Re: [Fluorine] Connection on Silverlight 3.0
>
>
> SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)
>
> As we cannot log from SL, the easiest thing to check would be to use a debug
> version and put a breakpoint in your status callback, then check why the
> library sends NetConnection.Call.BadVersion
>
> And, you will not be able to play video with the FluorineFx SL library.
>
> Zoli
>
> -----Original Message-----
> From: fluorine-bounces@...
> [mailto:fluorine-bounces@...] On Behalf Of info
> Sent: Thursday, September 17, 2009 5:24 PM
> To: fluorine@...
> Subject: Re: [Fluorine] Connection on Silverlight 3.0
>
> Hi,
>> we are trying to use fluorinefx solution (last SVN r138) on
>> silverlight 3.0 but we can't connect, each time we have an error,
>> Error: NetConnection.Call.BadVersion
>> Client not connected.
>>
>> it seem like the library for silverlight 2.0 is not compatible with
>> 3.0 do somebody have any idea what we can do ?
>>
>> anyway we are trying to play video over RTMP(te) connection.
>>
>> Thanks a lot,
>>
>> Best regards,
>>
>> Sylvain
>>
>
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
> entgroup.com
>
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
> entgroup.com
>
>
> __________ Information provenant d'ESET Smart Security, version de la base
> des signatures de virus 4434 (20090917) __________
>
> Le message a iti virifii par ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
> entgroup.com
>
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
> entgroup.com
>
>
> _______________________________________________
> fluorine mailing list
> fluorine@...
> http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com
>

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by info@videoavolonte.com :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,
thanks for your response,
we try your code but it doesn't work too.
we try on red5 or fms or wowza server it's always the same error.

for now we try on red5 server, we put all the xml file on the root system ...
doesn't work at all .
anyway I try to change the port even 4502 or 1935... doesn't work too...

it seems that the rtmp protocol is not implement because when I change to http I have no error

                _netConnection = new NetConnection();
                _netConnection.ObjectEncoding = ObjectEncoding.AMF0;
                _netConnection.OnConnect += new ConnectHandler(_netConnection_OnConnect);
                _netConnection.OnDisconnect += new DisconnectHandler(_netConnection_OnDisconnect);
                _netConnection.NetStatus += new NetStatusHandler(_netConnection_NetStatus);
                _netConnection.Client = this;
                //FMS test
                _netConnection.Connect("rtmp://192.168.1.141:4502/oflaDemo");
  void _netConnection_NetStatus(object sender, NetStatusEventArgs e)
            {
          
//break point here     string level = null;
                if (e.Info.ContainsKey("level"))
                    level = e.Info["level"] as string;
                if (level == "error")

here is my connection my rtmp server is well working....

if you have an idea ?


thanks

sylvain
cmatech a écrit :
I use FlourineFx 1.0.0.17 (from svn) with Silverlight 3 with no problems.
Try this policy file and then restrict it more to your needs if needed:

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from>
                <domain uri="*"/>
            </allow-from>
            <grant-to>
                <socket-resource port="4502-4534" protocol="tcp"/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>

Hope this helps,

Chris Ahlers

On Fri, Sep 18, 2009 at 05:40, info info@... wrote:
  
Thank you for your fast response
We are in the first case (10013 access denied)


For the policy we create the file clientaccesspolicy.xml that is deposed at
the root of our server

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
   <cross-domain-access>
       <policy>
           <allow-from http-request-headers="*">
               <domain uri="*"/>
           </allow-from>
           <grant-to>
               <resource path="/" include-subpaths="true"/>
                               <socket-resource port="4502-4534"
protocol="tcp"/>
                               <socket-resource port="943" protocol="tcp"
/>
           </grant-to>
       </policy>
   </cross-domain-access>
</access-policy>


Do you have any idea of what we can do more to enable the socket access ?
Should we activate an option in visual studio ?
( our project is developed in Silverlight 3 )


Thank you very much









-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 14:24
À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


There are 2 (socket) error codes for which the meaning is:

10013: Access denied -> no policy server is running
10061: ConnectionRefused -> FMS not running, Flash Media Server listening
wrong IP address or port

The first one is your case which means that you did not configure the
ASP.NET application to run the policy server (if you are connecting to a
FluorineFx enabled Web site) or you are not running the
FluorineFxPolicyServer.exe application (in case you are connecting to FMS)

The "NetConnection.Call.BadVersion" was changed to
"NetConnection.Connect.Failed" to indicate that there is a connection
failure.

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 11:50 AM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,
    
we are trying to use fluorinefx solution (last SVN r138) on
silverlight 3.0 but we can't connect, each time we have an error,
Error: NetConnection.Call.BadVersion
Client not connected.

it seem like the library for silverlight 2.0 is not compatible with
3.0 do somebody have any idea what we can do ?

anyway we are trying to play video over RTMP(te) connection.

Thanks a lot,

Best regards,

Sylvain

      
_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

    

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com
  


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

For a FluorineFx back end you have to configure the web application in the web.config so it will start the policy server part
 
If you are connecting to anything else (fms, red5) you have to run the FluorineFxPolicyServer.exe which will serve the Silverlight policy file to the client.
 
For HTTP you do not need a policy server, just a crossdomain file in the web root, so that is a different case.
For sure the RTMP protocol is implemented.


From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 5:27 PM
To: Fluorine Mailing List
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,
thanks for your response,
we try your code but it doesn't work too.
we try on red5 or fms or wowza server it's always the same error.

for now we try on red5 server, we put all the xml file on the root system ...
doesn't work at all .
anyway I try to change the port even 4502 or 1935... doesn't work too...

it seems that the rtmp protocol is not implement because when I change to http I have no error

                _netConnection = new NetConnection();
                _netConnection.ObjectEncoding = ObjectEncoding.AMF0;
                _netConnection.OnConnect += new ConnectHandler(_netConnection_OnConnect);
                _netConnection.OnDisconnect += new DisconnectHandler(_netConnection_OnDisconnect);
                _netConnection.NetStatus += new NetStatusHandler(_netConnection_NetStatus);
                _netConnection.Client = this;
                //FMS test
                _netConnection.Connect("rtmp://192.168.1.141:4502/oflaDemo");
  void _netConnection_NetStatus(object sender, NetStatusEventArgs e)
            {
          
//break point here     string level = null;
                if (e.Info.ContainsKey("level"))
                    level = e.Info["level"] as string;
                if (level == "error")

here is my connection my rtmp server is well working....

if you have an idea ?


thanks

sylvain
cmatech a écrit :
I use FlourineFx 1.0.0.17 (from svn) with Silverlight 3 with no problems.
Try this policy file and then restrict it more to your needs if needed:

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from>
                <domain uri="*"/>
            </allow-from>
            <grant-to>
                <socket-resource port="4502-4534" protocol="tcp"/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>

Hope this helps,

Chris Ahlers

On Fri, Sep 18, 2009 at 05:40, info info@... wrote:
  
Thank you for your fast response
We are in the first case (10013 access denied)


For the policy we create the file clientaccesspolicy.xml that is deposed at
the root of our server

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
   <cross-domain-access>
       <policy>
           <allow-from http-request-headers="*">
               <domain uri="*"/>
           </allow-from>
           <grant-to>
               <resource path="/" include-subpaths="true"/>
                               <socket-resource port="4502-4534"
protocol="tcp"/>
                               <socket-resource port="943" protocol="tcp"
/>
           </grant-to>
       </policy>
   </cross-domain-access>
</access-policy>


Do you have any idea of what we can do more to enable the socket access ?
Should we activate an option in visual studio ?
( our project is developed in Silverlight 3 )


Thank you very much









-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 14:24
À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


There are 2 (socket) error codes for which the meaning is:

10013: Access denied -> no policy server is running
10061: ConnectionRefused -> FMS not running, Flash Media Server listening
wrong IP address or port

The first one is your case which means that you did not configure the
ASP.NET application to run the policy server (if you are connecting to a
FluorineFx enabled Web site) or you are not running the
FluorineFxPolicyServer.exe application (in case you are connecting to FMS)

The "NetConnection.Call.BadVersion" was changed to
"NetConnection.Connect.Failed" to indicate that there is a connection
failure.

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 11:50 AM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,
    
we are trying to use fluorinefx solution (last SVN r138) on
silverlight 3.0 but we can't connect, each time we have an error,
Error: NetConnection.Call.BadVersion
Client not connected.

it seem like the library for silverlight 2.0 is not compatible with
3.0 do somebody have any idea what we can do ?

anyway we are trying to play video over RTMP(te) connection.

Thanks a lot,

Best regards,

Sylvain

      
_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

    

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com
  


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Connection on Silverlight 3.0

by info@videoavolonte.com :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,
I found the problem but I didn't find how to solve it.
indeed, the crossdomain doesn't work so that I have an error 10013, when I launch the FluorineFxPolicyServer.exe on my local host (windows it's working) but for my linux server it doesn't work...
I think I don't put the good clientaccesspolicy.xml in the right place but I put it on my /var/www file ...
if somebody have an answer :)

thanks a lot.

Best regards,

sylvain

 
Support a écrit :
For a FluorineFx back end you have to configure the web application in the web.config so it will start the policy server part
 
If you are connecting to anything else (fms, red5) you have to run the FluorineFxPolicyServer.exe which will serve the Silverlight policy file to the client.
 
For HTTP you do not need a policy server, just a crossdomain file in the web root, so that is a different case.
For sure the RTMP protocol is implemented.


From: fluorine-bounces@... [fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 5:27 PM
To: Fluorine Mailing List
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,
thanks for your response,
we try your code but it doesn't work too.
we try on red5 or fms or wowza server it's always the same error.

for now we try on red5 server, we put all the xml file on the root system ...
doesn't work at all .
anyway I try to change the port even 4502 or 1935... doesn't work too...

it seems that the rtmp protocol is not implement because when I change to http I have no error

                _netConnection = new NetConnection();
                _netConnection.ObjectEncoding = ObjectEncoding.AMF0;
                _netConnection.OnConnect += new ConnectHandler(_netConnection_OnConnect);
                _netConnection.OnDisconnect += new DisconnectHandler(_netConnection_OnDisconnect);
                _netConnection.NetStatus += new NetStatusHandler(_netConnection_NetStatus);
                _netConnection.Client = this;
                //FMS test
                _netConnection.Connect("rtmp://192.168.1.141:4502/oflaDemo");
  void _netConnection_NetStatus(object sender, NetStatusEventArgs e)
            {
          
//break point here     string level = null;
                if (e.Info.ContainsKey("level"))
                    level = e.Info["level"] as string;
                if (level == "error")

here is my connection my rtmp server is well working....

if you have an idea ?


thanks

sylvain
cmatech a écrit :
I use FlourineFx 1.0.0.17 (from svn) with Silverlight 3 with no problems.
Try this policy file and then restrict it more to your needs if needed:

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from>
                <domain uri="*"/>
            </allow-from>
            <grant-to>
                <socket-resource port="4502-4534" protocol="tcp"/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>

Hope this helps,

Chris Ahlers

On Fri, Sep 18, 2009 at 05:40, info info@... wrote:
  
Thank you for your fast response
We are in the first case (10013 access denied)


For the policy we create the file clientaccesspolicy.xml that is deposed at
the root of our server

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
   <cross-domain-access>
       <policy>
           <allow-from http-request-headers="*">
               <domain uri="*"/>
           </allow-from>
           <grant-to>
               <resource path="/" include-subpaths="true"/>
                               <socket-resource port="4502-4534"
protocol="tcp"/>
                               <socket-resource port="943" protocol="tcp"
/>
           </grant-to>
       </policy>
   </cross-domain-access>
</access-policy>


Do you have any idea of what we can do more to enable the socket access ?
Should we activate an option in visual studio ?
( our project is developed in Silverlight 3 )


Thank you very much









-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 14:24
À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


There are 2 (socket) error codes for which the meaning is:

10013: Access denied -> no policy server is running
10061: ConnectionRefused -> FMS not running, Flash Media Server listening
wrong IP address or port

The first one is your case which means that you did not configure the
ASP.NET application to run the policy server (if you are connecting to a
FluorineFx enabled Web site) or you are not running the
FluorineFxPolicyServer.exe application (in case you are connecting to FMS)

The "NetConnection.Call.BadVersion" was changed to
"NetConnection.Connect.Failed" to indicate that there is a connection
failure.

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Friday, September 18, 2009 11:50 AM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hello,
Thank you for your fast response

We have compiled the last source and we use the v1.0.0.17 of fluorinefx.dll

The previous error was "NetConnection.call.badVersion"
We have now a "NetConnection.Connect.Failed"

If we use the breakpoint we can read a "net winsock error 10013"

Thank you in advance

Sébastien



-----Message d'origine-----
De : fluorine-bounces@...
[fluorine-bounces@...] De la part de Support
Envoyé : vendredi 18 septembre 2009 02:24 À : 'Fluorine Mailing List'
Objet : Re: [Fluorine] Connection on Silverlight 3.0


SVN r138 is compatible for sure with SL3 (I did builds targeting SL3)

As we cannot log from SL, the easiest thing to check would be to use a debug
version and put a breakpoint in your status callback, then check why the
library sends NetConnection.Call.BadVersion

And, you will not be able to play video with the FluorineFx SL library.

Zoli

-----Original Message-----
From: fluorine-bounces@...
[fluorine-bounces@...] On Behalf Of info
Sent: Thursday, September 17, 2009 5:24 PM
To: fluorine@...
Subject: Re: [Fluorine] Connection on Silverlight 3.0

Hi,
    
we are trying to use fluorinefx solution (last SVN r138) on
silverlight 3.0 but we can't connect, each time we have an error,
Error: NetConnection.Call.BadVersion
Client not connected.

it seem like the library for silverlight 2.0 is not compatible with
3.0 do somebody have any idea what we can do ?

anyway we are trying to play video over RTMP(te) connection.

Thanks a lot,

Best regards,

Sylvain

      
_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


__________ Information provenant d'ESET Smart Security, version de la base
des signatures de virus 4434 (20090917) __________

Le message a iti virifii par ESET Smart Security.

http://www.eset.com




_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesil
entgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

    

_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com
  


_______________________________________________ fluorine mailing list fluorine@... http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com