Video Live-Stream issue

Hi,
I'm not very familiar with jmf but i got it to play a local video file.
my problem is now to play a livestream, when i try to create the player it seems that the player waits until it got all data.
so the programm runs and it never comes to an end
the streaming server recognize it as a listener so it seems to get the data but will only play it when transfer is complete
any idea how i can play the stream?
try{
            MediaLocator ml = new MediaLocator("http://127.0.0.1/stream");
            DataSource  src = Manager.createDataSource(ml);
            src.connect();
            src.start();
}catch (Exception e){
mediaPlayer = Manager.createRealizedPlayer(src);

shrug I've never used the conveniance function createRealizedPlayer, I've always done it manually. With that said, I'm pretty sure that Player objects handle the connecting/opening of their DataSource themself.
Just positing a guess here, but I'd imagine that you cannot realize a player with an open DataSource...and as createRealizedPlayer is a blocking call, it just blocks until the DataSource stops sending data (and then it realizes and can play the DS by opening it itself). In the case of a live stream, it probably never realizes.
Replace your code with the following:
MediaLocator ml = new MediaLocator("http://127.0.0.1/stream");
try {
    mediaPlayer = Manager.createRealizedPlayer(ml);
catch (NoPlayerException e) {
    System.err.println("Player could not be created : "+e);
catch(CannotRealizeException e) {
    System.err.println("Player could not be realized: "+e);
catch(IOException e) {
    System.err.println("Could not connect Player to data source: "+e);

Similar Messages

  • We reset the system and now I cannot watch video/live stream. What setting to I need to change?

    I cannot download any programs to allow access to video/live stream TV. What settings do I need to change?

    Welcome to Apple Communities
    Uninstall > http://fpdownload.macromedia.com/get/flashplayer/current/support/uninstall_flash _player_osx.dmg Finally, install Flash > http://get.adobe.com/flashplayer/otherversions

  • Live Stream Issues with FP 11.2

    We're seeing lots of bugs within the NetStream when connecting live streams and publishing/playing the stream via direct peer connections.
    Specifically when attaching a new Camera the receiving peer can no longer see the video stream. Also when toggling publish(bull) publish(streamName) from the publisher side and similarly toggling play(null) and play(streamName) from the subscriber side the streams don't play (render video) anymore even though i can see through the netwrok that the bytes are coming through.
    Along with this we seem to be getting new kinds of NetStatus errors ever since we started testing - "NetConnection.Call.BadVersion" was one we've seen but can't make any sense out of given we're using DIRECT peer to peer connections for the netstream classes.
    Lastly on general we're seeing lots of instability issues with on the h264settings applied to the nestream is this still in BETA? Instibility = crashing browser mostly when showing multiple video such as in a group video chat.
    Are any of you seeing this as well?

    Hi Damorgan,
    As you suggested, I did fresh 11.2.0.2 installation and find the mentioned components are valid from v$registry.
    Only desupported component is UltraSearch that I was asked to remove during upgrade and I did so.
    COMP_NAME VERSION STATUS
    OLAP Catalog 11.2.0.2.0 VALID
    Spatia 11.2.0.2.0 VALID
    OLAP Analytic Workspace 11.2.0.2.0 VALID
    Also the metalink note: ID 270588.1 indicates that mentioned components exists for 11gR2.
    DBUA was asking to install these component prior upgrading. My first note has that DBUA instruction.
    Is there any way to select mentioned components with "software only" installation prior upgrading?
    Thanks.

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome
    And other browsers.
    Not sure which way to go with this.
    Any ideas would be much appreciated.

    I went to a Verizon store (agent) yesterday after work and tried the S4. They didn't have a live S5, and it did play the sites I normally use. The iPhone was able to live stream it also. I think its the Razor Max that's missing whatever it needs to play those videos.... plug ins, etc....
    Its mind boggling with all these phones out there.
    Anyway, thanks for your input, Suzy.

  • Capture image from video live streaming

    Hi everyone ^^ 
    I have a question in my attached vi, I am able to have a live streaming video from my build in PC camera and take a pic from it too, the problem is it runs perfectly for the first time but the mint I press the button the image froze >< , I can not have my video back even when the case structure is fasle. Hope someone can help me with that 
    thanks a lot ^^ 
    Solved!
    Go to Solution.
    Attachments:
    Image Aquairing 2.vi ‏53 KB

    Hi ReChan,
    -IMAQ Snap Configures, starts, acquires, and unconfigures a snap acquisition.
    -For IMAQ Grab you're configuring initally. So, whenever you click boolean-imaq snap captures image and unconfigures the IMAQ session.
    -When you try to grab again, it will throw an error because IMAQ session isn't configured.
    -The mechanical action of boolean you kept as switch when pressed-it'll stay high-which results asking user for saving an image. instead i changed it to latch.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    Image Aquairing 2.vi ‏53 KB

  • CNN live stream issue

    I cannot seem to get past the "Install Octoshape Grid" box on the CNN live stream.  The yes/no buttons do not respond to clicks.
    I have used tricks in other threads to deselect hardware acceleration, with no improvement.  tried safari, FF, and chrome.
    Thoughts?
    Oh, and I'm running an up-to-date OS X Lion & flash & flip-for-mac on a 2007 MBP

    And after a but more digging, if you use the tab key, each option in the dialog box can be selected and executed by pushing the space bar.
    The dialog closes and the flash player works great!
    Hope this helps others facing this issues until Adobe gets it fixed.

  • N97 video live streaming

    Hi,
    I have a N97 thing, and the point of my interest is: Is it possible to remote connect N97 to my home security cameras ? I am able to connect via loptop by means of web browser (IE) , PS3 but not with N97 origin browser neither opera one . plz help
    Solved!
    Go to Solution.

    Does this camera webpage you view on computers use a Flash Video player?
    If so then there will be issues displaying Flash contect as phones use Flash lite, not full Flash like you get on PC's, this is why you have a dedicated Youtube app.  This should hopefully be changing soon from what I have read from the Adobe news site
    Maybe contact the manufacture of the cameras/web page to see if they are going to develop anything for mobiles/Symbian o/s

  • How to handle latency due Audio/Video live streams.

    Hi everybody reading this,
    I am using fms3.5 and the scenario that i wish to solve is that:
    1) From a flex application client I start publishing a video at x bytes per second.
    2) At the receiver's end, I start getting the video very fine at receiver, with Server to client value around x bytes per seconds (almost).
    3) But as soon as the bandwidth of the receiver dips down, due to slow net connection, then the receiver is unable to take x bytes per second. Hence at the receiver's end,      the server to client value also falls down considerably. and receiver faces latency.
    4) While the receiver is facing latency, the publisher continues to flood the receiver with the x bytes per second data.
    5) The data starts accumulating in some queue over the server.
    6) Now, when the receiver gets its bandwidth back high in some time, suddenly the fms server sends all of the accumulated data to the receiver and it can be seen as an enormous increase in Server to client value towards the receiver.
    Please help me for the following problems:
    1) Can i keep on flushing/removing the accumulated a/v data, so that a user that is already facing latency must not be further flooded? if possible then how?
    2) What is the best way to eradicate latency? Any good alternative so that if people are on a low connection they should not face latency?
    Please help.
    Regards and Thanks,
    Sahil.

    You can use NetStreamInfo class , check you documentation of same here : http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo .html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2

  • Live Flash Streams issue on Multiple Macs - video frozen, audio only

    With live Flash streams on some Macs, the video doesn't play and only the audio does (or more accurately, the video plays for a second or so and then shows a frozen frame while the audio keeps going).  We've had this occur on three different Macs so far, but not all Macs we've tested on.  We were able to look up the graphics cards on two of them that had issues and they both have both NVIDIA GeForce 9400M and 9600M GT listed in the System Profiler.
    Having the user manually disable hardware acceleration fixes the issue, as does pausing and then playing the video.  Running Safari in 32 bit mode did NOT fix the issue.
    Flash player release notes list this as a known issue.  When might a patch for be released?  We don't want to disable hardware acceleration for all Mac users because it only affects some of them and thus some / many would be unnecessarily negatively impacted.
    http://kb2.adobe.com/cps/901/cpsid_90194.html#main_known%20issues
    Mac users may run into rendering issues with certain live streams due to  an incompatibility between the stream encoding and the hardware  decoder. We are aware of this issue and are working with Apple to  resolve it.  Users may workaround the issue by pausing and then  unpausing the live stream.  Developers can work around this issue by  forcing the video to be decoded in software - create two Video objects,  attach the stream to the first, then stop it and attach the stream to  the second Video object (2819870, 2818959, 2779420).

    From Brad Outlaw:
    Are you reusing the same Video object for the new NetStreams?  Have you tried doing a Video.attachNetStream(null), Video.clear() and then attaching the new (or re-allocated) NetStream object?  The video pipeline might be playing out some residual data that was sent to it from the prior NetStream.
    Adding those suggestions seems have have done the trick. I had simply been trying to manipulate the NetStream and not the Video. Although I did try attaching a null NetStream to the video at one point, I had not done so with the Video.clear().

  • Live streaming video issues

    I look after a little old ladies PC in Australia from Canada.  She used to watch live video from a webcam in Canada looking at the snow & ice but now with a new HP PC she can't view the live feed... or to be more precise she can view it but the site won't load properly and displays a still image. 
    If the browser is refreshed the image updates but is a still image.
    We can see the time-stamp so we know there is a snapshot of the video being taken but it won't update with the live feed.
    I did read other posts about similar issues but can't seem to find an answer. 
    I have updated her Windows media player, uninstalled then re-installed both Flash & Shockwave to the latest versions but still the video won't play properly.
    She can watch other live streaming videos but there just seems to be an issue with this one in particular.
    I have tried the same webcam feed from other PCs in Canada and the UK with no issues. 
    She has an HP610-1010a Touchsmart with ATI Radeo HD5570 graphic card installed.
    Can anyone suggest something else I may be overlooking...?
    Thanks
    Malcolm
    This question was solved.
    View Solution.

    Hi,
    I tested on 5 machines: 1 HP laptop, 2 Dell laptops, 1 Apple and 1 Surface. I think we NEED NBN, my connection speed is not very fast but still reasonable but the machines took ages to just go to the first one. The second one was a bit faster but ONLY refresh frame when hit F5.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • No audio on some App like tennistv the have live stream video, I used to hear the audio, they told me is an iPad issue, also trayed RolandGarros App no audio

    I have several Tennis App like TENNISTV, US OPEN, ROLANDGARROS and last month I noticed that I have no sound on the video (this is live streaming) games if I do log in on my PC there is video and audio playing, I did contact them, the 1st suggestion was to delete the app and reinstalled, I did not worked still no sound at all, they told me to contact Apple

    Have you got notifications muted ? Only notifications (including games) get muted, so the Music/iPod and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • Issues while watching content after live streaming operation

    Hi,
    1)We have performed a live streaming of an event using Azure Media Services , we streamed the entire event 
    which was of about 5-6 hrs duration . But at the end we came to know that it has streamed only last  1 hour of 
    entire event.
    Can you let me know what might be the issue?
    2)We performed a live streaming of an event in 2 parts using azure media services. After 2 hours we stopped the streaming of 1st part and deleted the channel for 1st part and we started streaming of another part by creating another channel . We are unable to
    view the 1st part through content url while we are able to view the 2nd part through content url?
    Can you let me know what might be the issue?
    Thanks,
    Pushkar

    The fan is speeding up to cool the GPU. The GPU (graphic's chip) heats up because video's and game's work the GPU much harder than normal desktop activities.
    When was the last time you checked and cleaned the air intake grill on the bottom of your iMac?
    I shutdown (stopping the fans), disconnect the power and vigorously vacuum out the bottom grill work on my Mac's a couple of times a year to keep them running cool.

  • AIR SDK 16 (and 15): live stream video pauses when from non-iOS to iOS

    Using either sdk 15 or 16, when live streaming video through media server, if I go from iOS to iOS devices, no issue. If I go from non-iOS device to iOS device, the non-iOS device receives the video and audio fine from the iOS device, but on the iOS device the video it receives freezes (almost from the start, after a couple of frames, then long, long pause of freeze - minutes long - then a few more frames, then freezing, etc.) - the audio is fine, it appears to be just the video. I have tested this with android to android (fine), android to desktop (fine), iOS to iOS (fine), android to iOS (freezing video only on iOS side), iOS to desktop (freezing only on iOS side).

    VideoTexture is a HUGE improvement for video on Windows and iOS. I am testing on Windows 8 and iPhone 6, but VideoTexture is still in beta and will take a few more months to get the kinks worked out. It is working for me on iOS sometimes, and whenever it works the pixels have a transparency applied to them. I have logged that pixel transparency bug here:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3936111
    Also you will notice that Adobe has mentioned the following in the known issues section:
    [Air Desktop] [Video Texture] Video is not playing if texture is used as ConcreteTexture of starling.(3949908)
         (Release Notes | Flash Player® 17 AIR® 17)
    On iOS the VideoTexture seems to work for MP4s loaded directly from the file system, but RTMP is not ready yet. But when it is ready, I suggest that you adopt it immediately since VideoTexture is where Adobe is focusing it's video efforts.

  • HLS Live Streaming / LivePkgr issues

    Greetings!
    We just began using AMS for live streaming with HLS and we encouter some serious issues. Our first commercial live event is scheduled to next Wednesday and we cannot afford to lose our customer so your help is greatly appreciated.
    We have two issues which are probably related :
    When we start streaming all goes well for the first couple minutes but passed that point the stream gets less fluid. In the video player you can see a pause - dropped frames? - then the stream resumes fines. Then after say 30 seconds another pause and so on. If we stream for long enough the player finally goes black and the stream cannot be resumed.
    We experience some random AMS service shutdown every other day or so. The server just stops streaming for an unkown reason. Please have a look at our edge log below. Looks like we have some recuring "bind failed" errors but I have no idea if they are related.
    Again your help is greatly appreciated. On a side note we would be happy to purchase per-incident support from Adobe to solve the issue asap but it looks it's not available anymore. Anybody from the staff feel free to PM me about it.
    Link : http://www.webtv.coop/group/Test-WebTV/f9b9c899885569fa901a787fcdb08568
    User : test
    Pass : test
    Thanks a bunch,
    Ph.
    edge.00.log
    #Version: 1.0
    #Start-Date: 2014-07-25 00:02:45
    #Software: Adobe Media Server 5.0.3 r3029 x64
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    00:02:40        28648   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-07-25    00:02:40        28648   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-07-25    00:02:40        28648   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!.   -
    2014-07-25    00:02:40        28648   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.        -
    2014-07-25    00:02:40        28648   (e)2631114    Failed to start listeners for adaptor backup_defaultRoot__edge1.        -
    2014-07-25    00:02:40        28648   (e)2791225    Failed to start edge : backup_defaultRoot__edge1        -
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    00:04:50        28847   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-07-25    00:04:50        28847   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-07-25    00:04:50        28847   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!.   -
    2014-07-25    00:04:50        28847   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.        -
    2014-07-25    00:04:50        28847   (e)2631114    Failed to start listeners for adaptor backup_defaultRoot__edge1.        -
    2014-07-25    00:04:50        28847   (e)2791225    Failed to start edge : backup_defaultRoot__edge1        -
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    00:07:00        29817   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-07-25    00:07:00        29817   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-07-25    00:07:00        29817   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!.   -
    2014-07-25    00:07:00        29817   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.        -
    2014-07-25    00:07:00        29817   (e)2631114    Failed to start listeners for adaptor backup_defaultRoot__edge1.        -
    2014-07-25    00:07:00        29817   (e)2791225    Failed to start edge : backup_defaultRoot__edge1        -
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    00:09:10        30014   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-07-25    00:09:10        30014   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-07-25    00:09:10        30014   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!.   -
    2014-07-25    00:09:10        30014   (e)2631013    Failed to create listener for adaptor backup_defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.        -
    2014-07-25    00:09:10        30014   (e)2631114    Failed to start listeners for adaptor backup_defaultRoot__edge1.        -
    2014-07-25    00:09:10        30014   (e)2791225    Failed to start edge : backup_defaultRoot__edge1
    core.00.log
    #Version: 1.0
    #Start-Date: 2014-07-25 09:56:08
    #Software: Adobe Media Server 5.0.3 r3029 x64
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    09:56:08        18327   (w)2581173    /opt/adobe/ams/applications/livepkgr/events/_definst_/canal91event/Event.xml does not exist or is invalid.    -
    master.00.log
    #Version: 1.0
    #Start-Date: 2014-07-25 00:00:33
    #Software: Adobe Media Server 5.0.3 r3029 x64
    #Date: 2014-07-25
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-07-25    00:00:30        17555   (i)2581226    Edge (28097) is no longer active.    -
    2014-07-25    00:00:30        17555   (w)2581255    Edge (28097) backup_defaultRoot__edge1 experienced 1 failure[s]!        -
    2014-07-25    00:00:30        17555   (i)2581224    Edge (28338) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/ams/conf/Server.xml" -adaptor "backup_defaultRoot_" -$
    2014-07-25    00:02:40        17555   (i)2581226    Edge (28338) is no longer active.    -
    2014-07-25    00:02:40        17555   (w)2581255    Edge (28338) backup_defaultRoot__edge1 experienced 1 failure[s]!        -
    2014-07-25    00:02:40        17555   (i)2581224    Edge (28648) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/ams/conf/Server.xml" -adaptor "backup_defaultRoot_" -$
    2014-07-25    00:04:50        17555   (i)2581226    Edge (28648) is no longer active.    -
    2014-07-25    00:04:50        17555   (w)2581255    Edge (28648) backup_defaultRoot__edge1 experienced 1 failure[s]!        -
    2014-07-25    00:04:50        17555   (i)2581224    Edge (28847) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/ams/conf/Server.xml" -adaptor "backup_defaultRoot_" -$
    2014-07-25    00:07:00        17555   (i)2581226    Edge (28847) is no longer active.    -
    ams.ini
    # ams.ini contains substitution variables for Adobe Media Server #
    # configuration files. Lines beginning with '#' are considered comments. #
    # A substitution variable is in the form <name>=<value>. Everything up to #
    # the first '=' is considered the name of the substitution variable, and #
    # everything after the first '=' is considered the substitution value. If #
    # you want a substitution variable to have leading or trailing spaces, #
    # enclose the value around double quotes. For example, foo=" bar " #
    # This section contains configurable parameters in Server.xml #
    # Username for server admin
    # For example:
    # SERVER.ADMIN_USERNAME = foo
    SERVER.ADMIN_USERNAME = admin
    # IP address and port Adobe Media Admin Server should listen on
    # For example:
    # SERVER.ADMINSERVER_HOSTPORT = :1111
    SERVER.ADMINSERVER_HOSTPORT = :1111
    # User id in which to run the process (Linux Only)
    # For example:
    # SERVER.PROCESS_UID = 500
    SERVER.PROCESS_UID = 500
    # Group id in which to run the process (Linux Only)
    # For example:
    # SERVER.PROCESS_GID = 500
    SERVER.PROCESS_GID = 500
    # License key for Adobe Media Server
    # For example:
    # SERVER.LICENSEINFO = XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
    SERVER.LICENSEINFO = (license goes here)
    # LIVE_DIR denotes the full path of sample "Live" application's
    # folder for storing any live stream recorded by server. 
    # For example:
    # LIVE_DIR = <AMS_Installation_Dir>\applications\live
    LIVE_DIR = /opt/adobe/ams/applications/live
    # VOD_COMMON_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand and Progressive Download .flv/.mp3 files.
    # File stored in this folder can be streamed and are also PD-able.
    # Note : If you are using the default installation of Apache as a webserver,
    # and if you modify VOD_COMMON_DIR, please change the document root
    # accordingly in httpd.conf.
    # For example:
    # VOD_COMMON_DIR = <AMS_Installation_Dir>\webroot\vod
    VOD_COMMON_DIR = /opt/adobe/ams/webroot/vod
    # VOD_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand only .flv/.mp3 files. Files stored in
    # this folder are not PD-able
    # For example:
    # VOD_DIR = <AMS_Installation_Dir>\applications\vod\media
    VOD_DIR = /opt/adobe/ams/applications/vod/media
    # The maximum size of the FLV cache, in megabytes.
    # The default is 500MB.
    SERVER.FLVCACHE_MAXSIZE=500
    # Whether to start and stop the included HTTP server along
    # with AMS.
    SERVER.HTTPD_ENABLED = true
    # Whether to start and stop the cache cleaning tool along
    # with HTTP server.
    SERVER.HTCACHECLEAN_ENABLED = true
    # The path specifying the cache root for webserver caching.
    SERVER.HTCACHEROOT = /opt/adobe/ams/Apache2.2/cacheroot
    # This section contains configurable parameters in Adaptor.xml #
    # IP address and port(s) Adobe Media Server should listen on
    # For example:
    # ADAPTOR.HOSTPORT = :1935,80
    ADAPTOR.HOSTPORT = :1935
    # IP (address and) port that Adobe Media Server should proxy
    # unknown HTTP requests to. Leave empty to disable proxying.
    # With no address, specifies a localhost port.
    # For example:
    # HTTPPROXY.HOST = webfarm.example.com:80
    HTTPPROXY.HOST = :8134
    #This tag specifies an IP address for the player to use instead of a hostname when
    #making the RTMPT connection to AMS. If nothing is specified, AMS will automatically
    #determine the IP to use.
    ADAPTOR.HTTPIDENT2 =
    # This section contains configurable parameters in Vhost.xml #
    # Application directory for the virtual host
    # For example:
    # VHOST.APPSDIR = C:\myapps
    VHOST.APPSDIR = /opt/adobe/ams/applications
    # This section contains configurable parameters in Application.xml #
    # List of semi-colon delimited paths in which to search for script to load
    # For example:
    # APP.JS_SCRIPTLIBPATH = C:\scripts;C:\Program Files\Foo\scripts
    APP.JS_SCRIPTLIBPATH = /opt/adobe/ams/scriptlib
    # This section contains configurable parameters in Logger.xml #
    LOGGER.LOGDIR =
    # This section contains configurable parameters in Users.xml #
    # Enable or disable using HTTP requests to execute admin commands. 
    # Set to "true" to enable, otherwise it will be disabled. The 
    # actual commands permitted for server admin and virtual host admin 
    # users can be set in Users.xml. 
    USERS.HTTPCOMMAND_ALLOW = true

    Hi again everyone.
    Thanks Charles for offering a solution but unfortunately still not working. Please see details below.
    Netstat while AMS running :
    [root@videodb ams]# netstat -tulpn
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name
    tcp        0      0 0.0.0.0:2049                0.0.0.0:*                  LISTEN      -                
    tcp        0      0 0.0.0.0:5666                0.0.0.0:*                  LISTEN      22502/nrpe        
    tcp        0      0 127.0.0.1:8005              0.0.0.0:*                  LISTEN      19768/java        
    tcp        0      0 0.0.0.0:8134                0.0.0.0:*                  LISTEN      2309/httpd        
    tcp        0      0 127.0.0.1:11110            0.0.0.0:*                  LISTEN      29001/./amsadmin  
    tcp        0      0 0.0.0.0:806                0.0.0.0:*                  LISTEN      8256/rpc.statd    
    tcp        0      0 0.0.0.0:807                0.0.0.0:*                  LISTEN      27760/rpc.rquotad
    tcp        0      0 127.0.0.1:199              0.0.0.0:*                  LISTEN      8765/snmpd        
    tcp        0      0 0.0.0.0:8009                0.0.0.0:*                  LISTEN      19768/java        
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                  LISTEN      12980/mysqld      
    tcp        0      0 0.0.0.0:1935                0.0.0.0:*                  LISTEN      8690/amsedge      
    tcp        0      0 0.0.0.0:111                0.0.0.0:*                  LISTEN      8123/portmap      
    tcp        0      0 0.0.0.0:8080                0.0.0.0:*                  LISTEN      19768/java        
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                  LISTEN      2309/httpd        
    tcp        0      0 0.0.0.0:819                0.0.0.0:*                  LISTEN      27776/rpc.mountd  
    tcp        0      0 127.0.0.1:19350            0.0.0.0:*                  LISTEN      8690/amsedge      
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                  LISTEN      8790/sshd        
    tcp        0      0 0.0.0.0:1111                0.0.0.0:*                  LISTEN      29001/./amsadmin  
    tcp        0      0 0.0.0.0:49209              0.0.0.0:*                  LISTEN      -                
    tcp        0      0 127.0.0.1:25                0.0.0.0:*                  LISTEN      9323/master      
    udp        0      0 0.0.0.0:2049                0.0.0.0:*                              -                
    udp        0      0 10.2.2.8:1935              0.0.0.0:*                              8690/amsedge      
    udp        0      0 127.0.0.1:1935              0.0.0.0:*                              8690/amsedge      
    udp        0      0 0.0.0.0:57615              0.0.0.0:*                              -                
    udp        0      0 10.2.2.8:19350              0.0.0.0:*                              8690/amsedge      
    udp        0      0 127.0.0.1:19350            0.0.0.0:*                              8690/amsedge      
    udp        0      0 0.0.0.0:800                0.0.0.0:*                              8256/rpc.statd    
    udp        0      0 0.0.0.0:161                0.0.0.0:*                              8765/snmpd        
    udp        0      0 0.0.0.0:802                0.0.0.0:*                              27760/rpc.rquotad
    udp        0      0 0.0.0.0:803                0.0.0.0:*                              8256/rpc.statd    
    udp        0      0 0.0.0.0:816                0.0.0.0:*                              27776/rpc.mountd  
    udp        0      0 0.0.0.0:49875              0.0.0.0:*                              10305/avahi-daemon
    udp        0      0 0.0.0.0:5353                0.0.0.0:*                              10305/avahi-daemon
    udp        0      0 0.0.0.0:111                0.0.0.0:*                              8123/portmap      
    udp        0      0 10.2.2.8:123                0.0.0.0:*                              8824/ntpd        
    udp        0      0 127.0.0.1:123              0.0.0.0:*                              8824/ntpd        
    udp        0      0 0.0.0.0:123                0.0.0.0:*                              8824/ntpd
    Stopping server :
    [root@videodb ams]# ./server stop
    NPTL 2.5
    Stopping Adobe Media Server (please check /var/log/messages)
    Server has shutdown...
    Netstat after shutdown (ports 1935 and 19350 are free) :
    [root@videodb ams]# netstat -tulpn
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name  
    tcp        0      0 0.0.0.0:2049                0.0.0.0:*                   LISTEN      -                  
    tcp        0      0 0.0.0.0:5666                0.0.0.0:*                   LISTEN      22502/nrpe         
    tcp        0      0 127.0.0.1:8005              0.0.0.0:*                   LISTEN      19768/java         
    tcp        0      0 127.0.0.1:11110             0.0.0.0:*                   LISTEN      29001/./amsadmin   
    tcp        0      0 0.0.0.0:806                 0.0.0.0:*                   LISTEN      8256/rpc.statd     
    tcp        0      0 0.0.0.0:807                 0.0.0.0:*                   LISTEN      27760/rpc.rquotad  
    tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN      8765/snmpd         
    tcp        0      0 0.0.0.0:8009                0.0.0.0:*                   LISTEN      19768/java         
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      12980/mysqld       
    tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      8123/portmap       
    tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      19768/java         
    tcp        0      0 0.0.0.0:819                 0.0.0.0:*                   LISTEN      27776/rpc.mountd   
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      8790/sshd          
    tcp        0      0 0.0.0.0:1111                0.0.0.0:*                   LISTEN      29001/./amsadmin   
    tcp        0      0 0.0.0.0:49209               0.0.0.0:*                   LISTEN      -                  
    tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      9323/master        
    udp        0      0 0.0.0.0:2049                0.0.0.0:*                               -                  
    udp        0      0 0.0.0.0:57615               0.0.0.0:*                               -                  
    udp        0      0 0.0.0.0:800                 0.0.0.0:*                               8256/rpc.statd     
    udp        0      0 0.0.0.0:161                 0.0.0.0:*                               8765/snmpd         
    udp        0      0 0.0.0.0:802                 0.0.0.0:*                               27760/rpc.rquotad  
    udp        0      0 0.0.0.0:803                 0.0.0.0:*                               8256/rpc.statd     
    udp        0      0 0.0.0.0:816                 0.0.0.0:*                               27776/rpc.mountd   
    udp        0      0 0.0.0.0:49875               0.0.0.0:*                               10305/avahi-daemon 
    udp        0      0 0.0.0.0:5353                0.0.0.0:*                               10305/avahi-daemon 
    udp        0      0 0.0.0.0:111                 0.0.0.0:*                               8123/portmap       
    udp        0      0 10.2.2.8:123                0.0.0.0:*                               8824/ntpd          
    udp        0      0 127.0.0.1:123               0.0.0.0:*                               8824/ntpd          
    udp        0      0 0.0.0.0:123                 0.0.0.0:*                               8824/ntpd
    Restart :
    [root@videodb ams]# ./server start
    NPTL 2.5
    Starting Adobe Media Server (please check /var/log/messages)
    Content of edge.00.log :
    #Version: 1.0
    #Start-Date: 2014-08-06 14:39:17
    #Software: Adobe Media Server 5.0.3 r3029 x64
    #Date: 2014-08-06
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-08-06    14:39:12        15099   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-08-06    14:39:12        15099   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-08-06    14:39:12        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : localhost:19350/v4     -
    2014-08-06    14:39:13        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : 1935/v4        -
    2014-08-06    14:39:14        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4        -
    2014-08-06    14:39:14        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : 10.2.2.8:19350 (rtmfp-core)/v4 -
    2014-08-06    14:39:14        15099   (i)2631509    Public rtmfp-core addresses for listener backup_defaultRoot__edge1 are: 127.0.0.1:19350;10.2.2.8:19350  -
    2014-08-06    14:39:14        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4    -
    2014-08-06    14:39:14        15099   (i)2631174    Listener started ( backup_defaultRoot__edge1 ) : 10.2.2.8:1935 (rtmfp)/v4    -
    #Date: 2014-08-06
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-08-06    14:39:12        15097   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-08-06    14:39:12        15097   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-08-06    14:39:12        15097   (e)2631013    Failed to create listener for adaptor _defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!$
    2014-08-06    14:39:12        15097   (e)2631013    Failed to create listener for adaptor _defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.    -
    2014-08-06    14:39:12        15097   (e)2631114    Failed to start listeners for adaptor _defaultRoot__edge1.    -
    2014-08-06    14:39:12        15097   (e)2791225    Failed to start edge : _defaultRoot__edge1    -
    #Date: 2014-08-06
    #Fields: date   time    x-pid   x-status        x-ctx   x-comment
    2014-08-06    14:41:22        15903   (i)2581173    Host: videodb.webtv.coop IPv4: 10.2.2.8 -
    2014-08-06    14:41:22        15903   (i)2631180    Info from AccessAdaptor: Access Adaptor started /opt/adobe/ams/modules/access/libconnect.so.    -
    2014-08-06    14:41:22        15903   (e)2631013    Failed to create listener for adaptor _defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!$
    2014-08-06    14:41:22        15903   (e)2631013    Failed to create listener for adaptor _defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.    -
    2014-08-06    14:41:22        15903   (e)2631114    Failed to start listeners for adaptor _defaultRoot__edge1.    -
    2014-08-06    14:41:22        15903   (e)2791225    Failed to start edge : _defaultRoot__edge1
    Content of var/log/messages :
    Aug  6 14:39:11 videodb Service[15070]: Server starting...
    Aug  6 14:39:12 videodb Server[15070]: /opt/adobe/ams/Apache2.2/bin/httpd -f ./conf/httpd.conf -d "/opt/adobe/ams/Apache2.2" -k start returned 0: [Wed Aug 06 14:39:11 2014] [info] mod_jithttp - AMS $
    Aug  6 14:39:12 videodb Server[15070]: /opt/adobe/ams/Apache2.2/bin/htcacheclean -n -t -i -p/opt/adobe/ams/Apache2.2/cacheroot -d5 -l1024K returned 0:
    Aug  6 14:39:12 videodb Adaptor[15097]: Failed to create listener for adaptor _defaultRoot_, IP localhost, port 19350: TCCommBridge::createListener 127.0.0.1:19350/v4: bind failed!!!.
    Aug  6 14:39:12 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : localhost:19350/v4
    Aug  6 14:39:12 videodb Adaptor[15097]: Failed to create listener for adaptor _defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind failed!!!.
    Aug  6 14:39:12 videodb Adaptor[15097]: Failed to start listeners for adaptor _defaultRoot__edge1.
    Aug  6 14:39:12 videodb Edge[15097]: Failed to start edge : _defaultRoot__edge1
    Aug  6 14:39:12 videodb Service[15070]: Server started (/opt/adobe/ams/conf/Server.xml).
    Aug  6 14:39:13 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : 1935/v4
    Aug  6 14:39:14 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4
    Aug  6 14:39:14 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : 10.2.2.8:19350 (rtmfp-core)/v4
    Aug  6 14:39:14 videodb Adaptor[15099]: Public rtmfp-core addresses for listener backup_defaultRoot__edge1 are: 127.0.0.1:19350;10.2.2.8:19350
    Aug  6 14:39:14 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4
    Aug  6 14:39:14 videodb Adaptor[15099]: Listener started ( backup_defaultRoot__edge1 ) : 10.2.2.8:1935 (rtmfp)/v4

Maybe you are looking for