Steps to Publish Live Audio for HTTP Streaming

I wanted to confirm some steps in order to stream Live Audio from FMS to a mobile device using HTTP Streaming and HTML 5 audio/video tags.  I have a system setup like below:
Lets say my application which recieves the live audio is called CLASSROOM.
Lets say my application instance is called "TEST"
So I have application code like:
In "onAppStart()"
this.broadcast_live_stream = Stream.get("f4f:livestream");
this.broadcast_live_stream.liveEvent = "TEST";
this.broadcast_live_stream.record("record");
To play the incoming audio:
application.broadcast_live_stream.play(streamName); // name of the stream sending audio to the server
Thus, I have a folder:
Flash Media Server 4.5\applications\CLASSROOM\streams\TEST\livestream
which contains a bootstrap, control, meta, f4f, and f4x files.
Since I specified the Event name as "TEST", I also created the folder:
Flash Media Server 4.5\applications\livepkgr\events\_definst_\TEST
Which contains event.xml:
<Event>
<EventID>TEST</EventID>
- <Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>400000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
and manifest.xml:
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<media streamId="livestream" bitrate="100" />
</manifest>
Should I then be able to create a video tag and hear the live audio:
<video id='slide1' controls='controls'><source src='http://fms-dns/hls-live/livepkgr/_definst_/Test/livestream.m3u8'></video>
I am not sure what other steps are needed, or a good way to test.  I don't understand how the Live Media Encoder would be needed in this situation.

So I implemented the above change, using code from the livepkgr.
My custom application is called Unity3, and the instance is Test, and I am trying to  publish to an event called "Test".
I now have:
applications\Unity3\streams\Test\livestream
Which contains segment files, which update when I send audio in my application.
I have:
C:\Program Files\Adobe\Flash Media Server 4.5\applications\Unity3\events\Test\Test
Which contains my event.xml (EventId Test), manifest.xml (StreamId livestream).  I also have a ".stream" file in this folder.  The contents of which are:
<?xml version="1.0" encoding="UTF-8"?>
<stream xmlns="http://ns.adobe.com/liveevent/1.0">
<type>
f4f
</type>
<name>
livestream
</name>
<path>
C:\Program Files\Adobe\Flash Media Server 4.5\applications\Unity3\streams\Test\livestream
</path>
</stream>
So everything there seems to be good.  I try to use:
<video id='live' controls='controls'><source src='http://[fms-dns]/hls-live/Unity3/Test/Test/livestream.m3u8'></video>
or
<audio id='live' controls='controls'><source src='http://[fms-dns]/hls-live/Unity3/Test/Test/livestream.m3u8'></audio>
I don't hear audio, the controls don't seem to respond as though they recognize a source.  Are there certain browsers which can be confirmed work?  Any other mistakes stand out?
Thanks.

