Media Server :: Client Side Playlist With NetStream.play Using Start Offset Causing Jerky Cuts

Dec 1, 2009

I have a series of mp4 videos (H.236 @ 22 fps) streaming from an akamai FMS serve via RTMP protocol in flash player 9+ with AS 3.My goal is to create client side playlists that smoothly switch from one stream to another. I am creating these playlists using a series of netStream. play (filename,start,len) methods. If I don't use an offset for the start parameter, then the stream switches smoothly from one video to the next with not noticeable jump or jerkiness. However if I introduce a start offset, say a few seconds in, I start to see a quick little hiccup or pause between the seams as it switches from one playlist stream to the next.

View 1 Replies


Similar Posts:


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

Media Server :: Client Side Playlist With Dynamically Streamed Items Possible?

Apr 7, 2011

is there a way to define a client side playlist like this:[code]but instead of a single videofiles for each playlistentry use dynamic streaming?I know how the DynamicStream class is working and how to set it up but i can't find any information if it is possible to combined those two techniques.

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 :: Client-side NetStream Webcam Publishing To FMS 4.5 Not Working?

Dec 2, 2011

I'm trying to create a simple application that streams the webcam to FMS 4.5 (running on a Windows 7 machine), and then displays the published stream locally. Here's my code:

import flash.net.NetStream;
import flash.media.Video;
import fl.video.FLVPlayback;
import flash.events.NetStatusEvent;

[Code]...

All traces in the event handlers show the NetConnection connecting successfully, and the netstream publishing successfully. However, I get no video output from this. I've confirmed this using the sample video player in FMS 4.5 as well. There is also a weird traffic pattern reported in the FMS Admin console.There is some traffic (~4K) when the NetStream first publishes, but after that there is no activity.

View 1 Replies

Media Server :: Stream.play (live_from_FMLE, -1, 4500, True) Got No NetStream.Play.Start?

Nov 5, 2010

I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".

On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.

With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:

info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.

View 3 Replies

ActionScript 2.0 :: Swapping - Play The Client Side Mp3 First Then Only Play Server Side Sound Object Alternately

Aug 9, 2004

I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:

[Code].....

View 2 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Media Server :: Seek Or Start Playback Offset Not Working On Big Flv's

Dec 12, 2010

I try to start a FLV (created with soundbooth cs5) at a certain point of time using ns.play('video', 33000) or even just ns.seek(33000);
 
The FLV is about 9 hours long.
 
How do I make this work ? And why is it not working?

View 7 Replies

Media Server :: Scrubbing Server-side Generated Playlist?

Jun 18, 2010

I am generating a playlist server-side but am having problems when I try and scrub it on the client-side.Here's the contents of main.asc of my application:
 
application.onConnect = function(client) {
this.testStream = Stream.get("mp4:testplaylist");
this.testStream.play("mp4:test.f4v", 9, 16);
this.testStream.play("mp4:test2.f4v", 11, 10, false);

[code]...
 
The client calls "getStreamLength" to get the length of the sequence from the server; I do this in order to set the length of the scrub bar correctly.The problem is when I try and scrub - both forwards and backwards - it doesn't work; the stream just pauses then picks up where it last stopped, regardless of the position of the scrub bar.Is it possible to scrub a server-side generated playlist using Flash Media Server?I am using both Flash Player 10 and 10.1 and version 3.5.3 of Flash Media Server.

View 3 Replies

Media Server :: How To Loop A Server-side Playlist

Oct 1, 2009

i have a problem with my server-side playlist. I have three incoming live-streams from the FME:

/*
clientStream = Stream.get("New_Stream");
clientStream.play("live1", -1, 10, false);
clientStream.play("live2", -1, 10, false);
clientStream.play("live3", -1, 10, false);
*/

I want that every stream is changed every 10 seconds and that the complete playlist starts again after the last stream was played. So far it works but only for three times. Then the messages "NetStream.Play.Stop" occurs.

View 1 Replies

Media Server :: Streaming Server 4 - Server Side Playlist?

Jan 26, 2011

The $995.00 version is listed as not supporting server side playlists.  Is it possible to implement internet TV station like functionality using that version?  I would like to have a list of files to play out and have it so those connected are all viewing the same thing.

View 1 Replies

Media Server :: Sending Information From Server-side Script To Client?

Apr 18, 2010

I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
 
I am now working on a custom Flash-based video player to play my stream.

How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)

View 2 Replies

Media Server :: Dynamic Stream Switching From Server (not Client) Side

Sep 6, 2010

I understand how clients use bandwidth detection etc to dynamically switch streams via client calls with ns.play2( ... ), but I was wondering if it's possible to only ever use 1 initial ns.play( ... ) call on the client side, but let FMS server side logic that I write dictate which client sees what content. For example, I have 3 clients connected to my FMS server, all watching a live stream. I then decide I want clientA to see 'recordedMovieA.flv', clientB to continue seeing the live stream, and clientC to watch 'recordedMovieB.flv'.

