Media Server :: NetStream.time Jumping Ahead When Buffering Playlists?

Dec 14, 2009

I am streaming a playlist of multiple mp4 video files with flash 9 and FMS 3 and have been experiencing strange netStream.time values when the buffering is set for an extra long time on slow connections. When I have my buffer set to something like 60 seconds I'll start experiancing this problem:
 
the NetStream.time value will return 0 on progress events while buffering, but the moment the buffer is full, instead of reading 0,1,2 +++ it jumps to a really high value, in this case 53.5 seconds, and sticks there until the video (which seems to play correctly from the beginning) catches up to that time and then the netStream.time starts incrementing as it should.
 
Another relevant fact is that the time the netStream.time gets stuck to always corresponds to the end/begining point between two streams in the playlist. For whatever reason this usually seems to be the third video in the playlist. If the connection is relatively fast and the buffer is set to a smaller value,

View 1 Replies


Similar Posts:


ActionScript 3.0 :: NetStream.time Jumps Ahead When Buffering Playlists?

Dec 7, 2009

I am streaming a playlist of multiple mp4 video files and have been experiencing strange netStream.time values when the buffering is set for an extra long time on slow connections.

For example, when starting the video, if I set the buffer to something like 90 seconds, while filling the buffer netStream.time reads 0. The second the buffer is full, instead of reading 0,1,2 +++ it jumps to a really high value, in this case 53535 and sticks there until the video, which seems to play correctly from the begining ,catches up to that time and then starts incrementing as it should. What's odd about this is that the time the netStream.time gets stuck to always corresponds to the end/begining point between two streams in the playlist. For whatever reason this always seems to be the third video in the playlist. IF I seek to a new location, it re buffers, and then the time properly is stuck at the time that corresponds to the end of the 4th stream.

If the connection is relatively fast and the buffer is set to a smaller value, I never see any issues.

I know netStream.time is notoriously buggy, but something tells me there is more going on here.

View 0 Replies

Media Server :: Get NetStream.time On The Serverside?

Jan 26, 2010

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); }

View 2 Replies

Media Server :: NetStream Time NaN After A Period Of Inactivity

Jun 25, 2009

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?

View 2 Replies

ActionScript 3.0 :: NetStream: Video Is Taking A Long Time To Begin Buffering

Jul 28, 2009

I'm trying to implement a simple NetStream video player with Progressive Video, but for some reason the video is taking about 12-13 seconds to begin buffering...I don't get it. If you check this link, you can see the buffer progress, you can see that it sits at 0 for >10s, until finally starting to buffer, at which point it finishes very quickly. [URL] It's a hard one to search for as any query using connection or slow obviously returns a bunch of crap that I don't need...

[Code]...

View 1 Replies

Media Server :: Using .smil Files For Dynamic Streaming In Playlists?

Apr 22, 2009

I have a video player with a playlist written with AS3, along with an .XML settings file to edit the playlist.  I can successfully play rtmp:/ streams from my FMS server on the video player. I would like to use dynamic streaming using the dynamicStream.smil file with my existing video player/playlist.  Lastly, I have been unsuccessful taking the snippet code from the FMS, Dynamic Streaming sample page, and using it within an HTML document.  I assumed all I would need to change were the paths to where the rtmp:// video file, .smil, and the video player files were located on the FMS. 

Using: Linux, FMS 3.5, CS4

View 36 Replies

Media Server :: 3.5 Buffering Too Much

Jul 14, 2009

i setup the development versionof fms 3.5 server on windows 2003 server and it worked great in my tests.so we bought the server and are putting it in production now.the only problem is i never "tested" large FLV files.now if i put a large 50+megabytes flv file in the server it constantly buffers on the client.Is there a setting that defines the buffer size to increase the amount of buffer data that gets sent to the client?if i use a small flv file it works flawlessly but for large files it says "buffering" every 2-5seconds on the client.the client is just opening the test page that comes with the server the server has 3000mb/s to the internet and the client has a 20mb/s connection so i don't think bandwidth is an issue...

View 1 Replies

Media Server :: Pre-buffering Multiple NetStreams?

May 21, 2009

I am running into some streaming bugs and am wondering if anyone else has come across them. Very grateful in advance for any help as I've been banging my head against this for a week now.
 
First of all, I'm finding that no matter what value I set for a NetStream's bufferTime property, the NetStream will not begin actually playing until the bufferLength property is over 2 seconds. This is not what Flash documentation says (that the default value of bufferLength is .1 seconds). Could this issue a function of the FMS configuration with my RTMP hosting account? Is it something I can resolve with my asc file?
 
