Implementing RTMFP client in C - actionscript-3

I am want to develop a client in C which uses RTMFP to communicate with Flash palyer for streaming video. I couldnt get much information on whether it is possible. I have looked into Cumulus project but i am not getting much insight into RTMFP specification.
If there is a workaround like writting a C wrapper around flex code is also fine. But i dont know if it is possible.
Any suggestion would be of great help.
Thanks.
Regards,
Jeeva

You could wrap the Flash OCX inside a C application and communicate with it, although I don't know if that would fulfill all your needs. I know multicast is possible without the need of a RTMFP server, but I don't know if that allows streaming video?
Sadly the RTMFP protocol uses a proprietary format which is not public and not fully known AFAIK, you can get some info here:
http://code.google.com/p/blue5/wiki/RTMPFPSpecs
But I don't know how valid it is.
Anyway, if you only want to stream video, and don't need any of the advantages of the RTMFP protocol, you could use RTMP with Red5, but maybe you already thought of it.

It seems that Adobe has finally published the RTMFP specifications.
See here:
http://blogs.adobe.com/standards/2014/04/17/adobes-rtmfp-profile-for-flash-communication-released
and here:
https://datatracker.ietf.org/doc/html/draft-thornburgh-rtmfp-flash-07

Related

How to access video streams which are transferred by WebRTC in Chrome

guys.
I want to access my video streams which are generated by WebRTC in Chrome.
It seems impossible for javaScript to access my streams, am I right?
How to deal with?
How about you start by looking at this very simple tutorial:
http://www.html5rocks.com/en/tutorials/webrtc/basics/
It will teach you the basics of WebRTC web interface, then you can move up from there ;)

Faye Client for ActionScript3

I'm looking for a pub/sub messaging system to connect various applications I'm building, some of them will be iOS, other ones AIR/AS3 and maybe some openFrameworks.
I found out Faye and it looks like really interesting. I've found libraries to integrate it in all my apps/languages, so I'm trying it out.
Now, the problems are with the AS3 implementation. I've found this great library and it's kind of working, BUT I've some issues I can't understand. My main problem is that I can build clients, connect them to a node.js server and exchange information between them, but after a while they stop receiving information.
So I was wondering:
do anyone of you have experience with Faye and this library, and knows if this behaviour it's normal and if there's a way to prevent it? I've done some tests using some html browser clients and everything was ok, so it's definitely a flash library problem
do you know any other library to implement Faye in AS3/AIR? I was browsing a lot but I couldn't find anyone
Do you know any alternative pub/sub messaging system I could implement (easily) in as3?
Thank you
We've open sourced our implementation of AS3 Faye client recently. You can find it here.
It's been in prod for more than a year and was tested by millions of users, without issues so far. It's used in Flash Player Web and AIR Mobile applications.
Interfaces mimic JS client interfaces, so its setup is as easy as JS client setup. Plus one additional feature: multiple urls for reconnection fallbacks.
Give it a try!

Media Server for WebRTC

We are trying to develop a web conferencing application using WebRTC. It's lack of support for IE browsers is really big pain point for us. Now we are trying to deploying a media server that can possibly do a http live streaming for non WebRTC browsers. We tried with Kurento Media Server, but unfortunately it doesn't go well with cloud. I'm clue less on how to proceed now. Can anyone help me with this regards.
P.s. Consider me as a rookie in WebRTC.
Priologic (easyRTC) just released an open source WebRTC plugin for IE.
HTTP Live Streaming has several seconds of delay. Not suitable for the real-time communication.
There are several alternative/complements that you can use in order to make videos work in IE.
First of all, please ask yourself if this is really needed. Are the people that will use your solution using IE ? If yes, could yo convince them to use a more decent another browser ?
If you really can't do that, then :
You could ask your users to install a plugin, like https://code.google.com/p/webrtc4all/
You could also use a fallback mechanism, like flash. Unfortunately, I don't know of any simple way to do that right now. You will probably have to build your solution from scratch. And the quality will probably suffer. EDIT : found this SO question, with a commercial Java applet.
Also see this SO question related to chrome frame and a google groups conversation
But really, I would just forget IE if I were you...

How to make a live web (audio+video) stream?

I am looking forward to make multiple live-streaming sessions at a website, like multiple "twitcams".
Is Flash Media Server the right thing for me, or what should i look for ? With FMS ill need the viewer and broadcaster. It is included ?
i recommend you to try websockets especially if you want to do multi-user-apps. there are thousands of tutorials.
probably the best solution:
node.js
and here is a similar topic:
stack-o

What is a good Flash Socket Server for a Newbie?

I have been debating which Flash Socket Server to use for a virtual world (multiplayer game).
I want something that has a very abstract api and requires little to no server side programming.
From what I see only Smartfox and ES sort of cater to game development.
I'm open to any suggestions and if anyone knows which API is easier to learn (Smartfox or ES) don't be afraid to chime in :)
I'm currently developing a flex+smartfox mmo project.
my experience with smartfox is not so "easy", if you need some custom behaviours or some bandwidth saving protocols you just have to choose another way.
the great lack of smartfox is amf support, the data is not sent and received via a binary socket, everything is transfered as a string, so you can only imagine how bandwidth sucker the transfer is...
however the plus of smartfox is you can cluster it quite easily via terracotta and can you can implement your extensions in java, python and as3. further it supplies some ready to use functionalities such as chat rooms, friendlists, etc..
I have some experience with red5 too, it's a completely different approach, the main plus of working with it would be streaming assets such as mp3 or video to the clients, so if you need ambient sounds or something similar red5 or fms could be your choice.
however I don't have experience with electroserver nor union, so i can't say much on them.
Well, the easiest to program for would probably be Flash Media Server since you program the server in a variant of ActionScript.
I have experience with a bunch of them - FMS, ElectroServer, Union(used to be Unity), Red5, etc and I have to say that I really liked Union. Union's website has a bunch of good beginner tutorials as well.