Skip to main content
F3nryll
Participating Frequently
February 8, 2019
Question

How to connect javascript client to ams (rtmp and shared objects)

  • February 8, 2019
  • 1 reply
  • 3082 views

Hello everybody,

  • in 2008 I created an online card game: a flash client and a flash media server.
  • In 2010, I bought a rtmp library for objective c (from the midnight coders) and developped the ipad client
  • in 2012, I bought a new version of fms (5)

This was just to highlight that I already invested a lot of time and money in ams.

So now, as Flash is rarer and rarer in the browsers, I would like to rebuild a game client in javascript: but it seems that no javascript library are existing yet (I would be ready to buy one..), so what are my options ?

I am not using any streaming functionality but my game is using a rtmp connection and shared objects..

Should I look into building a gateway, on the server, node.js-socket.io discussing with ams, for instance (it that is possible..), and my javascript would do a standard socket connection to the socket.io ?

I need guidance to understand where I should be invested my (little spare) time

Thanks!

Cyril

    This topic has been closed for replies.

    1 reply

    Robert Mc Dowell
    Legend
    February 23, 2019

    I don't see any issue you can connect directly you js client to ams as the protocol is rtmp.

    just do it like it was a flash client.

    F3nryll
    F3nryllAuthor
    Participating Frequently
    February 23, 2019

    Hi Robert,

    I wish it was that simple

    Flash had rtmp support built in: I never found any rtmp library for javascript... maybe you know one ?

    Best

    Cyril