Also: In my Actionscript 3 app, I need to pre-buffer a number of video streams so that any one of them can be triggered immediately later in the program. I do this by building an array of NetStreams (within a single NetConnection), then playing each of the streams I need to pre-buffer and immediately pausing each too. This is successfully causing them to buffer in the background, so that they're ready for immediate play when I need them. When I do this with just one NetStream, it works fine. But with more, the streams are behaving unpredictably. They are successfully buffering, but when I need to actually play them and I go to unpause them (Netstream.resume), the NetStreams are generally NOT playing back correctly. Their behavior is not consistent, and they mostly play with no video, or no audio OR video. The one exception is the FIRST NetStream that I started pre-buffering, which is the only one that's consistently playing back fine with its audio and video. Again, if I unpause any of the other NetStreams, they play back with just audio, or not at all.

View 2 Replies

Media Server :: Streaming Vid Skips After Buffering

May 26, 2011

When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering. That said i'd prefer to get to the root of the prob, particularly if this is a codec/keyframe issue, since i could then re-export the vids appropriately.

View 2 Replies

Media Server :: FMS Static HD Video Playback Buffering

May 18, 2010

I have downloaded and installed the Flash Media Server (FMS) trial version. Just purchased the software today and waiting for the activation serial number. I created a video gallery - [URL]. My goal is for these videos to stream just like vimeo. I am only using HD 1280 x 720 video. All videos are between 25 to 125 MB in size, originally .mov files converted to .flv using FFMPEG. Videos are between 30 seconds to 58 seconds in length.

I am using ColdFusion to upload and organize my videos and I have configured FMS to work with CF. The Issue is that these videos buffer the same way they did when I didn't have FMS installed. Press play, the video buffers, the video plays, then stops to buffer again. Stop and Buffer, Stop and Buffer. I can understand if there is buffering at the start of the video but not throughout. When I start the video over from the start, it has to buffer all over again!

View 2 Replies

Media Server :: FLVPlayback 2.5 Buffering State Never Ends

Jul 27, 2010

I'm using the FLVPlayback to load streaming videos from a FMS. The bug that I'm running into is with the buffering state. Several times the video will enter a buffering state that never ends. The last video event that's fired in this scenario is the BUFFERING_STATE_ENTERED. But if I seek the video on the seekbar, it's playing away.

View 3 Replies

Media Server :: File Is Stuck On Buffering On Playout?

May 31, 2011

I followed the instructions located here:when i load the player and put the correct rtmp link, the video is stuck in bufferingI also tried the strobe media playback  and getting the same issue.I also tried playing the sample.flv file located in the vod/media directory and getting the same problem

View 2 Replies

Media Server :: Buffering Process Bar Not Working With FMS Streaming?

Feb 10, 2012

I am developing a video player that is almost done, but there is a problem in Bufferbar

I am using a flvplayback for video playing when I use http path for video it show bufferbar working perfectly like below:
 
Code:
_flvPlayback.source = "http://flash.projectstatus.in/fmsvid/sample.flv";
 
If I use rtmp path from the fms the bufferbar does not work it shows already full like below:
 
Code:
_flvPlayback.source = "rtmp://75.126.73.138/vod/flv:sample.flv";
 
In both case video playing perfectly. Only problem regarding buffering bar.

View 2 Replies

Media Server :: Dynamic Buffering Based On Bandwidth And Datarate?

Jul 13, 2010

I'm trying to determine an initial value for NetStream.bufferTime based on the client's calculated bandwidth and the video's bitrate.As far as I can tell you can't do this, because you must have an initial buffer set BEFORE you call NetStream.play() (or use the default 2 seconds) and FMS does not call NetStream.onMetaData, where one would normally find the videodatarate, until after NetStream.play() is called.Even if you modify NetStream.bufferTime during the onMetaData call back it doesn't effect when the video starts playing or when the NetStatus event registers "NetStatus.Buffer.Full".
 
How do I find the Video Data Rate BEFORE I call NetStream.play?How do how do I reset the initial bufferTime before acctual play back begins and the NetStatus event fires with "NetStatus.Buffer.Full"

View 1 Replies

Media Server :: Start Buffering And Fetch Meta Without .play()?

Nov 22, 2010

I want to get the meta from an FMS server and start buffering (really I just want the first frame).  Is there any way to do this other than calling play() and waiting for meta to call pause?

View 2 Replies

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

Sep 23, 2010

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.

View 1 Replies

As3 :: Media Server :: Limit Server Recorded Netstream Length To 10 Seconds At Client Side

Sep 19, 2010

I want to limit server recorded netstream length to 10 secs at client side using as3. How can I do that?

View 2 Replies

Media Server :: NetStream Seems To Never Connect?

Jul 30, 2009

