Connecting a db from flash media server 2

how can i connect a DB (i assume using a server sdside script
like php and
so on)
from flash media server so that i can get data and make
diffrent operatins
on users like blocking and so on
thnaks in advance
peleg

Your can use loadVars (just like in client side AS), or you
can use AMFPHP. You'll find some relevant AMFPHP/FMS examples at
flash-db.com

Similar Messages

  • How to get list of logged-in users from Flash Media Server in a Flash programm? (Or login/logout notifications)

    Hi there,
    I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
    Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
    Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
    How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
    Thank you so much. And I hope you understand my situation asking here...
    Jana

    hparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
    Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..?

  • Audio not streaming correctly from Flash Media Server

    Our company has a Flex application (3.0.2) that is having a problem with audio dropping out in Windows 7.  The problem appears worse with a wireless connection, but it can’t be consistently reproduced there, either.  The only thing known for sure is that the problem has not been seen on any other version of Windows.
    The application thinks the audio is playing, because it is calling the appropriate event listeners triggered when the audio completes and when any audio cue points are hit.  The majority of our audio is streaming via Flash Media Server (3,0,2,201), but the problem was also seen using embedded sound effects.  In one instance, several clicks of a button triggered an error saying the sound effect could not be loaded, and then about a minute later, all the sound effects played at once and the user could then continue with the application.
    The problem has been repeated in IE 8, Firefox 3 and Chrome.

    Thanks for your details. But i need more info.
    Server:
    FMS      3.0.2 ?
    FMS installed in which platform Linux/windows? more details about it.
    Client:
    IE          7
    Flash Player version     ?
    WIndows 7
    Wireless connection - Was the client placed in poor bandwidth.
    Can you get the NetStream status info when u play the audio file.? We can check for the rebuffering happening at the client side.
    Can you run your audio file through flvCheck Tool to check if the media file is in good form. It is available at "\$Root|Flash Media Server\tools\flvcheck.exe"
    Now our intention should be to check the same media file with simpler application (since your production app is complicated) to ensure that the media streaming over 'client to server' is working fine.
    Regards,
    Janaki L

  • Streaming from Flash Media Server into Captivate

    Hi
    We're fortunate to have a Flash Media Server (4) which we use to distribute video over our local network using Flash CS5 and have encountered no problems. However, when I try to use it for Captivate 5 files I've had no success (same with 4 incidentally). I've tried just about every string I can think of with no ext., with the ext, f4v's, flv's, /mp4:, different folders/ no folders (vod) etc etc. There must be something fundamentally wrong with what I'm doing but for the life of me I can't think what. The Media server currently delivers video over our Intranet and we also use it for Adobe Connect. Any help in this matter will be appreciated.
    My string is rtmp://breezefms2/vod/<nameofvideo> (no ext.)

    Hi Crozzer,
    We have published a blog post detailing the formats to be used for streaming video.
    I would suggest you to have a look at the blog post : http://blogs.adobe.com/captivate/2011/03/workaround-for-video-streaming-issues-in-captivat e.html and try out the streaming formats mentioned.
    Please incorporate the URI changes mentioned in the blog post and let us know if streaming video works for you.
    Thanks
    Ashwin Bharghav B
    Adobe Captivate Team

  • Connect iPhone application to flash media server ?

    Hi All,
    I Have a flash player application embedded with a website working fine. Now I want to do it in iPhone, fore that i want to send request to flash server. The responses from server are realtime and used RTMP. How can I send request to Flash server from my iPhone application.
    Thanks in Advance
    Mohammad Sharique

    I am assuming that you are using iAS on an NT box. If so, you will need to:
    - install DB2 Connect Enterprise Edition on the box running iAS
    - use the "Control Center" app to configure DB2 Connect to see the remote
    DB2 database (i.e. give it a local name).
    Once this is set up, you use the DB2 JDBC driver to connect to the local
    name of the database.
    That's why you don't need a hostname or ipaddress in the JDBC url.
    A couple of points:
    - Configuring DB2 Connect to see the remote database is hard, especially if
    the remote database is actually hosted by DB2/390.
    - DB2 Connect EE is not a lightweight package. It makes the Oracle client
    install look small and simple.
    Jonathan Esterhazy
    "Krisztian Maraczi" <[email protected]> wrote in message
    news:9o72e3$[email protected]..
    Hello,
    I have my application and my iPlanet Application Server SP3 testdrive
    edition on
    PC1, and I have a DB2 database /and the server of course/ - which I wantto
    reach - on PC2.
    I use DB2_CLI driver. Where I have to write or sign that my database is pn
    PC2?
    I do not know because when I use DB2_CLI, I do not use database url.
    Thank you
    Krisztian

  • How to edit F4V from Flash Media Server?

    I'm using FMS 4.5 to record a live stream from a webcam. Because of the poor quality when also recording audio on the same stream, I have to use two. So, I end up with two .f4v files - one with the video, and one with the audio. I need to then combine them into a proper video. However I cannot import these files into Premiere - which is quite goofy. Anyone know how to manage this?

    Well, there is definitely something weird with the file.  I couldn't find what, though.
    What worked was converting to MP4 using the following:
    http://www.videohelp.com/tools/XviD4PSP

  • Asynchronous NetStream / Flash Media Server

    Hello,
    this is my first experience with audio streaming and I am also fairly new to FMS. I am very grateful for any help
    In my application two or more people can talk to each other (for example like in Skype). I use NetStream objects for it, that means for x users = x netStream objects for each user (1 for publishing the own stream to Flash Media Server, x - 1 for playing the other users' streams from Flash Media Server).
    SOMETIMES they suddenly become asynchronous. That means: suddenly it takes some time (for example: 5 seconds) until a stream reaches a user (like in a bad mobile phone connection), so that they have to "wait" for each other.
    What are the reasons for that? I am sure it has something to do with the bandwidth? And: what can I do about it?
    Thank you very much in advance!
    Kind regards,
    Mike

    Hi kanr ,
    I tried this code on my FMS 4.0 server.
    application.onAppStart = function() {
    var entry = new LoadVars();
    entry.SessionID="fffd9f3d-4712-4fd4-b6bb-c56ea9a30fba";
    entry.filename="test.flv";
    entry.type="video/x-flv";
    var resp = new LoadVars();
    resp.onData = function(data) {
      trace("onData" );
    resp.onHTTPStatus = function(status) {
      trace("status: "+status);
    entry.sendAndLoad("http://localhost:8134/cgi-bin/test.pl",resp,"POST");
    I do get the HTTP Status as expected i.e 200 in onHTTPStatus. Are you trying something different from this that is not working. If required, you can provide me more details on [email protected]
    Thanks,
    Abhishek

  • Trying to buffer on Flash Media Server

    Hi all, I am very embasarred about this as I should really have studied more but I am having massive difficulty in getting my videos to buffer from Flash Media Server 3.5. The videos are on the web and streaming fine so really I just need to put some actionscript in to make them work... sounds easy. Also, I come across an article by Fabio Sonatti which seems to offer the solution I need. He states the following script.
    function initConnection() {
       // Create a NetConnection
       nc = new NetConnection();
       // Define onStatus event handler
       nc.onStatus = function(info) {
       trace("Level: "+info.level+" Code: "+info.code);
       // Initialize the stream after the connection is successful
       if (info.code == "NetConnection.Connect.Success") {
          trace("--- connected to: " + this.uri);
          startStream(); //Inizialize the stream
       // try to connect, to be changed with your app path
       nc.connect("rtmp://127.0.0.1/dualBuffering/demo");
    function startStream() {
       //Define stream and buffers parameters
        stream_name="test_stream";  //your stream
        startBufferLength=2; //keep this in the range 2-4+
        expandedBufferLength=15;  //arbitrarily high
       // create a netstream
       ns = new NetStream(nc);
       // Define onStatus event handler
       ns.onStatus = function(infoObject:Object) {
          if (infoObject["code"]=="NetStream.Buffer.Full"){
          ns.setBufferTime(expandedBufferLength);
          trace("set expanded buffer");
          if (infoObject["code"]=="NetStream.Buffer.Empty"){
          ns.setBufferTime(startBufferLength);
          trace("set start buffer");
       // attach the NetStream to a video object
       // change from videoObj to your istance name if needed
       videoObj.attachVideo(ns);
       ns.setBufferTime(startBufferLength);
       ns.play(stream_name, 0);
    initConnection();
    stop();
    Now, please appreciate that I know very lkittle about ActionScript but I do know to change the path "rtmp etc etc" to the location of my video on the FMS, so thats fine. However this is where I have a problem I am afraid. I am 100% sure that I need to replace some other items within the code to make it work (as I get errors when I test the video in Flash) but I am afraid and embarassed that I have no idea which items to change. I know the code is perfect but I dont know what a NetStream is and this I think is letting me down.
    I apologise in advance for being an idiot but I am just desperate to get these videos buffering, I know this is the codfe to do it but I need someone to just talk to me in dead simpl;e terms to put me in the right direction. Can anyone help ? : Many thanks : Dom  

    MediaPlayer.stop() will only stop playback of the stream, but not close the connection.
    If you set MediaPlayer.media to null, then it will close the connection.

  • Flash Media Server 4.5 unable to start setup on OS X 10.7

    When I downloaded a developer edition from Flash Media Server page (11 Oct 2011). I tried to follow the setup instruction in readme.htm which comes in the zip of Linux version.
    I logged in to terminal as root user and call './installFMS' and then the terminal show me:
    ERROR: Your operating system is not supported by the
           Adobe Flash Media Server installer.
    Does it mean Flash Media Server Developer Edition cannot work on OS X Lion (10.7)?

    Hi,
    No, that platform is not supported, for any of the FMS versions.

  • I can't connect to Flash Media Server 5 on UBUNTU

    Hello everyone,
    I install Flash Media Server 5 Extended edition with apache on UBUNTU SERVER 14.04 successfully.
    Now when I type IP address in the other computer in the same network I can login to the Flash Media Server console but when I want to publish video from webcam or other devices to the media server I get the error "NetConnection.Connect.Failed"
    I am newer in Linux please advise me to solve this problem.
    Thanks in advance.

    Hello,
    You are using the default discovery service : multicasting
    Check if the multicasting is working on your system
    http://radio.weblogs.com/0132383/stories/2004/05/21/mutlicastChecker.html
    Else, you can switch to the other "Discovery service" : namingservice
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#CHDDDFEI
    3.3 Configuring the Reports Server Discovery Mechanism
    Regards

  • FLEX 2.0 and Flash Media Server 2.0 Unable to stream from client to server

    Hi All,
    I have been trying to put together a quick demo to stream
    and record audio from Client to Server. I get this error when
    trying to connect to FMS.
    ArgumentError: Error #2126: NetConnection object must be
    connected.
    at flash.net::NetStream/flash.net:NetStream::construct()
    at flash.net::NetStream$iinit()
    at Audio/toggle()
    at Audio/__submit_click()
    my Program fails at this line - ns = new NetStream(nc);
    Your help is greatly appreciated. Here is the MXML file
    Audio.mxml
    This file contains a simple start and stop button start and
    stop audio processing.
    This page is served from Apache Tomcat on host : demoserver1
    and port 8080
    Flash media server is also installed on the same host
    demoserver1.
    I did not do any additional config at FMS except creating an
    application called "DemoApp". All other settings are defaults.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="startup()">
    <mx:Script>
    <![CDATA[
    import flash.net.NetConnection;
    import flash.net.NetStream;
    public var started:Boolean = false;
    public var nc:NetConnection;
    public var ns:NetStream;
    public var mp:Microphone;
    public function startup():void{
    lblMessage.text="Stopped";
    public function toggle():void{
    if (started==false){
    submit.label="Stop";
    started=true;
    lblMessage.text="Started";
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
    nc.connect("rtmp://demoserver1/DemoApp");
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    mp = Microphone.getMicrophone(0);
    ns.attachAudio(mp);
    ns.publish("sample1", "record");
    else{
    started=false;
    submit.label="Start";
    lblMessage.text="Stopped";
    ns.close();
    nc.close();
    private function netStatusHandler(event:NetStatusEvent):void
    switch (event.info.code) {
    case "NetConnection.Connect.Success":
    trace(" connection success : " );
    break;
    case "NetStream.Play.StreamNotFound":
    trace("Stream not found: " );
    break;
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    ]]>
    </mx:Script>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400"
    height="300">
    <mx:HBox left="19" right="0" height="100" top="30">
    <mx:Label text="Label" id="lblMessage" width="150"/>
    <mx:Button label="Start" click="toggle()" id="submit"/>
    </mx:HBox>
    </mx:Canvas>
    </mx:Application>

    Hi,
    Are you trying to make an air app or a web application (flash) for streaming? You may want to check out the osmf framework to help you write a player for mobile platform. Check out http://www.opensourcemediaframework.com/ for more info on how you can write streaming video players using this framework. There are some good tutorials there and also you may post on the forum to get your specific queries solved.
    Thanks,
    Abhishek

  • FMLE not connecting to Flash Media Server

    I have two laptops with windows 7 and FMLE 3.2 and FMS 4.5 in them. Laptop A is working perfectly with the default settings but i cannot connect to FMS with laptop B. I have tried turning windows firewall off, setting fmscore, fmscore and fmsmaster to run under administrator privileges.
    The FMS starts correctly on laptop B (i compared the log-files on laptop a and b) and here is edge.00.log from laptop B (i censored my ip and host):
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:37:37          3432          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-09          12:37:37          3432          (i)2581173          Host: myhost IPv4: myip      -
    2012-08-09          12:37:37          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 1935/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 80/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot__edge1 are: myip:19350          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:80 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:80 (rtmfp)/v4          -
    When i hit Connect button in FMLE i get the "Cannot connect to primary server" - error. When i change the FMS-Url to the ip-address of my laptop A i can connect to its FMS. The default FMS Url is rtmp://localhost/live and  Stream: "mystream@38220" (this is working in laptop A).
    I downloaded TCPView and compared whats happening with the laptops when i hit the Connect button. On laptop B FMLE sends bytes to FMSEdge and it responds with 1 byte and then nothing happens. On laptop A same thing happens but it opens up FMSCore and the stream starts going live.
    Apparently the FMS had worked on laptop B before but then it stopped working due to reasons unknown. I tried reinstalling it with no results and now im clueless. I also tried the fmscheck and it said it cannot connect to FMS. It seems the FMSEdge is not behaving correctly or something is blocking the traffic between the programs. Please help.

    Access log looks like this:
    #Date: 2012-08-09
    #Fields: x-event          x-category          date          time          tz          x-ctx          s-ip          x-pid          x-cpu-load          x-mem-load          x-adaptor          x-vhost          x-app          x-appinst          x-duration          x-status          c-ip          c-proto          c-proto-ver          s-uri          cs-uri-stem          cs-uri-query          c-referrer          c-user-agent          c-client-id          cs-bytes          sc-bytes          c-connect-type          x-sname          x-sname-query          x-suri-query          x-suri-stem          x-suri          x-file-name          x-file-ext          x-file-size          x-file-length          x-spos          c-spos          cs-stream-bytes          sc-stream-bytes          x-service-name          x-sc-qos-bytes          x-comment          x-eid          x-sid          x-trans-sname          x-trans-sname-query          x-trans-file-ext          x-trans-mode          x-soffset          x-codec-type          x-codec          x-plugin          x-page-url          x-smax-rec-size          x-smax-rec-duration          x-forwarded-for
    server-start          server          2012-08-09          12:35:42          FLE Daylight Time          -          192.194.211.110          7492          0          48          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -
    Then there is the master log:
    #Date: 2012-08-14
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-14          13:30:12          3216          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-14          13:30:12          3216          (i)2581173          Host: Tatu-PC IPv4: 192.194.211.110          -
    2012-08-14          13:30:12          3216          (i)2571011          Server starting...          -
    2012-08-14          13:30:12          3216          (i)2581224          Edge (2992) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".          -
    2012-08-14          13:30:12          3216          (i)2571111          Server started (C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).          -
    And the core log
    #Version: 1.0
    #Start-Date: 2012-08-09 09:35:26
    #Software: Adobe Flash Media Server 4.5.0 r297 x86
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          09:35:26          5380          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:27          1340          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:36          7848          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:35:43          7492          (e)2571122          Server aborted.          -
    I tried connecting to localhost:1935 with telnet and typing something and then watching what happens in TCPView. It says that the fmsedge process listening to port 1935 establishes the connection and receives the bytes, though it closes it after few seconds probably because it doesnt understand what data i sent. And when FMLE sends 1537 bytes to fmsedge it receives them but nothing happens.

  • Playing video from a flash media server

    Can anyone point me to code to play streaming video from a Flash Media Server in Flex?

    Can you tell me how are you concluding that you are skipping few seconds when you set higher bufferTime - is it on visual inspection or say based on status messages.

  • Number of connection allowed in the free developer ediiton of Flash Media Server

    Hi
    I would like to know the number of connection allowed in the free developer ediiton of Flash Media Server
    Regards
    Sunny

    Hi,
    When we say we limit the number of connections to 10 in Flash Media Development Server, we mean that we allow 10 successful connections and reject 11th connection onwards. So at anypoint of time your server can have only 10 active connections. When there are 10 active connections and a 11th client tries to connect to the server, the connection is rejected with reason "NetConnection.Connect.Rejected - [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_) : Max connections allowed exceeds license limit. " and these details are logged at the server side core.log too
    Regards,
    Janaki L

  • Flash Media Server 3 and Adobe Connect 6.0 SP2

    Hi all, I have a doubt.
    It's possible to run Adobe Connect Server 6.0 SP2 and Flash
    Media Server 3 in the same machine?
    Thnx.

    Adobe Connect server includes its own flash media server. in
    that case;
    There can be some conflicts for port/service registration
    etc.

Maybe you are looking for

  • HP LaserJet Pro m201dw suddenly not printing via ethernet (wired) network using Mac OS 10.10.1

    Hi, My brand-new HP LaserJet Pro M201dw is suddenly not cooperating when I go to print using my Mac. I had it set up following the directions which closest matched my OS and it worked perfectly for one week; today suddenly it won't cooperate. The pri

  • Is there a Service Book entry specific to "Contacts"?

    Curious. There's CICAL, for Calendar, but wondering if there's one for Contacts. If not, which would be the best SB entry to delete/undete to try and resolve contact sync issues?

  • SQL Date Issue...

    Hi, I am trying to enter values into the db. The data type for the column is "datetime". I have the value in the format "2008-10-03 07:50:10.0" and if i do this, i am just left with the date. Time gets truncated. java.util.Date uploadDate = photo.get

  • BRM: What is the use of Role Mapping???

    Hi All, This seems to be very stupid query. However, I am stuck with this simple understanding. In BRM document located in SCN, it says that: a.  Role mapping allows related roles mapped to a Single Role b.  These roles are provisioned when the Singl

  • Multispeaker Surround with SB Live Plati

    Hello, I have following configuration: SB Li've Platinum DTT3500 Digital Win XP Prof I have change the operating system from win 98 to win xp pro. After this I've install following driver: 5.2.2.252 date 24.07.2002. Now I can't choose the multispeake