Media Server :: Unable To Call OnFCPublish Method
Sep 2, 2010
I am trying to develop a server-side application(splitterApp) using FMS 3.5.2 which would accept an incoming stream from 3rd Party encoders and publish the stream using FCPublish method to an application(edgeApp) on our edge servers. The splitterApp contains 3 classes for performing the activity. So whenever a incoming stream is received by the splitterApp, the main.asc would create an object of type IncomingStream() and push into unPublished array. A timer based job then picks the unpublished stream from the array and invokes StreamController.PublishStream(). The StreamController.PublishStream() method then creates a new PublishedStream() initialised with incoming stream. The method thereafter calls PublishedStream.PublishStream() to initiate net connection to the edge server application(edgeApp). After successful net connection, I call "this.publish_connection.call ("FCPublish", null,this.thisStream.stream.name)".
The edgeApp accepts the publish and therefore performs:
[Code].....
View 2 Replies
Similar Posts:
Feb 17, 2011
I am using the FMS Connector C++ to do some publishing work. And I am required to call a server side method. I have tried to use the INetConnection::call() method, but it don't seems successful.
The FMS server spec told me to do,
1.call server method,
nc.call("FCPublish" null, streamname);
2. implement a callback function onFCPublsih
nc.onFCPublish = function (info ) {...}
How can I implement these with FMS Connector C++?
The FMS Connector document include too few topic on calling server side method.
View 2 Replies
Mar 18, 2010
how can i use getUserID method in my main.as?
NetConnectionClient.as
package com {
import flash.events.EventDispatcher;
import flash.events.Event;
public class NetConnectionClient extends EventDispatcher {
[Code]...
View 6 Replies
Jan 11, 2012
call and accept method in P2P connection.
View 1 Replies
Jan 11, 2006
I've taken the Hello class "back to formula", as my first go ran away from me. I'm unable to call displayMessage(), as a method of Hello, nothing is rendered to screen. What don't I get?
[code]...
View 3 Replies
Jun 11, 2010
Some users are unable to access any of our video content, getting a Server Not Found error.We have our FMS configured to use ports 1935, 433, 80. Our firewall is allowing RTMP traffic to each of these ports. Is there something more I can do from my end to make sure users can access our FMS?
View 1 Replies
Mar 6, 2010
I've got:- FMS already installed on a XP server with IIS- FLV Videos residing in a folder on another serverHow do I:Stream videos from the other server where the videos reside?
View 4 Replies
Mar 4, 2011
Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.
View 1 Replies
Dec 26, 2009
I have a question... Can I use the same server side function to send to all lients 3 different swfURL depending on which button pressed from one of them? If the answer is positive...how can I do it?
View 6 Replies
Jun 17, 2010
i have fms installed on a server, say server1. my flash files (swf) which allows user to record audio is on server 2. in the swf file, the connection is set as follows: nc.connect("rtmp://server1/test");
im able to view flash videos on server2 which streams from server1. however, i cannot upload any recording to the above directory. does the recording goes to the application or webroot folder? do i need to set any authentication to connect to server1(fms) from server2(swf)??
View 1 Replies
Apr 28, 2010
I m working in flex3.0 and i just want to know that how can i call a function from fms server to my AS3.0 (Client Side) code.i tried the syntax client.call(methodname,null,null); but my flex code throw exception unable to call the method.here can i use clientobject.call (methodname,null,null) and is there some special way to declare that method at client side.
View 3 Replies
Jul 28, 2010
have an error in the publication of a Live (Webcam) to a CDN (Level3).when "ns.publish (STREAM_NAME 'live')" 'it is returned an error"NetStream.Record.NoAccess 'Thank you to those who use AS3 application to connect to their CDN (Akamai, Level3 ...) oftell me if they encounter a problem.I use the same code has always been to publish a Live (Webcam) to serversstreaming (FMS RED5, etc ...) and can be summarized as follows:nc = new NetConnection ()nc.connect (HOST_URL)../..ns = new NetStream (nc)ns.publish (MON_STREAM 'live') this works on all versions FMS 2.5, 3.0, 3.5, etc. ..Since a migration of my FMS version 2.5 to 3.5 this code does not work anymore!the worst is that Flash Media Encoder (FME 3.0) it is operating properly.So is there a feature to broadcast a live publishing point on a CDN (LEVEL3)?The CDN turning on the fact that if it works with FME is that it is the code that raisesproblem ... without more information.The FMS version uses "special" of FMS, but until now I had no worries!In general the user CDN use hardware encoders ...
View 4 Replies
Jan 27, 2011
I have been trying to get my live feed up and running for friends but they are unale to view it. I have FMS 4 with FMLE 3.2 on Win7. Under the fms url i have 'rtmp://localhost/live' and Stream name is 'livestream' I can view the stream just fine from my computer on which i am running both FMS and FMLE. but when i put the html file on my website, my friends just see the empty swfplayer. You can view it at[URL]. I was trying to figure out what the problem was so i copied the swf code 6 times with different settings but nothing worked. on my computer, only the first swf player works and im guessing that is because its localhost.
View 2 Replies
Sep 19, 2008
When I downloaded a developer edition from Flash Media Server page (11 Oct 2011). I tried to follow the setup instruction in readme.htm which comes in the zip of Linux version.I logged in to terminal as root user and call './installFMS' and then the terminal show me:
ERROR: Your operating system is not supported by the Adobe Flash Media Server installer.
Does it mean Flash Media Server Developer Edition cannot work on OS X Lion (10.7)?
View 3 Replies
Sep 7, 2010
I carefully read forums for phpmyadmin before posting here and none really had the answer. I am able to install phpmyadmin on stand alone versions of Apache, but unable to do so on the FMS version. I previously read this post [URL] and it doesn't seem to answer the question although it looks like part of the question may have been answered offline. The problem is that phpmyadmin installs and I know that PHP is running fine because I can run a couple of test scripts with no problem. However, when I go to login to phpmyadmin, I get the dialog box asking me "do you want to open or save this file" and the script itself never executes. I checked the the server log, and here's what's going on:
[Code]...
Based on the post noted above, I'm assuming this may have something to do with either POST variables or maybe proxying unknown requests, however the forum post didn't appear to resolve the problem. I also posted to that thread, but I wasn't sure it was still being monitored.
View 3 Replies
Oct 11, 2011
When I downloaded a developer edition from Flash Media Server page (11 Oct 2011). I tried to follow the setup instruction in readme.htm which comes in the zip of Linux version.
I logged in to terminal as root user and call './installFMS' and then the terminal show me:
ERROR: Your operating system is not supported by the Adobe Flash Media Server installer.
Does it mean Flash Media Server Developer Edition cannot work on OS X Lion (10.7)?
View 1 Replies
Aug 11, 2010
I am developing video chat application. I am able to play published video stream. But I am unable to hear sound which is published along with the video. The video is visible but sound is not comming.What is going wrong.
View 7 Replies
Sep 2, 2010
We installed FMS on a new server - a cloud environment - and set the fms.ini for the correct dedicated IP but we're unable to see the start screen or access any videos.where the IP would need to be added to point to the wwwroot directory?
View 2 Replies
May 26, 2011
In raw format stream data are divided into many files named "segments". How can I configure the size of this files? I want to make them twice smaller.
View 1 Replies
Oct 17, 2011
Are there an updated set of Flash UI Components for working with FMS 4.5? I'm not able to locate an extension or even a legacy set of components.
The older component set
had:
ConnectorChatWhiteboardLoginOthers...
View 4 Replies
Aug 30, 2010
I've installed free FMS developper version on a vista OS, using the embeded Apache server. I added PHP 5.13 and everything seems to work except that : when I try to manage HTML forms, using the 'post' method, the result is a prompt windows, asking me for downloading the php file (corresponding to that pointed in the 'action' attribute. It acts as if Apache did not recognize the type php. My httpd.conf includes everyting to make php works fine. The clue is, when I change the form 'method' to 'GET', the php script works well! My FMS is configured to tunnel the HTTP request, listening to ports 80 and 1935 ant proxying HTTP to port 8134 (defaults) When I override this tunneling, by requesting the php file from my web browser directly to port 8134, it works fine too ! Now, I know that the problem comes from FMS and HTTP tunneling, but I have no idea how to solve it...
View 9 Replies
Oct 14, 2010
Sets the camera capture mode to the native mode that best meets the specified requirements. If the camera does not have a native mode that matches all the parameters you pass, Flash Player selects a capture mode that most closely synthesizes the requested mode. This manipulation may involve cropping the image and dropping frames.Does it mean that the frames captured is not necessarily the same as required by setMode(width:int, height:int, fps:Number, favorArea:Boolean = true) ? The actual frame captured may be either wider/ narrower,higher/lower in size and have higher/lower frequency than required ,is this true?
View 3 Replies
Aug 12, 2009
i have installed flash media server 3.5 ..windows vista and using FLASH 10right now in Flash Media Server page I am only able to play HTTP sample,RTMP file is not working , i check the sample folder >> and open HelloWorld >> that shows error :: Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Connect.Failedat HelloWorld/connectHandler()what should i do now need ur help urgent
View 5 Replies
Jul 5, 2010
What is best way to set up my application. I currently have a working app but the work flow doesn't feel right at all. Here are the basic steps involved:
[Code]...
View 1 Replies
Jan 21, 2010
I have a FMS application that contains a chat room. I'm finding that my on disconnect method is firing randomly when I still haven't disconnected. I've gathered from various other forums that this is a pretty common issue.
View 2 Replies
Aug 11, 2010
I'm trying to get the id3 information from an mp3 being streamed from FMS.I followed the samples I found online and am using the following client-[code]As a note the above code works fine to play the actual file (substituting mp3: for id3:, of course) it just doesn't seem to trigger the onID3 method (I've tried onId3 which is what the samples use).I am also able to view the id3 information from windows explorer and other external readers.The platform I'm ultimately targeting is Flash Lite 3.1 AS2, but I've tried various configurations and haven't had any success.
View 1 Replies
May 5, 2010
How to call a particular client from fms.Actually i m making a private chat application in which text messg send from one client to another specific client through FMS.So i m confused how gms recognize a particular clients.I am avoiding application .client[] array that contains all the connected users references.becoz it changes at the time of connection and disconnection of client from fms.
View 2 Replies
Mar 1, 2010
ok, so I got the broadcast running as SE suggested, everything is running smooth local and live except for one thing.every 45 seconds or so, I the encoder displays an error while broadcasting. the broadcast however continues, so I went to the error log in application.00.log. and this is what was there:I'm assuming it has something to do with the length of the file, when I look in the folder that saves the broadcast, is dozens of files that have approx size 1 mb. As the broadcast goes, I see the file being created, and then when it reaches about 1 mb, a new one is born. it ?
View 10 Replies
Oct 29, 2010
I've googled this and come up empty. All I am trying to do is create a netstream and assign a group to it like so:
var netstream;
var groupSpec;
groupSpec = new GroupSpecifier("foo");
trace("groupSpec: "+ groupSpec);
[Code]...
If I remove the groupSpec optional parameter I successfully connect the NetStream. According to the docs [on this page] I should be able to identify a GroupSpecifier in the NetStream constructor.
Is this a bug? Is there another way to do this?
View 8 Replies
Feb 23, 2010
How to make getServerStats() API call?
View 7 Replies