[Code]...

View 5 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 :: Access Array In RSO Client Side?

Oct 28, 2009

I've shoved an array in a RSO serverside and now i need to update values in the RSO client side ...I tried the following but it doesn't work...I'm using actionscript 3.0
 
so11.setProperty("conTrol[1]","test");     so11.setDirty("conTrol");

View 2 Replies

Media Server :: Buffertime Not Working At The Client Side?

Dec 23, 2010

i'm going to develop a remote desktop project like VNC or RDP. The desktop is captured and encoded as H.264. The code of flex client is very simple:

[Code]...

View 1 Replies

Media Server :: Adding Custom Callback Handler To NetStream Client

Nov 2, 2010

I'm trying to add a custom callback handler to a NetStream client in a p2p application. The problem is, when I add such a handler, the NetStream Client doesn't function as it did before. It seems the NetStream.client object is changed. I know the default object is this. But changing the client to this doesn't solve the problem. The remoteControlStream, is the incoming stream. And the localControl stream is the stream being published. This is the localControlStream that's being send by the peer, and received as remoteControlStream:

private function initLocalControlStream():void{
localControlStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
localControlStream.addEventListener(NetStatusEvent.NET_STATUS, localControlHandler);
localControlStream.publish(myPeerID+"control");
var localControlStreamClient:Object = new Object();
[Code] .....

The onPeerConnect method of the localControlStream doesn't get called when I connect when the above handler is added. When I remove the that handler, the onPeerConnect method gets called. Obviously the problem is the NetStream.client.

View 1 Replies

Media Server :: Flv Playback Client Side Bandwidth Detection?

Jun 23, 2011

Has anyone been able to get bandwidth detection to work using the flvplayback control (client side - using AS3)? I have successfully got it to work using the video component with bwcheck and bwdone but I need to figure out how to do this with the FLV playback control. I am using FMS 3 and do not want to use the native bandwidth detection that comes with FMS. I need to detect the clients bandwidth and set the buffer time and what bitrate of a video (high, medium, low) I provide to a user based on their bandwidth.
 
In other words, is there an equivialant of bwcheck and bwdone that the flv playback can hook into to detect the client's bandwith?

View 2 Replies

Media Server :: What To Set In FMS Config Files - Rebuffering On Client Side

Apr 11, 2012

what to set in FMS config files to help me with rebuffering on client side? The player (flash, rtmp) rebuffers a lot (approx. twice a minute) with no good reason - i've tried several players with various buffer settings, clients and server have sufficient bandwidth for the stream (live streaming) - so i guess this can be helped server side - can it and how?

View 8 Replies

Media Server :: Connect To Client With RTMP, But It Don't Start?

Sep 30, 2010

i had installed a FMS4 developper in server on my centOs. I can connect to my FMS with client with RTMP, but with RTMFP, FMS don't reply. I looked at FMS log and i saw edge. 00.log:

 2010-09-30      13:11:53        4984    (e)2631504      RTMFP could
not start on edge process for _defaultRoot__edge1. Famille d'adresses non support par le protocole  -

View 3 Replies

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 Replies

Flash :: Media Server With Dynamic Playlist - Play In Flowplayer?

Jun 20, 2010

I'm doing a project like youtube. After some try, I can run FMS, dynamic playlist and flowplayer (I think this is what I need, am I right?) However, when I try to combine them, I discover a lot of problems. I follow this [URL] beginner_dynstre am_fms.html to learn about FMS, this [URL] to learn about dynamic playlist, this [URL] to learn about flowplayer. In the tutorial, the dynamic playlist cant run with FMS (even the tutorial says can, but when I try it, it cant!), and it is using Flash and as(AS3), the flowplayer is using html and js, I really cont know how to combine these 3 things together.

View 2 Replies

Media Server :: Stream.play On Server Side Makes Video Choppy?

Apr 30, 2010

I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.

View 20 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 :: 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 :: Got NetStream.play.stop Before It Reaches End Of Playback

May 23, 2011

i have application that streams videos from fms .i try to play video of 240 seconds, but when playback reaches 180 seconds i got NetStream. play. stop . it happens regularly at the same time.why does it happen? is it encoding of the video??

View 4 Replies

Media Server :: File Was Requested When Play() Is Ran On The Client?

Feb 3, 2010

I have been looking for a way to tell what file was requested from within a VOD app when a video is played.  I want to use the file name for something else but I dont want to have to send it with a second argument in connect().
  
Is it possible to tell what file is requested??? If so how can I do this??

View 6 Replies







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