3

We would like to use an RTMP data stream(not video) on the mobile platforms that do not support flash (iOS etc). Since Java is also not an option for some mobile phones, we are looking at creating a Javascript rtmp client. This is not for iphone/ipad applications, but rather for use in the Safari browser application, accessed by an HTTP url.

Does anyone know the best place to start of this, or if one already exists? Thanks!

angelfilm entertainment
  • 1,155
  • 2
  • 15
  • 31
  • In all the research we did, it appears that same origin policy http://en.wikipedia.org/wiki/Same_origin_policy restrictions will become an issue using this through CDNs, as we won't be able to set the Access-Control-Allow-Origin header on the response from the edge servers, which will stop us from being able to make the necessary handshake through RTMPT. reference: http://www.w3.org/TR/XMLHttpRequest/ – angelfilm entertainment Aug 17 '11 at 18:05

1 Answers1

1

Try RTMP-dump.

See also: Communicating with a flash server using rtmp without Flash

Community
  • 1
  • 1
Matt Ball
  • 354,903
  • 100
  • 647
  • 710
  • I looked through this, and it appears to be for applications. I need this to work on the client safari web browser. Not within an application. I believe the RTMP-dump is for use inside an application. – angelfilm entertainment Aug 15 '11 at 20:04
  • It's not free, but http://www.digital-life.cz/en/rtmp-protocol-library/blog could potentially be what you need. – Matt Ball Aug 15 '11 at 20:23
  • Thanks Matt. I'll have a look. – angelfilm entertainment Aug 16 '11 at 00:48
  • 1
    Just wanted to follow up about digital life. Their response to my questions was "it is written in Objective-C for iOS platform. I don't think it's possible to write library like this in javascript. RTMP client is pretty much a server and cost a lot of interactions, which has to be performed in real time through socket (like packet parsing, multiple stream logic, control messages and Shared Objects)" – angelfilm entertainment Aug 17 '11 at 16:14