I'm trying to make an application that streams audio from an audio stream, but the NetStream seems to never connect. I don't have Flash Media Server.

View 3 Replies

Media Server :: Can't Mute A NetStream

Apr 25, 2011

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.

View 2 Replies

Media Server :: Multiple NetStream Creation?

Mar 23, 2010

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.

View 4 Replies

Media Server :: NetStream BytesLoaded Not Registering With Streaming?

Jul 10, 2009

I'm working with a custom made Flash video player using FMS (Wowza, actually).The video is working, yet when I access the BytesLoaded and BytesTotal,I get 0 (zero) for each.This even persists as the video is loading and playing.It's as if it is not even being registered at all.Here's the code:

var amountPlayed:Number = Math.round(ns.time * tlInterval) / Math.round(duration * tlInterval) * tlInterval;
controls.tl.width = Math.round(amountPlayed) * controls.tlw / tlInterval;[code].....

I tested this with a similar player that uses progressive downloading instead, and I get real data.

View 2 Replies

Media Server :: NetStream.Play.StreamNotFound Not Dispatching?

Nov 3, 2009

I'm recording audio using FMIS, the file is being saved out as a FLV file and I am able to play it back. Eventually that file may be deleted after some time and I would like to notify the user if the file is no longer available. I was expecting to see NetStream.Play.StreamNotFound after deleting the file on the server but I'm not getting that message. Instead I get:
 
-->      NetStream.Play.Reset-->     NetStream.Play.StartAnd nothing plays which is expected since the file is deleted, but I dont get the right message. I'm calling the file like so:ns.play ("flv:file_to_stream");

View 7 Replies

Media Server :: How To Avoid NetStream.Play.Stop

Jun 15, 2010

I'm streaming mp3 on flash media server 3.5 on  linux version, and very often come accross with that problem, when the buffer.length become 0 on client side, the streaming will stop with NetStream.Play.Stop event, and will not be continued. I think this case it should wait always till the data arrives and never should stopping. Some more info : I tested on applications/live folder, and the mp3 files are created dynamically during the playing, and the creation speed is almost the same like the playing speed, so those are not fix files.

View 2 Replies

Media Server :: Send An Image Using NetStream Or NetConnection?

Jun 23, 2010

Would I be able to send a image using NetStream or NetConnection?

View 1 Replies

Media Server :: Does NetStream.send Work With RTMFP?

Nov 23, 2010

I have application that uses the send functionally in the NetStream on the server-side. When a connect to the app using rtmp I am able to see the send come thru but if the app uses rtmfp it does notI gone thru all the examples in setting up a mutlicast app and I know the app works because when I publish a video out everyone in the group sees the video. The only thing not working is send. I've also set dataReliable to true.

View 3 Replies

Media Server :: NetStream/NetConnection Client Property

Apr 7, 2011

Both NetConnection object and NetStream object has a client property. Can I use the same client for both objects?

View 1 Replies

Media Server :: Get The MetaData As Usual With NetStream Object?

May 14, 2011

I'm trying to get the metaData as usual with NetStream object from FMS but in RTMFP protocol but doesn't work.However, with RTMP my code (which is coming from onMetaData example in livedocs)it works.
 
Is it need any special metchod/properties to get the metadata with rtmfp ?

View 2 Replies

Media Server :: NetStream.Play.StreamNotFound Not Working?

Aug 3, 2011

I would like to have the possibility to detect when NetStream is not working (i.e. the name used in initialization can't be found on the server side). The StreamNotFound doesn't work at all. I've read that it's the fault of the Flash Media Server, which automaticaly creates new stream, if it cannot be found (of course it's an empty stream - what is wrong from my point of view). Is it true? If yes, can I disable it on the server side, so I could easily detect if the stream name is correct?

View 8 Replies

Media Server :: Netstream Play And Publish Simultaneoulsy?

Nov 15, 2011

i've created a sub-folder called dvr under fms 4.0 applications. i made a test of playing a video named sample.flv then at the same time i publish it to the same fms 4.0 server with a different video name: "mergedVideo".the asc at the fms server as following:

application.onAppStart = function()
{
trace("app start : " + application.name);

[code]...

View 1 Replies

Media Server :: Sending MetaData With NetStream.send Is Not Working?

May 2, 2010

I'm trying to send metaData from client to FMS server when recording Webcam video and have implemented sending of metaData as stated on Adobe's help page at: http:[url]....

However when I play the recorded video from FMS, my custom metaData properties trace "undefined".I can trace default metaData properties such as duration or videocodecid successfully,but not my custom properties such customProp,width or height. Here is part of my code that is related to the issue: private function

ncNetStatus(event:NetStatusEvent):void  [code].....

View 21 Replies







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