FMS server buffer delay 5-6 sec live stream ?
FMS server buffer delay 5-6 sec live stream ?
To reduce the delay you can try disabling aggregate messages.
You need to set Streams/EnableAggMsgs in Server.xml and Client/AggregateMessages in Application.xml to false.
See more about Aggregate messages here : http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2925 e64-7ff0.html#WS5b3ccc516d4fbf351e63e3d119f2925e64-7feb
Hope this helps.
Thanks,
Apurva
Similar Messages
-
What event does FMS server fire when a clients starts/stops streaming
I want to log activities on my stream (both live and recorded) using a web service I've made. In the FMS server side AS3 documentation I can find events for onconnect/ondisconnect, but that is not quite what I want. What I want is and event that fires when a user start viewing a stream, or stops viewing. Today I'm using the following code:
application.onConnect = function(client)
client.getStreamLength = function( streamName ) {
LogStart('', this.id, this.ip, streamName);
return Stream.length( streamName );
this.acceptConnection(client);
However not all clients uses the getStreamLength, so this does not realy work. The problem is that in the "onConnect" even I do not have access to the streamname, else I think I could have used this event.
Thanks in advanceHi Wujemurray,
If you'd be so kind as to email me offlist we'll get a support incident opened for this and can get to the bottom of the issue you're facing.
Asa
[email protected] -
Server-side recordings have timecode gaps, live stream was fine -- please help
Hi all,
We're running into a strange issue with our app. Users broadcast live AV, which are also recorded. During the live broadcast, there's no transmission problem, and multiple users can see each others streams with no problem. However, the recorded version has gaps in the recording for certain users. Looking at the recorded files, there's gaps in the timecode.
I'm trying to figure out what could be causing the gaps. Any thoughts or suggestions for me to investigate? Thank you!
CostinREPOSTING BECAUSE OF WEIRD FORMATTING:
Hi all,
We're running into a strange issue with our app. Users broadcast live AV, which are also recorded. During the live broadcast, there's no transmission problem, and multiple users can see each others streams with no problem. However, the recorded version has gaps in the recording for certain users. Looking at the recorded files, there's gaps in the timecode.
I'm trying to figure out what could be causing the gaps. Any thoughts or suggestions for me to investigate? Thank you!
Costin -
How do I create a variable video delay of a live stream...
I have a live video feed from my webcam in my Flash Application. I have a second video window next to it that I want to place a variable delayed video of the live stream. Therefore, I need to save the video stream in memory/disk and create this variable delay, say 5-60 seconds. As well as, continue to capture the live stream. The camera I am using suppots H.264 encoding.
How do I create a variable length queue or buffer to hold the video stream coming into the flash application. Do I create a memory variable or write this to disk ? I have been looking over the ActionScript 3.0 documentation and I can not figure out how to code this either way ( as a memory variable or write to disk queue ).
I want to be able to change the delay, view the delay stream in slow motion and scrub through the delayed stream.
I would like to do this with out having to use Flash Media Server.
Thanks,
BobI am sure it is practically impossible to accomplish that on the client side. Although theoretically it is conceivable to use NetStream.appendBytes() but it requires an extremely complex implementation.
I suggest you look into FMS DVR capacities:
http://help.adobe.com/en_US/flashmediaserver/devguide/WS236AE81A-5319-4327-9E44-310A93CA09 C6Dev.html -
Sending Live Stream from one FMS to another FMS
Hey,
Here's what I would like to do:
1. The Flash Media Encoder sends a live stream to FMS 1
2. On FMS 1, a connection to FMS 2 is set up and the live
stream is sent to FMS 2.
3. Every second, a message with metadata is sent to FMS 2
using Stream.send()
4. A Client connecting to FMS 2 receives the stream and the
metadata that was sent along with it.
I know this sounds pretty confusing, but the main problem is,
that I don't have access to the FMS 2, so I can't call
Stream.send() there. First I thought the solution would be using
Stream.play() with a remote connection, but when I call the
Stream.send() method nothing happens on the client side.
Then I thought I could do the whole thing by using a client
side application that connects to FMS 1, receives the stream,
embeds the metadata and publishes it to FMS 2. Here's the code I
used:
// Connect to FMS 1 to get stream
client_nc.connect("rtmp://localhost/encoder_stream/room_01",
"Client");
// Create input stream
in_ns = new NetStream(client_nc);
// Connect to FMS 2
akamai_nc.connect("rtmp://localhost/akamai/room_01",
"Client");
// Create new stream, feed with in_ns and send to FMS2
out_ns = new NetStream(akamai_nc);
out_ns.publish("stream");
out_ns.attachVideo(in_ns);
Unfortunately the attachVideo method only accepts a camera
and not a netstream object.
So this is where I'm standing now... anyone any ideas?
thanksHello,
i've asked our Akamai contact and they say it's not possible
to install any scripts on their servers. I think the only way is to
push the stream from FMS1 to FMS2, but since FMS doesn't support a
push method, there i have to find another way *sigh*
I've heard about FMS version 3 coming up soon, and I'd really
like to play around with the alpha version. Any idea where you can
get it from? On Steve Wolkoffs blog it says the new FMS is going to
support a push method:
http://blogs.adobe.com/dreaming/2006/10/fmsnext_feature_open_thread.html
I've also played around with the Red5 server, but I couldn't
find anything there to achieve a server side push method. Does
anyone have any experience with Red5 and live streaming?
Cheers! -
When I place the .swf, smil and http files on the FMS server the SMIL stream test sample works fine
But When I move the files to my web server I get Connection error.
This is the same issue discussed in http://forums.adobe.com/thread/554107
I added a ‘base’ variable but it did not work for me.
The SMIL file has the correct path to the sample files and FMS server
<meta base="rtmp://200.200.200.23/vod/" />
I am able to stream files from my html file on my webserver not the FMS server by pointing to the FMS server at rtmp://200.200.200.23/vod/mp4:sample1_1500kbps.f4v
Is this a domain security setting? If so, where do I change it?
If not How do I get FMS to stream SMIL files without installing a webserver with FMS?
Thanks,Hi,
I think there is bug with that videoPlayer.swf which is used by index.html of webroot folder of FMS to play media files, its not able to parse smil file correctly. I used some other player and used the smil file and kept it on http server other than fms server so it was able to dynamically stream videos. So I would suggest you to create your own player which uses smil file. You can take help from the below link to create player:
http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_advanced_pt1_05.html
Regards,
Amit -
I am publishing 2 live streams from a computer with 2 video capture cards in it and I get a lag every 30 seconds or so on the subscribers side. I have tried adjusting the camera quality and setMode properties but still the lag persists inside and outside the LAN, is there a way to create a buffer on the server or adjust the way the live stream is received on the subscribers side so there is no noticeable lag? I saw something about editing application.xml to adjust the queue and a suggested bitrate but not sure if this is applicable, here is the link:
http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_live.html
Here is my setup:
The publishing computer:
2 PCI-e x1 cards, one takes S-Video (480i) and the other DVI (720p)
Windows 7 64bit
Intel i7
6 GB RAM'
GB NIC and Switch
From the switch is one hop to a GB router and out to a 10 MB pipe which leads to our datacenter 30 miles away. The swf on this side just gets the 2 cameras, sets the quality to (0,80) and mode to (640,480,25,false) (I have played with these settings a little) and creates 2 lives streams on the FMS.
The FMS:
I am running Flash Media Interactive Server 3.5 on my own server with two 3.6 Dual Core Xeon processors and 4 GB RAM. This server resides in a Datacenter and has a 100 MB burstable pipe. From the FMS administration console I am barely using 4MB total bandwidth, 1% CPU usage, 2% RAM.
The subscribing computer:
I have used many different types of hardwired PC's within the same LAN and outside the LAN, results are the same.
The swf on this side just creates 2 new video instances and attaches the 2 netstreams to them. They are placed side by side and the height and width of these videos are undefined.
Does anyone know where this lag could be coming from, is there any settings I can adjust to improve performance while maintaining a minimum S-Video quality level?
ThanksHi,
Thanks for the detailed information in your first post.
Coming to the latency... It gets affected by various factors. The stream bitrate, FMS server side settings, subscriber's client side setting and on top of these the network bandwidth.
I need to know the NetStream.bufferTime set at the subscriber's application. Try setting it to 3 when you issue the play, later you can increase it to 8 or so to stabilize the play back.
Also can you try to subscribe to single stream and check if your client bandwidth is able to play back isngle stream?
The link which you have mentioned below is a good reference to tune your server side settings.
Regards,
Janaki L -
Lag When Recording Live Stream
I am experiencing a very strange behavior from FMS
I am conducting a live conversation between 2 people using
their webcams. One of the participants have a relatively slow
computer (we think its the anti-virus). When conducting the live
session everything seems to be fine... Still a bit slower than fast
computers but still pretty good.
We are doing the following test:
We do a combined count from 1 to 20.
participant-1 counts "1" (this is the slow computer)
Only after hearing his count participant-2 counts "2"
Again, only after hearing his "2" participant-1 counts "3"
and so on...
so the count goes from participant-1 to the server and from
there to participant-2 only then the "2" count leaves participant-2
to the server and so on...
This session is being recorded. What I am getting in the
recored video is very strange...
I am getting participant-2 count before participant-1. So the
count goes:
2,1,4,3,6,5 and so on
How is this possible to have the order correct on the live
and not on the recorded?Hi,
As it is , in the current form, both the applications cannot make VOD files directly. The live sample application can be modified to have a server side recording of the incoming live stream that can then be played as vod stream. -
How to live stream vp6 from a browser/swf file.
Hello,
Currently we have a swf file application that runs in a browser and takes the live video stream from the camera on the computer and streams a live sorenson spark stream to the fms 3.5 server.
Question is:
How to live stream vp6 from the browser/swf file on the camera computer, instead of the sorenson spark. (We seem to be stuck only on sorenson spark).
Thank you.Hi Vince,
Jay has explained it about as best as can be done. What you have now is a
SWF that lives in a browser. With Flix, you can eliminate the SWF
altogether. Or if there is logic that still will require the SWF, then both
Flix and the SWF will live in the browser at the same time (and can talk via
ExternalInterface).
fyi .. When using Flix, if Flix does not eliminate the SWF altogether, you
will remove from your SWF all logic for acquiring Camera and Microphone. As
Jay has reiterated, Flix Publisher will now be doing all that.
If your SWF includes logic other than video/audio, e.g. maybe text chat,
then you may need logic in your SSAS to associated the video from Flix with
anything else from the SWF since each will have its own NetConnection to the
FMIS application.
In case it might help, following is On2's heavily commented JavaScript for
invoking Flix Publisher:
http://publisher.on2.com/fp_doc/3-1-5-5/samples/scripts/flixpub_conf.js
And the full docs for the Flix SDK are here:
http://publisher.on2.com/fp_doc/3-1-5-5/index.html
hth,
g -
How to find metrics for live streams?
Hi there,
We have installed FMS and have used it for a live streaming video event. The event lasted an hour and FMS worked great.
How can I get statistics on that live stream? I'd like to know how many people saw the video, and how many people were watching at one time.
Can you please tell me where to find this?
ThanksOne way to check this is to use the FMS logs. The access logs in <FMS install>/logs folder contains all such information regarding events with time. With default logger configuration it records only certain events like connect, disconnect, etc. and fields related to them. To enable more logging make changes to the following tags in conf/Logger.xml
tag 1. Modify <Events> value under <access>. The value of this tag controls which events will be logged in access.00.log. Select the ones which you need. The information of all events have been provided.
tag2: <Fields> under <access> Similarly you can configure what fields you want to be logged for each event.
I understand this is not very straight forward as this log may get very large. So you may also consider using file parsers which may be available and use them to parse this file.
Another way is to use admin API commands. You can check the list of admin APIs listed in FMS documentation. These APIs may give you some information too and you can use the most suitable ones for your purpose.
Thanks,
Abhishek -
Flash media live encoder, play live streaming failed!
Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
The following is fmle log:
Tue Jun 22 2010 12:25:19 : Primary - Connected
Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
Tue Jun 22 2010 12:25:19 : Session Started
Tue Jun 22 2010 12:25:19 : Video Encoding Started
The following is my source code to play live stream:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function showFlv():void {
//myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
Dumper.info(myVideo.source);
]]>
</mx:Script>
<mx:Panel width="100%" height="100%">
<mx:VBox width="100%" horizontalAlign="center">
<mx:Text text="code display"/>
<mx:Button label="play flv" click="showFlv();"/>
</mx:VBox>
<mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
</mx:Panel>
</mx:Application>
If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video. Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream", Can't get video. Why?
I just want to play live video on pc.Who can help me??
-
Playback of low bitrate flv or f4v from live stream in FMS causes player buffer to empty
We are experiencing a consistent issue when playing a low bitrate (300kbps or less) flv in a live stream from FMS. Basically, the player will will start off with the appropriate buffer, say 5 seconds, then begin dropping until it empties out, and will have to rebuffer. We've tried with a variety of flv and f4v files, all that are 300kbps or less, and we consistently get the issue. Is this something Adobe can investigate in FMS? Or are there any suggestions on how we can get around the issue?
hey, i got the similar problem, logging like this
2012-11-12
18:50:12
23434
(e)2661034
Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
2012-11-12
18:50:54
23434
(e)2661034
Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
2012-11-12
18:51:36
23434
(e)2661034
Connect failed ( , 1166880400 ) : Connect failed: Connection refused (111)
2012-11-12
18:54:14
23434
(e)2661034
Connect failed ( , 1175301776 ) : Connect failed: Connection refused (111)
2012-11-12
18:54:55
23434
(e)2661034
Connect failed ( , 1164775056 ) : Connect failed: Connection refused (111)
2012-11-12
18:55:37
23434
(e)2661034
Connect failed ( , 16 ) : Connect failed: Connection refused (111)
2012-11-12
19:13:08
23434
(e)2661034
Connect failed ( , 1158459024 ) : Connect failed: Connection refused (111)
it seems that the port number is invalid, but we never use such ports. -
Fms live stream server stops sending data around 4+hrs
Hi,
I am having some issues with fms servers livestream connection. My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server. Are there any other that client needs to send back to server? It would be greatly appreciated for any pointers and help. Thanks.Updates:
An interesting observation is that the server stops transmitting data when server-to-client bytes reaches ~4G. The number sounds too much like a system resource limitation. It is a live stream and it is not being recorded so I am not sure where is the 4G limitation coming from. FLVCACHE_MAXSIZE is for recorded stream, I think, and it is set to the default 500MB.
Also, in the access log the check point for connect-continue and play-continue keep showing status of 100, which is supposed to be "Waiting for the application to authenticate.". Is this correct? The connection is successfully connected and play command is successful as shown in the access log. swfVerification is disabled in application.xnl. what does the server waiting for in respect to authentication?
Below is the log:
connect-continue
session
2012-03-22
01:51:24
Eastern Daylight Time
10.200.4.224
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
0
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
file:///mac.html
play-continue
stream
2012-03-22
01:51:24
Eastern Daylight Time
livestream
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
18044
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
livestream
rtmp://10.200.4.172/live/livestream
rtmp://10.200.4.172/live/livestream
flv
18085866
0
3829693036
1
file:///mac.html
-1
-1.000000
Any pointers would be greatly appreciated. Thanks. -
Live streaming to FMS server from analog cable?
Need to stream an analog cable signal (may consist of 60-70
channels in VL and VHF)to FMS server. im doing a small scale
project. so i want some hardwares supporting these. please suggest
me some reasonable ones..
is it possible to do the same with a tv tuner card.?For HLS streaming, only aac/heaac are supported audio codec. Though FMS do not disallow packaging mp3, but its mostly depnds upon ios devices to play back them.. We don't recommend mp3 as codec for ios playback.
Thanks -
Adding Edge Servers to a live FMS Server
Hi All,
Does anyone know if this is possible? I have an FMS server in our production enviroment that contains multiple vHosts, at the moment I have one edge server setup for each host based on the comment at the bottom of this entry:
http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDoc s_Parts&file=00000205.html
What I would like to be able to do is to add a new vHost and initiate an edge server process for this without having to restart the FMS service?
ThanksIf the goal is to add a new listening port and vhost combination then you must restart FMS to make this possible. Sorry.
Asa
Maybe you are looking for
-
Error connecting to ES Explorer?
I'm receiving the following error when attempting to access the ES Explorer from inside Visual Studios 2008, 2005, and as well as trying to access the site directly at: http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiesperui/Menu?j_us
-
Unable to deploy BPEL Process -- Says If you have installed a patch to the
I have a simple BPEL process that calles an ESB flow deployed in the same server. I am facing the following issue when trying to deploy the BPEL process. The ESB flow is deployed and is working perfectly. Configuration: JDeveloper 10.1.3.5 SOA Suite
-
Icloud has taken my mail ,how do i get it back to my inbox?
i am not sure how to use icloud but for now i have lost the mail i my inbox and im sure its in icloud. how cani get my mail to show up i my inbox.Thanks for any help
-
Input screen feild to the standard screen.
hi sap masters, i really appreciate the help that which you provide. i have standard sap screen where in i need to add my custum screen input field as date type syst-datum. i am using a badi where am able to add any number of fields however in screen
-
How do you list all your created scripts?
Hi all..... Is there a way to list all of the scripts that you have created that are in your database? I tried the SELECT * FROM CAT but that wont list your scripts. Any ideas?