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

Similar Messages

  • 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

  • Problem with NetConnection in Adobe AIR(Flex) using Flash Media Server.

    Hi
    I am creating a small chat application using Flash Media server. I have already created all my user interface components in Flex(Adobe AIR).In this application rather than sending text messages user can also  send  file to another user in his friend list.
    problem what i am facing is, when i am sending file through FMS most of time it send successfully but for some files while sending  application loss netconnection.
    so i would like to know, rather than closing application what are other condition when FMS loses network connection?
    Any help would be appreciated .
    Thanks.

    Hi. It looks like your code is not finding the mp3. At least,
    I can reproduce your error code by removing the mp3 from the
    directory, or renaming it.
    Btw, if you test with FF instead of IE, you'd see the error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032:
    Stream Error.
    at KZFlash_fla::Sound_2/KZFlash_fla::frame1()
    Hope that helps.

  • A User Count in a Flash Media Server Application

    hello guys, first of all, sorry for my english...
    i am making a flash media server application and i want users to see that how many users are currently connected to this application...
    i have searched on google for 2 days and i couldnt find a good tutorial for AS3.
    i have looked at fmsguru and some other tutorial websites but those wasn't enough for me to succes...
    what i am trying to make is; a text area or dynamic text (i dont know which is most suitable for this purpose) which shows the numbers of connected user and i want it change immediately when a user connects or disconnects...
    i know there is an array as "application.clients" and i know i should use "application.clients.length" in "main.asc" file to find the number of connected users BUT i can't get this number to the text area or dynamic text in my "swf file".
    PLEASE help me by explaining a simple application which uses a "main.asc" file, an "action script" file and a "swf" file. and how to get the number of "application.clients.length", how to send (or call or get) it to the "action script" file, how to show this number in a text field or dynamic text...
    i will be very appreciated if someone explain in AS3 and make me success...
    thanks for reading...

    well here you don't even need the button just tell your textfield to update everytime the server calls after a connection or disconnection. Do you know how to write actionscript at all? Because you would be well advised not to attempt media server stuff unless you know how to do the basics. Maybe you could start out with some client only applications.
    import mx.controls.TextArea;
    import mx.controls.Button;
    import mx.utils.Delegate;
    class SimpleChat_call extends MovieClip {
    private var myTextArea:TextArea;
    private var myButton:Button;
    private var _nc:NetConnection;
    private var _chatSO:SharedObject;
    private function onLoad() {
    myButton.addEventListener("click", Delegate.create(this, onUserCount));
    public function connect( rtmpString:String) {
    _nc = new NetConnection();
    _nc.owner = this;
    _nc.onStatus = function ( info ) {
    if(info.code == "NetConnection.Connect.Success") {
    trace("connected successfully");
    this.owner.connectSO( this );
    _nc.receiveUsercount = function (count) {
    var myTextArea = this.owner.myTextArea;
    myTextArea.text = count;
    _nc.connect(rtmpString);
    private function connectSO( nc ) {
    _chatSO.connect( nc );
    you didn't even try what i suggested did you because it would have worked without changing the client

  • Flash Media Server for iPhone

    Hi,
    I am developing an app for iPhone/iPad. The client wants to show some realtime data in the app. Something like a chat application, where even if users don't do anything (flash uses no event), they can see what other users are doing in realtime.
    I went through adobe site to see Flash media Server for mobile device. But I am confused on which version of the server should suit the type of app I am developing.
    Thanks,
    Salim

    I'm more or less in the same boat. I've got the admin console
    up. I am able to run the vodtest application locally pointing the
    video file to rtmp://localhost/vod/sample.flv or using the server
    name instead of localhost as in rtmp://mclmedia/vod/sample.flv
    I can also load the html and swf file to my xp machine that
    has access to the server via our internal network. (DNS isn't
    configured yet) But the connectionFailed message appears when I try
    to call the videos using rtmp://mclmedia/vod/sample.flv

  • Slow connection to flash media server 2 (with HTTP Tunneling)

    Hello,
    I use a FMS2 for a big project which include Instant
    Messenger and
    streaming video.
    On my development platform. I have no problem. But in the
    final
    configuration, the connection to Flash Media Server takes a
    lot of
    time (about 2 or 3 minutes) and i can't find why.
    FMS2 was installed on Windows 2003 Server behind a proxy and
    a
    firewall which only let the hostport 80 oppened.
    The server does not run a web server (or anyother
    application) which
    use this hostport.
    The connection are established by HTTP Tunneling.
    Does someone already have the same problem?
    Thanks for your answers and sorry for my poor english level.
    Guillaume

    I forgot to mention:
    Flash Media server is running fine. I can log into the Admin
    application no probs.
    I created a folder called "test". Inside that folder I
    created another one called streams and inside that folder I created
    a folder called _definst_.
    I placed an flv file called: test.flv in to the _definst_
    folder.
    In Dreamweaver CS3 I inserted a Flash Video File:
    Chose Streaming as the option and for the RTMP path I put:
    rtmp://ipaddressofserver/test/_definst_/test.flv
    Called the stream....test.
    When i run the page it loads, but the page is blank.
    In the Flash Media Server, in the "View Applicationd" tab
    I get the record of test and underneath it in the same link
    it says test.flv with 1 client
    The Streams tab shows a random name and Netstream.
    This tells me its recognising the connection and link, but
    the movie is not on the page
    any help would be appreciated
    cheers

  • Flash Admin Console shows no applications on my Flash Media Server?

    Hi all,
    My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago.  Well, the videos have stopped working and I've been asked to troubleshoot.  I fired up the fms_adminConsole.swf and connected to my server.  Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console.  When I log in, there are no applications listed.  If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list.  If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_".  If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.
    Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see.  The app that streams the video that's having problems is there on the list.
    Is this typical behavior for the Flash Media Server Console?  Shouldn't I have a list of apps in the "View Applications" section of the console?  I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications".  Can anyone point out if I'm doing something wrong here or missing something?  Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.
    Thanks for any assistance!

    What you are seeing is correct behaviour. Until and unless applications are loaded or some clients are connected to them, they wont be shown under view applications tab by default. Try connecting to one of the applications you have and then you will see it automatically gets listed there.

  • Can't connect the Flash Media Server

    hi ,I am a jackaroo in Flash Media Server
    My OS is Windows XP ,I install the Flash Media Server in
    C:\programme files\
    using fms2_console.swf i can successfully connect to the
    server and manage it.
    I make a empty folder named 'test' in the application folder
    then i deploy it in cosole.
    next I write actionscript in flex to connect to the server.
    but it always return 'connection failed'
    in the server log ,it displays 'Sun 06:46:55 PM: Core (3964)
    socket migration failed.'
    I use netstat -a ,the port 1111,1935 ,11110,19350 are open.
    The code I writed looks like this
    NetConnection.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    public var net_con:NetConnection;
    net_con=new NetConnection();
    net_con.addEventListener(NetStatusEvent.NET_STATUS,connectionHandle);
    net_con.connect("rtmp:/test");
    private function connectionHandle(event:NetStatusEvent):void
    if((event.info.code=="NetConnection.Connect.Success")||net_con.connected==true)
    Alert.show("CONNECTION SUCC!!!");
    else
    Alert.show("CONNECTION FAILED!!!");
    I don't why it cann't connect to the server
    I googled it but find nothing helpful and I think you can
    help me .
    Very sorry for my bad english .

    I think there is no problem in this code.
    because In the documention flashmediaserver_developing.pdf
    It's write
    "Applications are run by creating application instances. When
    a client connects to an
    application, the client is actually connected to an
    application instance. For example, a client
    connects to an application named chat_app, as the following
    example shows:
    nc.connect(“rtmp://myDomain.com/chat_app”);"
    I also tried rtmp://127.0.0.1/test ,but same result

  • Flash media server stops accepting connection.

    We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.
    Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
    Does anybody have any idea why we are facing this problem?

    That's a pretty old version, have you thought of upgrading?
    There are a few reasons this could be happening. You could be reaching the limit for connections or bandwidth.
    There could be a problem in your server side coding that is stalling the app.
    There could be a problem with the service itself and it's maxing out on memory or CPU. I don't know why you are getting a white screen for anything, the management console has never been white for me and I suspect that it's more of a local computer problem unless it's the same computer you are running the service on..
    Any more information on the license, server hardware or environment?

  • 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.

  • 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

  • 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.

  • Whether Sophos Antivirus can stop taking connection by Flash media server?

    Hi
    Our flash media server  stops taking connection sometime. Any one have any idea about sophos antivirus?
    Please suggest what should we do.
    Thanks in advance.

    Thanks SE for the reply.
    But i got a message "Connection to the Server Failed. Please try to rejoin the call".
    We were not getting this problem before installation of anitvirus on our client machine. Now FMS gets down or we can say not accepting connection. Even at that time(server down condition) we can't enter into managment console of FMS. Sometime it start taking connection after one hour or two hour. 

  • OSMF handling connections on Flash Media Server

    How do I "kill" a connection on Flash Media server using OSMF?
    Can I just "stop" a video (i.e. _player.stop() ) or do I have to set the media to null?

    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.

Maybe you are looking for

  • Can not update iPhone APPs. Message that one APP no longer available.

    Hi, Last night I tried to update APPS in iTunes... showed 9 updates available. I tried to update them but at the beginning of the process I got a message that one of the APPs was no longer available ( didn't say which one) and the process stopped. No

  • Why is the fan on my MacBook Pro so loud?

    For the past week, my macbook has been really loud. About 2 weeks ago, I noticed it would start getting loud when I ran high-energy programs, or when I was downloading large files or streaming movies. It would start getting loud, would stay loud for

  • MRJ/Swing, I know the solution, can't find the answer!!!!

    Hi I am trying to use SWING on MRJ 2.2, I know this is a popular question and that the MRJ does not come with SWING and I need to install the standalone SWING libraries. Which is all well and good, until I try to find them! I have found JFC 1.1.1 whi

  • EMac Panther - Using external monitor, I want to shut off the main monitor.

    Hello guys and gals. I have an eMac with Panther. I'm using the VGA adapter so I can use a nice LCD TV as my screen. It works great and as you may know, it will only mirror the main screen (both screens show the same thing). What I want to do is shut

  • How to Change POs before to be sent to the supplier

    Hi gurus, My client needs in some cases make some changes manually in the PO (before the PO is sent to the supplier). All PO comes from SC initially, where is the WF. However, there are some functionalities that only the PO has, for instance, schedul