ActionScript 3.0 :: Stream.Time Returning Same Timestamp

Sep 5, 2011

1. When using Stream.time in actionscript server side, sometimes it returns the same timestamp. why it is returning the same output and any solution for the same.

2. When I am unpublishig the stream then re-publishing the unpublished stream timestamp does not get to reset to 0. I want to restart with 0 timestamp.

View 0 Replies


Similar Posts:


Get Timestamp Of A Live Stream Recording?

Aug 7, 2011

I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?

View 3 Replies

Media Server :: FMIS 3.5 Record Live Stream With Timestamp?

Sep 28, 2009

I have seen lots of different things about recording live streams (maybe too much, pieces everywhere but no one good source for the answers), but not what I am looking for...I want to setup recording of live streams on FMIS 3.5 where the file is named the stream name plus a timestamp (something like streamname-yyyymmddHHMMSS: myteststream-20090928101015).The people who use our site tend to start/stop several times (we are dealing with events that have breaks) and I want to be able to combine all the files with the same name into one big file on the server side afterwards using some utilities.I cannot find a tutorial that walks you through the different functions, the differences between them, and how recording is setup/works.

View 3 Replies

Actionscript 2.0 :: Find Time Elapsed From Unix Timestamp

Jun 24, 2009

I'm tryin to fiind the time elapsed from a Unix Timestamp.
 
[Code]...
So it's still returning the time from 1/1/1970.... Any way to make it return something like this: Mon Jan 02 01 1:2:35 GMT-0800 0000 or something like that so I can get the days, hours, minutes, and seconds elapsed.

View 5 Replies

Android :: H.264 Real-time Streaming Timestamp In NAL Units?

May 10, 2011

I'm trying to build a system that live-streams video and audio captured by android phones. Video and auido are captured on the android side using MediaRecorder, and then pushed directly to a server written in python. Clients should access this live feed using their browser, so the I implemented the streaming part of the system using flash. Right now both video and audio content appear on the client side, but the problem is that they are out of sync. I'm sure this is caused by wrong timestamp values in flash (currently I increment ts by 60ms for a frame of video, but clearly this value should be variable).

The audio is encoded into amr on the android phone, so I know exactly each frame of amr is 20ms. However, this is not the case with video, which is encoded into H.264. To synchronized them together, I would have to know exactly how many millisecs each frame of H.264 lasts, so that I can timestamp them later when delivering content using flash. My question is is this kind of information available in NAL units of H.264?

View 1 Replies

Media Server :: Stream.getOnMetaData() Not Returning Anything?

Jan 22, 2009

I'm currently trying to return the metadata of recorded streams using Stream.getOnMetaData(), but it never returns an object. If I trace server-side, the stream is found, as I can get the size and length of it, but no metadata object comes back to my client. Does anyone have a sample using this method properly?

Server-side code:

