Copy link to clipboard
Copied
Hi, I'm trying to make a P2P video chat application with Flash Builder 4.5 and Flash Media Server 4.5.
First, I've tried a simple sample application using Cirrus(Stratus). It worked very well!
NetConnection -> NetGroup -> 2 NetStreams -> netstream play and publish -> last, netgroup post
The sample was all OK.
But now, I've changed the server url to my flash media development server.
rtmfp://p2p.rtmfp.net/XXXXXXXXXXXXXX -> rtmfp://my-fms/application
Here is my application trace log about NetStatusEvent:
[object NetConnection] NetConnection.Connect.Success
[object NetConnection] NetGroup.Connect.Success
[object NetStream] NetStream.Play.Reset
[object NetStream] NetStream.Play.Start
[object NetStream] NetStream.Publish.Start
[object NetConnection] NetStream.Connect.Success
[object NetConnection] NetStream.Connect.Success
I couldn't get events about NetGroup and NetStream any more!!!!
When using Stratus, It worked well...
I am not familiar with FMS.. did I skip something in FMS setting?
I agree to a little extent that there is less documentation / examples for server side script for this. Anyways, the FMS documentation should provide clues for doing that.
http://help.adobe.com/en_US/flashmediaserver/devguide/WScd14549950cf7821eebb00912febb43a25-8000.html
Both the above docs should help in better explaining the bootstrapping process.
The
Copy link to clipboard
Copied
Hi,
Thanks for trying RTMFP.
When you made your own application on the development server, did you make any server side scripting on this application or is this a blank application ? The point here is that, for P2P, the Cirrus server has a server script that takes care of bootstrapping one client to the other, which in your case (after moving to your server) is not happening. You need to probably add the scripting for bootstrapping one client to the other.
The following resources can help :
Copy link to clipboard
Copied
I have this same question as well.
From your link you shared, it looks like it's the client side code for
making connections. Can you share the server side code for creating the
connection? All the docs I find say you can do this, but there's no real
example (or I'm just blind and can't see it). I'd really like to have a
simple FMS application script that makes these P2P connections when I
point my app to my server.
Thanks,
Brent
Copy link to clipboard
Copied
I agree to a little extent that there is less documentation / examples for server side script for this. Anyways, the FMS documentation should provide clues for doing that.
http://help.adobe.com/en_US/flashmediaserver/devguide/WScd14549950cf7821eebb00912febb43a25-8000.html
Both the above docs should help in better explaining the bootstrapping process.
The multicast application that comes along with FMS installation is a good example for all RTMFP net group connections. Please take a look at that as well.
Thank you !
Copy link to clipboard
Copied
Thank you, that makes a lot more sense now. I also came across this
article that has a main.asc resource that covers a similar bootstrapping
process:
http://www.adobe.com/devnet/flashmediaserver/articles/real-time-collaboration.html
Brent
Copy link to clipboard
Copied
Cool. As long as it works for you, I am good
Copy link to clipboard
Copied
Nikhil Pavan Kalyan wrote:
Hi,
Thanks for trying RTMFP.
When you made your own application on the development server, did you make any server side scripting on this application or is this a blank application ? The point here is that, for P2P, the Cirrus server has a server script that takes care of bootstrapping one client to the other, which in your case (after moving to your server) is not happening. You need to probably add the scripting for bootstrapping one client to the other.
The following resources can help :
I think I have a similar problem. I am using FMS 4.0 and I can't receive any NetGroup event except NetGroup.Connect.Success. There is no events as NetGroup.Neighbor.Connect or NetGroup.Posting.Notify. I made a discussion (http://forums.adobe.com/message/4429330#4429330) and one of the Adobe employees wrote that I don't need to write any bootstrapping (any server side code):
Chandan_Abhishek worte:
You don't have to implement any server side code. Just keep a blank app on the server and make two client side apps.
Can please someone explain, do I have to write any server side code or not? Do I have to bootstrap clients or not?
Copy link to clipboard
Copied
i have same problem ,acturally i have server side code ,i use multicast sample application,and i can get info NetGroup.Connect.Success but cannot get NetGroup.Neighbor.Connect or NetGroup.Posting.Notify ,i donot know any thing qrong ,i use fms 4, i double there are two NetGroup,i have confuse many days....