Media Server :: Can't Access Properties Of Date Object?

Jan 5, 2011

My FMS client is calling a function (simplified) which gets the offset time in milliseconds of an flv file.According to the docs for creationTime, it should return a Date object containing the time the file was created.I cannot access any properties of the date object in the server script.

Client.prototype.listFiles = function( folderName ) { 
var testFile = new File('/streams/folder/fileName.flv');
trace("creationTime: " + testFile.creationTime);

[code].....

View 2 Replies


Similar Posts:


Media Server :: JavaScript Engine: How Many Properties Is Too Many For An Object

May 6, 2010

I know the engine is derived from Mozilla SpiderMonkey. I am using an object which properties are IP addresses, i mean literally, as in: object["123.456.789.012"] The object is a map of banned clients. The number of properties approaches several hundreds. I wonder if this is a strain on the engine in any way? The reason I use this is because property lookup is just about the fastest thing you can do, as opposed to say an array with indexes and ip addresses as values, which would be an O(n) operation when doing lookup.

View 1 Replies

Media Server :: TypeError: Error #1009: Cannot Access A Property Or Method Of A Null Object?

Oct 7, 2010

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 :
 
text_so.setProperty ("msg",chatName.text +": "+ textInput.text);
 
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.

[Code].....

View 3 Replies

Media Server :: TypeError: Error #1009: Cannot Access A Property Or Method Of A Null Object Reference

Mar 19, 2010

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. 
 
videoPlayer.as // publish and play
package {      import flash.display.MovieClip; import flash.net.NetConnection;      import flash.net.NetStream;   import flash.media.Camera;  import flash.media.Microphone;     import flash.media.Video;      import flash.events.NetStatusEvent;   import

[code]...

View 4 Replies

Media Server :: Recording Video/audio Files Using Flash Media Server Through Rmtp, And Allow Users To Access The Recorded Files Through Http?

May 25, 2009

As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?

View 1 Replies

Media Server :: OnMetaData Properties Missing When Playback With HDS

Oct 13, 2011

Currently we have updated to FMS4.5 and doing some evaluation on HDS. We published our RTMP streams to the livepkgr application and successfully setup and playback HDS. However, we found that a we can't access some onMetaData Properties during playback. Our player use onMetaData - "videodatarate" and "audiodatarate" properties. We are trying to migrate it to playback HDS, however, we don't seems to be able to get back the two fields?

View 7 Replies

Actionscript 3 :: Using . Or [ ] To Access Object Properties - What's The Difference

Feb 1, 2012

What is the difference between the code (i) and (ii) written below ?

[CODE]...

View 1 Replies

Media Server :: Server Settings In Httpd.conf For Flash Access With HDS?

Mar 14, 2012

If I set EncryptionScope to "server" in httpd.conf (<fms>/Apache2.2/conf/httpd.conf) how or where do I specify the certificates for flash access if I want to use "ProtectionScheme FlashAccessV2".

<Location /custom-hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "../webroot/custom/vod"

[code].....

View 1 Replies

Media Server :: FMIS 3.5 Unable To Access Any Of Video Content / Getting Server Not Found Error

Jun 11, 2010

Some users are unable to access any of our video content, getting a Server Not Found error.We have our FMS configured to use ports 1935, 433, 80.  Our firewall is allowing RTMP traffic to each of these ports. Is there something more I can do from my end to make sure users can access our FMS?

View 1 Replies

Media Server :: FMS 4 - FLV Not Saving - Record Video From The Users Webcam And Play It Back At A Later Date

Mar 24, 2011

I'm trying to record video from the users webcam and play it back at a later date.
I call

[Code]...
 
However, when I look at the FMS Admin Console at the streams in app/_definst_, their types are either "NetStream" or "Live". If they were being saved wouldn't they say "Stored"? After I close the application doing the recording, the "NetStream" type stream disappears, and after a while all the "Live" typed streams are gone too. Nothing is saved.

I have no idea what is happening. I don't know if it's a problem with my AS3 code not closing the recording properly or if I'm doing something else wrong, or maybe somethgin isn't right in the FMS?

View 1 Replies

ActionScript 3.0 :: Access Object Properties In Class File?

May 27, 2011

I made a movie clip that is linked to a class named "Fugel". In the "Fugel" class I want to access the object's properties (x, y, rotation, alpha...) that I created in the main FLA file. I'm trying to center it in the constructor, but I don't know how to. The "this" keyword doesn't seem to work.

Here is the code for the "Fugel" class:

Code:
package {
import flash.display.MovieClip;
public class Fugel extends MovieClip {
public function Fugel() {

[Code].....

View 5 Replies

Media Server :: Access Server Variables In C++ Plug-in

Mar 3, 2010

Is there any way to access a Flash Media Server server-side script through a C++ plugin? I know you can call server-side functions, but I want to use the plugin to do image processing, so I need to get bitmap data from the client to the plugin. I've been poring over the documentation and the forums and there doesn't seem to be any way for the plugin to communcate with the server other than to read Event properties. If this is the only way for the plugin to recieve data from the server, is there any way to override an event property to send custom data?

View 5 Replies

ActionScript 3.0 :: Error #1009: Null Object Reference Can Not Access The Properties Or Methods

Sep 3, 2009

Load external SWF file, an error: TypeError: Error #1009: Null object reference can not access the properties or methods.

View 0 Replies

Media Server :: Why Server Side Shared Object Doesn't Work

Mar 29, 2011

application.onPublish = function (client, p_stream){  var myInfo = SharedObject.get(p_stream.name);   myInfo.setProperty("live", true);

I set the sharedobject using code above,now I can publish video,but so is not set(from admin console, "shared object" tab).

View 3 Replies

Media Server :: Can't To Access To Function Nc.onFCSubscribe?

Aug 24, 2009

i'm trying to use this code but i can't to access to function nc.onFCSubscribe. how can i do it? someone know about that?¿ the original site of the code is http://www.flashcomguru.com/index.cfm/2009/8/14/flvplayback-obtain-nc- reference
 
// listen to player events and kill manual connection once we're streaming    player.addEventListener("playing", playListener);    player.addEventListener("stateChange", stateListener);    player.addEventListener("ready", readyListener);       /* this is the hack: check once every frame if the NC has been defined inside the FLVPlayback component */       this.onEnterFrame = function() 

[Code]...

View 2 Replies

Media Server :: Will Not Have Access To Machine Locally?

Jul 14, 2010

1.How do I connect to the Admin Console through a static ip remotely as I will not have access to the machine locally?

2.I want to stream live audio and do audio on demand, how do I do this?3.How to I embed a music player in a webpage that can stream live audio or the audio on demand?

View 1 Replies

Media Server :: Access Flv Vidoes Inside FMS By Url?

Nov 9, 2010

[URL] that one day it can be played directly by html5's video tag:<video src="rtp://myserver.com/path/to/stream"> Your browser does not support the VIDEO tag and/or RTP streams.</video>Does FMS support this kind of url?

View 1 Replies

Media Server :: Cannot Access Admin Console On EC2?

Aug 8, 2011

We just installed our FMIS on Amazon services (EC2) and cannot log into the admin console. The server is running fine and we can resolve the web interface. Is there any configuration of ports or additional user accounts other than the install credentials (root/XXXXXXX).?

View 2 Replies

Media Server :: Remote Access For Streaming From FMS?

Oct 24, 2011

Ive been able to setup FMS 4.5 and stream RTMP videos locally from a webcam stream but if i try to access it remotely i cant get a connection. Ive forwarded port 1935 through to my local IP from my router but still no connection, what do i need to configure on the servers end to tell it that its behind an NAT etc. Do i just add the public ip to the hostname line in the fms.ini, or is there more i need to do too? Do i log into the admin panel and change the server name from localhost to my public IP

View 3 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 :: FMIS Images And Allowscript Access?

Dec 21, 2009

I have a very specific problem. I need to load certain images that my php script creates, and acts as proxy to some apis, into a Flash client (application) however I cannot use direct calls to HTTP server because I'm not allowed to use allowscriptaccess=true. So I've been using FMS for some aspects of my application such as live video and audio and SharedObjects.

I know I can write scripts to load and parse XML files on the server side so that shouldn't be a problem to get, however I'm stuck on loading in images going through FMIS.

When I test my video recording and chatting application using SharedObjects, everything works fine even if allowscriptaccess=false, but none of my images will load (naturally since the script access is limited). I know that some sites disallow scriptaccess parameter in Flash embed code so I would want everything to go through FMIS.

I have read some suggestions that I could try to load files directly from server-side on FMIS as binary and try to pass that to the client and let Flash generate the image with ByteArray but I wouldn't try to lose time if it's not possible or will stumble upon problems.

Does anyone have any ideas whether or not FMIS can serve images direclty through RTMP (which would save me some headache) beacuse I could load XML info from server-side and when I get the link to image use RTMP to load the image, but I'm unsure if this is possible at all.

View 2 Replies

Media Server :: Allowing Camera Access Programatically?

Feb 4, 2010

I want to publish camera over FMS. But I don't want to use adobe security panel to be displayed(not even once) with setting as "access" by default.I wan't to set it allowed programatically.

View 3 Replies

Media Server :: Run Fmsedge Process Without Root Access?

Feb 19, 2010

1937396On Linux, the fmsedge process needed to run without root access.

View 1 Replies

Media Server :: Can't Access Sub Folders In NAS Virtual Directory

Mar 30, 2010

I can stream files in the root of a NAS drive (/nas_dir), but not in any of the sub folders (/nas_dir/sub/). FMS has read/write permission to all the files on the NAS but all i get is "stream not found" when I access anything in the sub folders (streams play fine from the root of the NAS) FMS is running on rh5.4

View 1 Replies

Media Server :: 4 Interactive Restrict Access To Vod By Ip Range?

Sep 8, 2011

I have vod files that need to be restricted to only the IP range of the ISP service. The live streaming can be available to all, how do I restrict vod access in the FMS Interactive Server, is it in the following?Virtual host on Interactive Sever:
 
[URL]
 
Would I edit these files for that restriction, how do I put the IP range in format wise?
 
/opt/adobe/fms/applications/vod
allowedSWFdomains.txt
allowedHTMLdomains.txt
 
Would I add the IP range in this files for each virtual host, I have 3 of them?

/opt/adobe/fms/webroot/vod
 
I do not want to impact the ability to view live streams, it will need to remain open.

View 1 Replies

ActionScript 1/2 :: Instantiating A New Date Object Using The Values - Date Is Wrong ?

Dec 1, 2011

I am instantiating a new Date object using the below values.

var thisDate:Date = new Date(2011, 12, 2, 9, 30); But when I did a trace, I got

Mon Jan 2 09:30:00 GMT+0800 2012.Why is the date wrong?

View 2 Replies

Media Server :: User Information Logging / Extend Access.log

Oct 9, 2009

is it possible to extend the access.log file? I want to pass user information via the connect method to the application and want to include this data in the access.log file.

View 5 Replies

Media Server :: Appending User Information String Into Access.log?

Jul 27, 2010

I want to add some custom string into the FMS log file. If I am playing a video and I want to append some string every time when that video is played, which is in some way useful to me in analyzing FMS log, then is there anything provided or some function in which we can just pass the string as an input argument that appends it at appropriate place in the log file.

View 3 Replies

Media Server :: Install Fms 4 In Windows 7 And Access From A Webserver In Different Domain

Sep 1, 2011

I have installed fms 4 in windows 7 in my computer, but i cant get it work with a flex application that i have in a server. I added the port in my router's settings

[code]...

View 8 Replies

Media Server :: FMS 4.5.1 - Individual Flash Access Protection Settings

Mar 16, 2012

Any way to set up individual Flash Access protection settings for each of some <Location /{url-path}> tags in httpd.conf in the Apache. I have found in the documentation that EncryptionScope can be set to content or server. If I set it to server and use FlashAccessV2 as ProtectionScheme, how or where do I specify the Flash Access certifications and so on?

View 4 Replies







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