Similar Messages

  • [svn:osmf:] 13828: 1. Add MBR + DRM support for http streaming

    Revision: 13828
    Revision: 13828
    Author:   [email protected]
    Date:     2010-01-27 14:56:10 -0800 (Wed, 27 Jan 2010)
    Log Message:
    1. Add MBR + DRM support for http streaming
    2. Fix unit TestManifestParser.as to reflect the changes
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/manifest/ManifestParser.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
        osmf/trunk/framework/OSMF/org/osmf/video/VideoElement.as
        osmf/trunk/framework/OSMFTest/org/osmf/manifest/TestManifestParser.as

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • [svn:osmf:] 16045: To fix bug FM-760, add a test suite for http streaming video.

    Revision: 16045
    Revision: 16045
    Author:   [email protected]
    Date:     2010-05-11 16:35:52 -0700 (Tue, 11 May 2010)
    Log Message:
    To fix bug FM-760, add a test suite for http streaming video.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/OSMFIntegrationTests.as

    (Removed)

  • [svn:osmf:] 13754: Restore ability for HTTP streaming index handler to send /receive arbitrary context associated with an index, per Matthew's feedback .

    Revision: 13754
    Revision: 13754
    Author:   [email protected]
    Date:     2010-01-25 10:56:31 -0800 (Mon, 25 Jan 2010)
    Log Message:
    Restore ability for HTTP streaming index handler to send/receive arbitrary context associated with an index, per Matthew's feedback.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/events/HTTPStreamingIndexHandlerEvent.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingIndexHandlerBase.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/URLLoaderWithContext.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Steps to enable Web Proxy for https

    I have an S160 WSA and want to enable the Web service for http and https. I am using transparent mode with WCCP.
    This is part of the router configuration:
    ACL:
    access-list 110 permit tcp 192.168.80.0 0.0.7.255 any eq 80
    access-list 120 permit tcp 192.168.80.0 0.0.7.255 any eq 443
    ip wccp 97 redirect-list 110
    ip wccp 98 redirect-list 120
    interface FastEthernet0/0.380
    ip wccp 97 redirect in
    ip wccp 98 redirect in
    It is the same configuration for http and for https, but only http traffic is working. When I see the logs in the WSA, it looks like accepted connections for https.
    In Security Services -> Web Proxy it is enabled, when I put the port 443, I get an https error in the end user laptop; when I dont, it keeps trying and I get a timeout.
    I tried enabling https proxy but some sites (as gmail), wont work with self-generated certificates.
    Would you please, list me the steps to enable Proxy services for https.
    Thanks!!!
    Sergio L.

    Hi Sergio,
    When WSA is configured as transparent proxy, it also accepts explitcit connections. So in order to test HTTPS proxy, you can configure client browser to explicitly use WSA as proxy and see if it is working before testing in transparent mode.
    When WSA is used as HTTPS proxy, it uses its self-generated certificate to encrypt the connection between itself and the client browser. Since this certificate is not trusted by browser, it'll throw SSL certificate error when connecting via WSA. In order to get rid of this error, download the self-generated certificate from WSA and install it in your browser as a trusted certificate. That should resolve SSL issue with gmail also.
    Hope this helps.
    Thanks,
    Chetan

  • Video NetConnection connect(null) also for http streams

    Just found out that nc.connect(null) is for both local files
    and also
    http:// based video files .
    Documentation states connect(null) is for local files and use
    connect(URL) ; for rtmp and http based streams.
    However after some testing I found that for http (e.g
    http://www.mysite.com/videos/myvideof.flv)
    you need to use also connect(null). connect('rtmp://host/stream')
    is only used with streaming servers with rtmp ..
    FYI
    Yoav

    Yoav,
    Can you file a bug in the Flex Bug base at
    http://bugs.adobe.com/flex/
    and somebody from Adobe can take a look. Also, if you can provide
    some sample code, that would help us out a lot.
    Thanks,
    Peter

  • Apache or Windows server for HTTP streaming

    Does is matter what HTTP server I use?
    In the process of upgrading from FMS 3.0 on Windows using IIS 5 to FMS 4.0. Will dynamic HTTP Streaming work from a Windows server?

    Hi,
    Thanks for your interest in HDS.
    HTTP Dynamic Streaming only works with Apache web server. The basic Apache web server is already bundled along with FMS from the 4.0 versions where the HTTP Dynamic streaming modules are loaded by default. Alternatively, any external apache installation also can be used, by copying the required module files and changing the configuration apache files to enable them..

  • Server Side Actionscript for HTTP Streaming Connections, is it supported?

    Hi, I have a server side actionscript application working for RTMP, and I would like to reuse this code for HTTP connections.
    Is this possible?

    Thank you for your answer.  If I understand what you are saying, the apache modules proxy http to rtmp on the streaming server.  I have an application that is passing context into the rtmp server side javascript using a url similar to this:
    rtmp://myhostname.com/myapp?mycontext/mp4:myfilename
    Do you think there is a way to pass the mycontext through the http url so that the Server Side Actionscript can perform an operation based on that context?

  • FMS 4.5.2 Release - Support for HTTP Streaming Failover

    Here is the documentation for the new HTTP Streaming Failover feature in FMS 4.5.2
    http://help.adobe.com/en_US/flashmediaserver/configadmin/WS418c3323187a5d5740d39080135d559 3e08-8000.html

    Blog post from Jens Loeffler on the new features in 4.5.2
    http://blogs.adobe.com/digitalmedia/2012/04/flash-media-server-4-5-2-released-with-robust- http-streaming-failover/

  • Implement Flash Player for HTTP Streaming

    Is there any sample code for this?  I have a Java background but haven't done much ActionScripting.  I want to play back an HTTP Dynamic Stream (f4m) that has been packaged with Flash Access.  Also want to set a custom Authorization Token.  I'm using CS5 for my development environment.  Any help would be much appreciated.
    /OG

    Hi Eric,
    Yes,
    we've been using the OSMF player to play back the streams - I need to
    add a custom authentication token to the license request.  I understand
    that I need to call DRMManager.setAuthenticationToken on
    the flash player.  I did go through several of the OSMF Sample
    tutorials, but is not clear how and where to make this call. Looking for a starting point - is there an OSMF player that I can quickly modify for our POC?
    thanks,
    Lawrence

  • Airplay live http streams

    Everytime I try to AirPlay a stream that has an extension on m3u8, which is for http streaming, it doesn't work.  Is there something I can do to get this to work?

    I'm having this issue with the newest Apple TV.  I used to be able to stream the live NCAA March Madness games from my iOS devices to the last gen Apple TV, but now it doesn't work at all with the new one.  I just see a loading indicator and the video never appears.  Anyone else see this?

  • Need a hand to configure FMS 4.5 to output HTTP stream...

    Hi folks!
    I'm trying to setup Flash Media Server (Streaming server) and I'm having issues with outputting HTTP stream.
    The system works very well with the Flash ooutput, but for some reason the livepkgr won't work. Tried several things over the past two weeks, I've went thru docs and I don't know anymopre what else I can try... The source of the video feed is upstreamed from my own home computer, via Flash Live Encoder.
    I operate a dedicated server, running Windows 2008 Server. The default web site is IIS. I configured the ports so that port 80 is the default IIS inetpub/webroot, and the FMS 4.5 install is accessed via port 8134. So the IP http://184.107.48.113 opens the default Windows IIS, and http://184.107.48.113:8134 takes the request to the FMS install.
    The video stream is live on the Flash server, I can see it in the console, the livepkgr appears to be working, and I do see the .STREAM file being generated in the _definst_/livebroadcast/livestream folder. So the server works, and process the HTTP output.
    I believe the URL I should use to access the output HLS stream is: http://184.107.48.113:8134/livepkgr/_definst_/livebroadcast/livestream.f4m.m3u8
    but it returns a file not found message. Is there something wrong with the URL syntax? Or there is something else in the .conf files I must tweak? Or is it an issue with Apache 2.2 configuration?
    You can see the live Flash stream from my web site http://www.blackflag.tv I want to change this Flash stream to HTTP stream.
    Thanks for your help folks!!!
    -sv bell

    Hey,
    I tried playing HDS now and its working fine. It wasn't playing earlier.
    You can try it out by playing the content through the player here: http://www.osmf.org/configurator/fmp/#
    Input: http://184.107.48.113:8134/hds-live/livepkgr/_definst_/livebroadcast/l ivestream.f4m
    (Don't forget to select the radio button for HTTP streaming)
    This means everything is working on the server side.
    Now, I don't have an iDevice on me to check out HLS playback.
    You are using an older version of QuickTime, which could be an issue. Please let me know what publish settings you are using (as in the codecs).
    Also can you try playing it back through HTML5. To do that, just create an HTML page with the below content.
    <!DOCTYPE html>
    <html>
    <head>
    <title>Title of the document</title>
    </head>
    <body>
    <video width="320" height="240" controls="controls" src="http://184.107.48.113:8134/hls-live/livepkgr/_definst_/livebroadcast/livestream.m3u8"  />
    </body>
    </html>

  • HTTP Streaming supporting in sprint09

    We are told that s09 supports Adobe's HTTP streaming already. Does anybody know how Adobe's HTTP streaming work? I try to find how player of s09 work for http streaming, but I have no progress until now. If somebody has similar need, let's have a discussion here.

    Hi Dai,
    our demo is developed by ourself, i dont know how adobe is doing it. You can simply grap the latest fp 10.1 documentation and take a look at the netstream object.
    The new mode is free from filecontainer specifications, that means you can build simply your own or transmux other filecontainer formats or build your own encryption / drm protection. As long as you follow the h.264 or vp6 or h.263 codec specifications fp 10.1 can decode and stream it. but, you need toDo all bandwidth shaping inside FP10.1 - and beware some algoryhtmen are patent protected by akamai and level(3) - only for info.
    I was able to transmux the silverlight format to fp 10.1 byte format. When you want to develope it by yourself make your brain free from file container formats like SWF. You can work with raw encoded frames in fp 10.1.
    My idea is also to transmux the video streams and audio stream separetly, that means you can have 4 video and 1 audio stream. Right now i only saw adobe dynamic streaming with xx video and same xx audio. In some situations this not the best solution (traffic + webspace coast + encoding time).
    Do you have start developing? Send us a link to take a look on it.
    Best
    Gary
    http://onlinelib.de
    Am 24.03.2010 um 07:38 schrieb xingzhedai:
    Gary,
    Thanks a lot.
    Do you mean flash player 10.1 can play the ismv file segment with H.264 codec?
    I tried the demo on the link you sent to me before, it works very well. My question is that is this demo shows exactly the offical HTTP streaming of Adobe? Do you know when adobe will publish his http streaming scheme officially? I tested the demo and catched the message between flash player and the backend server of Inetbone, and I didn't see the description file, like manifest file in IIS smooth streaming. So my another question is that how the player knows the oganization of the whole media file? I guess these segment description information is compiled in swf file? Am I right?
    BestRegards
    Jinliang Dai
    代金良
    华为技术有限公司  huawei_logo
    地址:北京市海淀区东北旺西路8号中关村软件园17号楼 邮编:100193
    BuildingNO.17, Zpark, Hai-Dian District, Beijing P.R. China, ZIP:100193
    电话:82829334
    手机:13581586128
    电子邮件:mailto:[email protected]
    http://www.huawei.com
    >

  • Encoder live audio in stereo

    Hi sorry for my english,im try to create a radio online, but
    don't find what is the best option to transmit single audio in
    stereo, Im try with Flash media Encoder but the audio encoder
    configuration its more limited and I believe that encoder only in
    Mono.
    It is possible to encoder audio in stereo with FME ?
    What is the best option to encoder live audio for a Web Radio
    Online with FMS ?
    Thanks in advance.

    And how increase the sampling rate and/or the bitrate of the
    audio codec?
    Sampling at 22050 and a bitrate ceiling of 32kbps are both
    quite limiting. Is there any chance of at least increasing the
    bitrate to something like 128kbps or more?
    Thanks in advance.

  • How can I record the audio for a radio station I'm streaming LIVE?

    How can I record the audio for a radio station I'm streaming LIVE?
    I don't want to record the sound in my room, but only on the sound I'm streaming

    Grane Duke wrote:
    To reduce or make the room noise as low as possible (to get the best audio recording), I recommended the OP to try to record the radio live streaming audio in a silent room. Does it makes any sense to you....??
    No. Preferably one records using direct input.
    Your comment  It doen’t matter whether he/she is recording the audio from the macbook or any external speakers because if the room is noisy than obviously the ambient room noise will be recorded.  is pretty silly really. Think about what you just wrote.
    And you do have a bad habbit in your posts of over using ???????? & !!!!!!!!!!!!!
    One is enough.
    Cheers
    Pete

Maybe you are looking for

  • Build error while creating 32-64 universal binary

    Hi All, I have to build a bundle in Xcode as part of development. While building 32-bit universal, it is not giving any issues. But when I keep 32-64bit universal, I am getting so many build errors. As I have windows background, pretty new to Mac, so

  • Mappings...

    Could you please list the situations where I might need to use Java, ABAP or XSLT mapping? Regards, Ashish

  • SAP Query(SQ01) need to be transported

    Hi All, I want to transport a tcode which is using SAP query. Now I am able to send the tcode to other system but when I go to SAP query under queries and standard query area I am not able to see the version management details. I also tried going to

  • How i can send email with attachment ?

    any body can help me ..............??????????????????

  • Show BI Reports List on click of button?

    Hi Can we generate the list of reports and the reports in pdf of Bi publisher on click in listbox?