Flex :: Access The Remote IP Of A RTMFP P2p Stream?

Oct 4, 2010

I'm writing a communication system, using Actionscript 3 and C#. Flash is used to communicate with RTMP server and stream video and audio using RTMFP p2p, but the actual client logic is handled in C#.

What I want to be able to do, is allow users to share files between each other also using a direct p2p connection. I have got the RTMFP connection working but I need to access the IP address of the remote user so I can initiate a connection to send or receive files.

I looked at the Adobe docs but I can't see anything except how to access the farID.

Is there a way to get the IP of a RTMFP stream?

View 1 Replies


Similar Posts:


When FMLE Stopped,Remote RTMP Stream To FMS 4.5 With Rtmfp?

Nov 14, 2011

When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?

edit  "applications/multicast/main.asc" ?
 
/**
* File: main.asc
* --------------

* The server-side portion of the multicast sample application.

* This app accepts publish and unpublish requests from FMLE, and republishes

* the live stream from FMLE into a target Flash Group.[code]..............

View 1 Replies

Media Server :: Recording RTMFP P2P Stream By Sending Simultaneous Stream To FMS

Oct 8, 2010

Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
 
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
 
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?

View 1 Replies

Media Server :: RTMFP Multicast Stream Has Exceeded Max Duration Allowed Closing Stream?

May 9, 2011

i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast

[Code]...

View 3 Replies

Actionscript 3 :: Get Video Resolution In A RTMFP Stream?

Oct 14, 2011

I would like to get the NetStream width/height when receiving a RTMFP stream. This is important because the video component needs different measures when, for example, the user receives a 4:3 or a 16:9 stream.

Unfortunately, the onMetaData callback for NetStream does not work as it does for RTMP streams.

View 1 Replies

ActionScript 3.0 :: Capture Audio From RTMFP Subscribed Stream

Sep 17, 2010

I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe:For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.url...But I dont see how I would do it. In the case of video, I see I could use BitmapData.draw(), and discucced url...But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..

View 6 Replies

Media Server :: Creating One Way (A Publish B Play) Stream Through RTMFP?

Aug 17, 2011

I've noticed an issue while creating one way (A publish B play) stream through RTMFP. When I try to create connection between computers behind the same NAT (same IP) stream playing is not fired at all, but on the other hand the same code works on remote computers (different IPs).This issue arose after releasing final release of Flash Player, in a beta release everything works fine.We checked NAT settings and there are no differences for this cases.

View 3 Replies

Media Server :: AudioSampleAccess / Capture Audio From RTMFP Subscribed Stream

Sep 17, 2010

I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe: For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.[code]But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..

View 5 Replies

Media Server :: RTMFP Connection - Change The NetConnection Url To The Remote FMS Server

Sep 27, 2010

I'm using the RTMFP protocol to publish and play video and audio, but i'm with a little problem. I installed the FMS 4 Development Server in a Windows Server machine located in our local network and it works perfectly. In order to deploy our application, we have a remote server with a fresh install of the Ubuntu 10.04 Server, and the FMS 4 installed in this server. In other server we have the Java and Flex application, which will be used in the client browser.

The problem is that when trying to change the NetConnection url to the remote FMS server, which is the Ubuntu server, the netconnection can't connect to it. When changing to the RTMP protocol it connects, but with the RTMFP don't. I can't find any information in the log files or anything else.

View 9 Replies

Flex :: Access A Remote Java Class (on Spring/BlazeDS) From The Cairngorm Application?

Nov 5, 2009

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong

[Code]...

View 2 Replies

Flex :: Flash Channel.Security / Error Unable To Access Remote Resource

Jul 31, 2010

I tried to deploy my otherwise working flex app on a web server (tomcat 6).It threw a Channel.Security.Error.After some research, I became aware that flash movie loaded from flash_movie_domain will not be able to load resource from any other domain.Some suggested adding a crossdomain.xml.However, the crossdomain.xml route doesn't quite make sense.In this case, I am loading resources from a third party web site.My understanding is that I need this third party website to include a crossdomain.xml on their root directory in order for app to function.The third party web service is provided as is. I will not be able to change what's given. Since the third party is providing public access, it already explicitly give permission to the general public. Adding a crossdomain.xml to their root seems to be a redundant act?

View 1 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

Media Server :: Access Log- Stream Play & Stream Stop?

May 24, 2010

I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...

View 4 Replies

Media Server :: Publishing Stream To Remote FMS?

Oct 23, 2011

I have followed this link to republish my local stream to other local application instance : [URL]
 
i have used this script code into main.asc and it is working  :
 
// Called when the client publishes
application.onPublish = function(client, myStream) {
trace(myStream.name + " is publishing into application " + application.name);  

[Code].....

View 9 Replies

Flash :: RTFMP - Remote Stream Not Showing

Aug 15, 2011

I'm trying to create a 2-way videochat. Your own webcam shows perfectly fine, but the other doesn't. I used this page as an example: [UTRL]

Following the steps on the page doesn't seem to work for me. I exchange the peer IDs via PHP. I make my Flash visit a page, which stores the peer ID in the database using a POST request. To fetch the peer ID of the partner, I use PHP sessions, which store both your ID, and that of your partner. I can then use these variables to visit another PHP page, which echoes the partner's peer ID. Both are the same as in the database, so there's nothing wrong with that.

The NetConnection:

Connection = new NetConnection();
Connection.addEventListener(NetStatusEvent.NET_STATUS, CheckConnect);
Connection.connect(RTFMP + DevKey);

[Code]....

View 1 Replies

Media Server :: Pull A Stream From A Remote FMS And Record It In Another FMS

May 14, 2009

I would like to "pull" a stream from a remote FMS to a local FMS and record this stream in the local server.I couldn't find a way to pull this stream, I can only publish/push. As I can not save scripts to the remote FMS I can not push the stream to my local FMS.I was looking into the NetStream class in the FMS and there is no way to play a stream from the remote server.

View 1 Replies

Flash :: Rtmfp Open Source Implementation Or FMS With Rtmfp Hosting?

Oct 28, 2010

Is there an open source implementation of rtmfp?Is there FMS hosting that support rtmfp?

View 2 Replies

Flex :: Protect Access="remote" Functions In CFCs From Snoopers?

May 22, 2009

One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps.

One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc.

All of this content is behind an authentication mechanism, but since the cfc will open itself up to a wsdl request:

[URL]

and will actually return the results to the browser if the URL query is crafted properly:

[URL]

What techniques have people used to protect the cfc from direct access UNLESS the request is coming directly from the CFML processor OR from Flex Remoting?

View 5 Replies

Media Server :: Stream Priorities - Live Audio And Video / Remote Objects

Jul 14, 2010

I currently have two connections with two separate streams. They both hit the same fms 3.5 server. One connection transfers live audio and video. The other one is used for remote objects. Sometimes when viewing the audio and video stream with a slower internet connection, the stream for the shared objects disconnects. I think it is a bandwidth issue. Is there any way to set the priority of the streams? I think this should allow me to set a higher priority for the shared object connection so it won't disconnect.

View 3 Replies

Flash - Possible To Access Remote SWF Without Downloading?

May 20, 2010

We have a very large SWF hosted in a website which is just a repository of hundreds of movies/symbols. We load this SWF at the beginning with the Loader class but then the client will access a very few of them at that moment. Is it possible to tell the loader to download symbols only when they're needed? (as with applicationDomain.getDefinition(...)).

View 4 Replies

Media Server :: Remote Access For Streaming From FMS?

Oct 24, 2011

Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP

View 3 Replies

Flash :: Air Remote External Swf Can Not Access Local Apk?

May 4, 2011

I'm developing an android file by using flash cs5 air extention. I know the basic crossdomain policy and server to server connections. And I searched many pages but there is no solution about this.

My "container.apk" loads "external.swf" from the server.. And I want to be able to reach the variables and functions in "container.apk" from "external.swf". But I can't reach any function on my container (application file .apk) from my external module swf (remote file).. I mean, I'm trying to reach container.apk's functions from the loaded swf. Like when a button clicked on "external.swf" it should effect a function in "container.apk".

Also here are some error codes that I'm getting ;

[Code]...

View 1 Replies

ActionScript 2.0 :: Remote Access Of Functions & Objects?

Sep 18, 2009

How do I access actionscript programs, such as functions, from remote as files without using the #include command?

View 0 Replies

ActionScript 2.0 :: Play (not Access Methods) A Remote SWF With CreateEmptyMovieClip?

Jun 20, 2009

Everything talks about accessing methods & variables.

Simple:

- I have a local flash file that is loading .swf files from a local directory, and playing them.

Code:
for (x=myBanners.length-1;x>-1;x--){
var bannerName:String = "banner" + (x+1);
var movieLocation:String = myBanners[x].firstChild.nodeValue;

[Code]....

View 2 Replies

ActionScript 2.0 :: Remote SWFs May Not Access Local Files

Feb 4, 2007

I have this situation (simplified):
MC-A.swf opened from local computer (C:/) and loads MC-B.swf which is hosted on a server.
When MC-B.swf is loaded, it tries to access file called "loader.swf" which is also on local computer (C:/).

When it tries to access the "loader.swf" I get the following error message:
*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from [URL]
-- Remote SWFs may not access local files.

I read discussions concerning this issue, and as I understood, I could use:
System.security.allowDomain("[URL]");
to solve this problem, but it didn't work.
I wouldn't like to change the loaded file to load it's resources also from the web, since it can find them on the local machine.

View 4 Replies

ActionScript 3.0 :: Remote SWFs May Not Access Local Files?

Aug 18, 2009

lod.load(new URLRequest(str2));how to unload the lod when second time i cal that function.how to over come this (*** Security Sandbox Violation ***SecurityDomain )

View 1 Replies

Actionscript 3.0 :: CS4 Flash Remote Access To FTP Server Data

Feb 22, 2010

I am trying to access a FTP server that allows anonymous access to the data files stored on the server.. they are stored as txt files... I want to display some of the files in a flash CS4 Movie... It is also on a HTTP server directory...

I have accomplished it within the CS4 Flash development application using the HTTP Server but when I publish the document it gives me a blank stage the data that shows in the Test Movie swf is not showing when the SWF is on its own... I am thinking it has something to do with crossdomain security that is built in... is there a way I can accomplish this? I prefer the FTP access but will use the HTTP access...

Here is the AS3 I am using...

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;

[Code].....

View 13 Replies

ActionScript 2.0 :: Access Local PC Files From Remote Flash Player?

Feb 7, 2010

I have a flash file located on a web server. When it's loaded, I want it to access the user's PC and display some data (such as file directories, files, etc)I know there are security rules about what a flash player can access, but so far all I can seem to find are rules regarding local flash players accessing the internet, but not much on the other way around, or how do go about doing that.

View 0 Replies

ActionScript 2.0 :: Get Movie To Access / Download Remote Pdf / Other File On Server?

Jun 6, 2010

How do I get the movie to access and download a remote pdf or other file on my server?

View 2 Replies

Flex :: Connecting To A Ghost User In RTMFP

Dec 25, 2010

I have a simple Flex RTMFP P2P video app in the same mold as the Adobe Cirrus VideoPhone Sample application. A problem I've been encountering in developing this app (the same problem occurs in the sample) is when you try to connect to a ghost Stratus instance i.e you try to call someone whose Stratus id is in the database but who is no longer on the page. So here's an example of what I mean:Let's say you go to the Adobe Stratus sample and connect as Dan. Then open up a new tab, go to the sample again and connect as Fred. If from this point, you (as Fred) call Dan everything will work fine. But, if you close the tab in which you connected as Dan, and then from the Fred tab try to connect to Dan the program will just hang.

I would have thought there would be a NetStream event that would be triggered if you tried to connect to a Stratus instance that is not longer online but I can't seem to find anything besides NetStream.Connect.Rejected which doesn't seem to be called.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved