3 Replies Latest reply on Apr 29, 2010 4:13 PM by bringrags

    No way to get FMS version you're connected to

    bdefore Level 1

      As far as I understand it, the only way to get the version of the connected Flash Media Server is to listen for the NetConnection success, and grab it off of the event.info.data.version property (and this only works with FMS3+) If I am correct, there doesn't appear to be a straightforward way of getting this with OSMF, as this connection success event is only handled in the NetNegotiator and its response is not stored. Ideally this should be a property that is native to the player on netConnection but it's not. Since that is the case, it'd be great to have it on a NetConnectionFactoryEvent. Any ideas?

        • 1. Re: No way to get FMS version you're connected to
          bringrags Level 4

          You're right, we don't expose that.  Is this the type of thing you would just want to see logged (so that you could see it), or that you would need programmatic access to?  If the latter, what would you use it for?

          • 2. Re: No way to get FMS version you're connected to
            bdefore Level 1

            For the most part I think seeing it logged is enough, though there are a few use cases where programmatic access would be useful. We could, for example, enable/disable DVR UI when FMS server is detected as < 3.5. (Or even 3.5.3, if we want to be sure we're only using our setup/OSMF with what it's properly tested for). When using an edge network or CDN, you're not in control of the media servers directly. As CDN's roll out upgrades from 3.5.2 to 3.5.3 at the moment, they're not always forthright with when that actually happens. Others are farther back than even that. You may want to do special workarounds that are necessary with 3.5.2 that are not necessary with 3.5.3 for example. Or special workarounds that are necessary with 10.0 if paired with 3.5.2, for example.

             

            If I was even greedier, I'd ask to know if it's on Windows or Linux, FMIS or not, or a Wowza server vs. FMS. I think that would require serverside scripts though to get to application.server.

             

            Sounds like the change that would not impact the API would be to add a CONFIG::LOGGING in the NetNegotiator. But the examples above show that there may be reasons why a developer would want to have dynamic access through the API, perhaps ultimately through LoadState.READY.

            • 3. Re: No way to get FMS version you're connected to
              bringrags Level 4

              Logged as FM-801.