Client.prototype.getStreamMetaData = function(streamName)
{
trace("return stream metadata: " + streamName);

[Code]....

Neither of my client Responder functions (result or status) get called on the client when I invoke NetConnection.call() on this.

View 4 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

ActionScript 2.0 :: Searchable XML - Displaying/returning Only 10 Records At A Time?

Dec 20, 2006

I completed a similar xml searchable database based on this tutorial: http:[url]....I have a rather large xml that when you do a search flash times out and the user gets a scrip error,What I want to know is how would you go about only displaying/returning only 10 records at a time?

Code:

//Arrays
String.prototype.contains = function(searchString){
return (this.toLowerCase().indexOf(searchString.toLowerCase()) != -1);[code].....

View 1 Replies

Java :: Flex - LCDS Service Returning Null Asynctoken When Executed 2nd Time?

Dec 23, 2011

I'm developing a Flex application using RobotLegs, LiveCycle DS & Java.I'm trying to implement an update function, using LCDS, but I'm running into some strange behaviour:This is the ActionScript code within a RobotLegs' execute command, used to perform the update:

var token:AsyncToken = services.requestService.commit(new Array(model.currentRequestDetail));
responder = new AsyncResponder(resultHandler, faultHandler, token);

[code].....

View 2 Replies

Media Server :: Stream To Clients At The Same Time

Feb 22, 2010

i am trying to stream to clients at the same time..Meaning they all recieve the stream at the same time and it stops at the same time.

View 1 Replies

ActionScript 3.0 :: Embed .flv Animation And At The Same Time Stream It?

Apr 6, 2011

I've got a pretty heavy animation like 10Mb and it needs to be compiled in a single .swf file. Is it possible to embed .flv animation and at the same time stream it with some buffering at the start?

View 5 Replies

Media Server :: Stream/publish RTMP, HDS, And HLS At The Same Time?

Sep 21, 2011

Can I stream/publish all methods at the same time?I really want most users to play my live streams via RTMP, however, fail over to HLS for Apple iOS.

View 6 Replies

Media Server :: How To Stream Live And Record At Same Time

Nov 25, 2011

I'm pretty new to flash media server (and adobe technologies in general). I have an Air app that publishes a camera stream to the server, that can be played live by the same app on another computer/device. I would like to record to disk all audio/video passing through the server (on the server side) while streaming it at the same time. How can I accomplish this?

View 9 Replies

Media Server :: Get Absolute Stream Time Since It Is Published?

Jan 27, 2012

As a subscriber of live stream how do I get absolute stream time since it is published? Consider the case, a publisher has published a live stream at 0 seconds. It has been 100 seconds past since the live stream is published. A new subscriber comes to fms and subscribers a live stream. It starts playing that live stream but NetStream.time property will start from 0 instead of 100. Is there any way or configuration (in fms) which allows subscriber to get absolute stream time?

View 1 Replies

Media Server :: Record And View A Live Stream At The Same Time?

Apr 4, 2010

I see FMS has the ability to record live streams. I've done it and it works nicely.

Ideally I'd like people to watch my event live AND archive it while they watch.

View 11 Replies

Watch And Record A Live H.264 Stream At Same Time Using Fmis And FMLE?

Jun 2, 2010

I've read suggest naming the stream in the FMLE to something like mp4:mystream.mp4 or mp4:mystream.f4v but then you can no longer view the stream, and according my the admin console the stream will not even publish using this syntax.

I can view the published stream if I name the FMLE stream to something like mystream.mp4 or just mystream, but then it doesn't record at all or records as a FLV file depending on how I code the main.asc file.

View 4 Replies

Media Server :: FMS / FMLE - Record And Stream Video At Same Time

Dec 15, 2010

So I have FMLE and FMS. to record and stream video at the same time.
On server side I have "main"
application.onPublish = function(client, potok){
potok.onStatus = function(info){
for(var i in info){
trace(i + "=" + info[i]);
[Code] .....

View 12 Replies

Media Server :: Edit To Say (no Live Stream At This Time Instead Of Loading)

Dec 12, 2011

[Code]...

How can you change this to where when the page is loaded it does not say (loading) and it will say (No live video streams) you can view archived videos. Is this on the server FMS Interactive in the configuration or can it be done from the code inserted above?

View 5 Replies

Media Server :: 4 And 3.5 Drops Live Stream After Some Time, When Publishing From FFMPEG?

Sep 15, 2010

I'm having a reliability problem with publishing live, h.264 streams from FFMPEG (using the rtmp publish ability now built into FFMPEG, where I can set an rtmp address as the output).After a random period of time (usually between an hour and several hours), the default "live" application in FMS 4 (or 3.5) eventually drops the connection from the FFMPEG encoder. This is what appears in the log for the application:"Dropping application (live/_definst_) message. Clients not allowed to broadcast message."After googling the error, I discovered that people have been reporting this error for several years, but there has not been a single response from any FMS experts or Adobe about what causes the error.

View 6 Replies

Flex :: Flash - Getting Exect Time Of Currently Playing Flv Video Stream In VideoPlayer?

Dec 5, 2010

How to get timestamp with milliseconds or better nanoseconds of currently playing video?

View 1 Replies

Webcam - Retrieve Real Time Video Stream (from Web Camera) From Flash Media Server In A Browser?

Jun 12, 2010

How does the url of FMS real time video stream look like?

View 1 Replies

AS3 :: Php - Get The Current Unix Timestamp?

Nov 15, 2011

I'm trying to get the current unix timestamp in AS3 via:

var date:Date = new Date();
var unix:int = date.time;
trace(unix);

For some reason I get:

2775219874

But when I use time() in PHP around the same time, I get:

1321330282

I don't understand? I could of course request the timestamp from PHP via URLLoader, but I'd rather get it working properly without needing this if possible.

View 2 Replies

Actionscript 3 :: Date - Get Weekday From Timestamp?

Aug 14, 2011

How can I get the week day for 20110828 (28th of August 2011)? I've tried this, but it didn't work:

[Code]....

View 2 Replies

Flash8 :: Convert Timestamp To Readable Date?

May 12, 2009

I have a timestamp in the form "1239315541" and I need to convert it to a readable date.How can I do that ? Is there a function that I can use ?(I am using Flash 8 and ActionScript 2.0.)

View 3 Replies

Media Server :: Fix A 'Backward Timestamp' In FLV File?

May 5, 2009

I posted a discussion earlier on a video stream not playing past a certain time.  I ran FLVCheck on the video and it came back saying there is a backward timestamp in the video.  I recompressed it from the uncompressed video (AVI) and I got the same error again in the exact same place.

The error has to be in the uncompressed file, but I don't know how to fix it. Recompressing obviously doesn't help.  Anyone know how to fix a 'Backward timestamp'?

View 3 Replies

ActionScript 3.0 :: Upload Image Alongwith Timestamp?

Sep 12, 2010

I need to upload an image (byte array) and its timestamp to server which has jsp/servlet. But having trouble to transmit both in the same request.
 
In actionscript, I use URLRequest and URLLoader and upload the image without problem, however, I don't know how to upload the timestamp in the same request. I tried to build a ByteArray to contain both timestamp and the image, but I couldn't convert the Date.getTime() to byte[] correctly. The only function in ByteArray to input 8 bytes is writeDouble, but it doesn't embed the time correctly.

View 4 Replies

ActionScript 3.0 :: Duration & Last Timestamp Conflict On .Flv File

Dec 9, 2009

I have a video, it's 3:11 but it will only play until 2:41 then it will stop...... but when I fast forward to 2:42 or 2:43 it will play till the end..... how do I fix this file so it will work..... what do I do.

View 2 Replies

ActionScript 3.0 :: Adding Timestamp To XML File Address

Oct 12, 2011

I'm trying to add timestamp to the xml file address if the swf wil be loaded from the web server but it gives me a null object reference error depending on if there is timestamp() function call or not.

Here's my code that doesn't work as I was expecting:
ActionScript Code:
//...
public function init():void {
try {
xmlLoader = new URLLoader();
xmlLoader.addEventListener(IOErrorEvent.IO_ERROR, ioError);
[Code].....

When I load just addresses without the timestamp xmlLoader.load(new URLRequest(address)); it outputs everything I was already expecting when the timsetamp function call where involved, (as I was testing some considerable errors).
Code:
Class LoadXML/ address: start.xml
Class LoadXML/ address: play.xml
Class LoadXML/ address: end.xml
Class LoadXML/ io error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: file:///E|/flash/as3/projectName/lib/work/end.xml"]

View 4 Replies

ActionScript 3.0 :: How To Convert Date To Unix Timestamp

Sep 25, 2009

In one of my Flash-applications the users can save sales they do, and one important thing is the date for the sale and the user have to have the possibility to select the date he want's to. Therefore I got three drop-down-meny to registrate the date of the sale: one for day, one for month and one for year. Is there any way I can convert these three into a Unix Timestamp? (I save the data via PHP intro MySql-database).

View 4 Replies

ActionScript 3.0 :: XML Show Only A Part Of The Parsed Timestamp

Jun 30, 2009

The XML is listed as so (only a snippet of coarse):

[Code]...

now when parsing the DepartureDate="2009-06-30 15:00" the entire date is displayed, as should be. How can I set up my AS3 to only display the 15:00? The parsed path to the xml node is as follows:

[Code]...

View 1 Replies







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