Media Server :: Error: Failed To Execute Method (NetStream)
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.
im using FMS4 as origin server and connect to FVSS from CDN, whose FVSS version's FMS3.5. with this all, when it's played with flashplayer from CDN every each connect require just wrote sth in the server log file as below:
Mon 09:51:56 AM: Assert failed in .TCMsgHandler.cpp line 70Mon 09:51:56 AM: Assert failed in .TCMsgHandler.cpp line 70Mon 09:51:56 AM: Assert failed in .TCMsgHandler.cpp line 70Mon 09:51:56 AM: Connect : rtmp://live.mywebsite.com:1935/2011/monitor/
and due to these frequent errors the CDN Edge service would get shuted down. but after i changed the FMS4 into FMS3.5 with origin server everything just worked well.Now my question is, is that a bug with FMS4 or? and what can be done so far if we want to go on use FMS4?
I have a single server that runs IIS and FMS, both on port 80. The server has two internal IPs assigned to it, one for IIS and the other for FMS. I also have two static public IPs. My router maps one public IP to IIS' internal IP and likewise for FMS.
IIS works fine. Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs. Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive. This seems to indicate that FMS is fine.
However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed". Which is not very informative. Is there a way to get more info about the cause of the error?
How does one go about debugging unknown error messages?My core.00.log file has these entries in them.
2012-02-2409:21:412212(e)2611178Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit.- 2012-02-2409:21:412212(e)2611423Failed to record stream2 (Unknown Error).
I am trying to start making an admin client side application to monitor our service, including its properties that simply cannot be done through Administration Console, like blocking IP addresses of offending users.My problem is that even before I start using the Administration API (on which I will comment further down), I tried to f.e. inspect theshared objects and streams of the application through the Admin. Console, but I get a popup "Failed to make debug connection, please check that the application is in debug mode." Configuration files are unaltered from install, which means xPendingDebugConnections is set to 50, AllowDebugDefault is set to false, BUT in the serve side main.asc file I have "application.allowDebug = true;"Also, on a related note.
I can see that the Administration API lists the API itself, but there is vague to no mention at all where to connect first? I recall spotting somewhere suffixing the RTMP URL with something like "_fcs_debug" or something, but you can see how this frustrates me - I really don't like to google stuff that is supposed to be in the documentation The application instance usually accepts connections from regular non-admin clients, with proper parameters, which are irrelevant for admins unless these are users too (double membership, you can say)
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 ?
Accepted a connection from IP:42.159.56.116, referrer: http://hh.dyndns.org/swfs/StrobeMediaPlayback.swf", pageurl: "http:/hh.dyndns.org/live.htm?source=rtmp://hh.dyndns.org/live/livest ream&type=liveSending error message: Method not found (FCSubscribe).
I got this error when i am trying to connect on rtmp://172.31.14.91/live/livestream. Accepted a connection from IP:172.31.14.91, referrer: , pageurl: Sending error message: Method not found (getStreamLength). I don't have any problems with vod but on live streaming is so hard for me to get it.My encoder is a Media live encoder 3 and the media server is media server 3.5.
I have this set of codes for a simple chat program using SharedObjects. When I run the program, I type my name into the 'chatName' box and my message in the 'textInput'box. However when click on the 'Send' button or press the Enter key, I am getting the following error:
" TypeError: Error #1009: Cannot access a property or method of a null object reference. at TextChat/sendMsg() "
As mentioned in the error message I looked at the 'sendMsg()' function. I realised the problem was comming from the line :
I am wondering how 'text_so' can be a null object reference. It was already instantantiated and setup earlier in the code. I hope someone can shed light on this. The relevant lines of code are below.
i use the code below to publish my cam, and i can play it in the same application. Then i copy and renamer it videoPlayer2.as then i use displayPlaybackVideo(); method but it says "TypeError: Error #1009: Cannot access a property or method of a null object reference.". How can i get the published live video from another app.
I have a Flex and Java application and i am using BlazeDS between flex and java. Generally my application works fine. I observed when ever i try fetch data little faster(not giving gap between two fetch commands) then i am getting the error "Server error :faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed'"
I guess when ever load is increasing on BlazeDs, i am getting the error. I am calling the java service using following code
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions, streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
1. In FMS core logs I see this error "Failed to open log file[URL].. But I check and found the file exists. What can couse this error, do you have any idea? 2. Is there a way to disable logging for an application? 3. In edge logs, Sometimes I encounter the error "Exception while processing message : (Adaptor: _defaultRoot_, VHost: Unknown, App: , Type: 20, ID: 0, B". It seems it has no effect but still it is an error.
i m new for FMS I just wanna make a connection, I put swf file in FMS folder and here my codepackage{ import flash.net.NetConnection; import flash.display.Sprite; importflash.text.TextField; import flash.events.NetStatusEvent;public class main extends Sprite private var
I developed an simple video player based on the osmf with a dynamic streaming.It works fine with the examples from Akamai, but if i take my Live-Streams the first stream loads but as soon as stream should switch to a higher bandwidth i get the error:ERROR : error ID=15 message=Playback failed detail=Failed to play (stream ID: 1).Has anyone an idea what i do wrong? Or what might be wrong with the videos or streaming?
I am getting "NetConnection.Connect.Failed" error when trying to connect to my FMS 3.5 server from Internet.Things work pretty well when the application is hosted and accessed on my local network. Now when I want to connect my live stream application to Internet it isn't working. Public IP for my server is of type xxx.xxx.xxx.xxx:xxxx (My machine is mapped to the ip so to connect I need to mention the port as well).I am running IIS and FMS on the same machine. I have changed the default tcp/ip port of iis to 8080 and the ports for FMS are set to 1935,80.I have updated the HTTPPROXY.HOST value in fms.ini to HTTPPROXY.HOST = :8080 (port of IIS)HTTP tunneling and HTTP Proxy are also enabled.
I'm creating a video chat app using Flash Media Server 4 and Flex, using RTMFP for peer-to-peer.
No matter what I try, I cannot mute a user's NetStream. I tried receiveAudio(false) and that does not work.
I tried capturing the stream SoundTransform and setting the volume of that to 0, that does not work.
I tried setting the mx VideoDisplay volume to 0 and that does not work.
I can set the alpha of the VideoDisplay, so its really strange that I cannot set the volume.
BTW, I am not trying to mute the mic of the user who launched the app, that I can do. I'm trying to mute one of the other users stream in the Flex app, that way the app makes it possible to not hear people who are perhaps being offensive.
I am experiencing some failures with FMS 3.5.1. Searched the logs and it appears the following error repeats itself more than 20 times per second in the admin logs: Failed to wait for process condition: errno(22).
We are streaming live events encoding using H.264, so therefore we have to save the file as a .f4v. However, whenever I try to play the file, I keep getting a "playback failed" in Adobe Media Player. What could I be missing? Is there anything else I need to do in Flash Media Live Encoder?
I'm using the following code to attempt to get netStream.time on the serverside.....i've tried various ways googled it but have come up short...what code do i need to use so i can track a streams progress from the server side?
myStream = Stream.get("home1"); setInterval(time,5000,myStream.time); function time(myStream){ trace(myStream); }
I have an FMIS 3.5 app where I am attempting to publish multiple streams to an edge server.I have found that if I loop through my list of streams and attempt to publish to the edge server (i.e. as fast as possible), the publishing will fail They succeed if I have some delay between the publish calls.
Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live.. Flash Admin Server and Flash Media Server are running on local machineWhen testing I get [object NetConnection]: NetConnection.Connect.Failed When I remove the main.asc file it works...what's going on there?
var nc;var ns;var nsr; // Called when a client connectsapplication.onConnect = function(client) { // accept the new client's connection application.acceptConnection(client);
I'm running the development edition of FMS 4.5 and am trying to get HLS working. Whenever I attempt to publish a stream from FMLE, I receive the message:
in the livepkgr application instance and Failed to record livestream (disk quota exceeded).in the server log.I realize there are limitations on the development edition (10 minutes of iOS streaming), however usually these limitations restart when the server is reset. I've restarted the application instance and the server itself, manually starting and stopping the service, and I still receive that error when I first connect and try to publish the stream right after a server restart. I've reset the server multiple times to no avail.
The recording settings in the application.xml are all set to the defaults (-1 for no maximums).Unfortunately I've never been able to get this to work yet so I'm not ambitious enough to start testing it on any production servers.
I am developing a video player for FMS 3.0 and my client complains that when he leaves the player running overnight or after computer goes to sleep when he comes back the elapsed time displayed as NaN and when he tries to play, nothing happens. Why is this happening? Does it mean that the connection with the FMS dropped and I have to reconnect? How can test for the dropped connection?