Liev streaming on ios using FMS

Dear All,
I have made an application using cs5.5 and java with struts2 for live streaming through FMS.
Architecture is like:
Flash player makes get stream from camera and then transfer stream over FMS. And this flash player component is embedded in html page.
Flash player contains code for all work flow like making connectivity with FMS interacting user via javascript and capturing live stream from camera. This application works well on IE, mozilla.
But when it comes to woking on ios it fails as ios, as IOS does not support flash player. I have gone through many solution provided on different forums, I get there to use Adobe air with making connection using http live streaming protocol and then pakaging the solution for ios. But as per my point of view this would work as an apps for ios rather than browser based application as in my previous case. can anyone suggest me alternate solution to launch live video streaming solution to work on ios on its browser. If I am wrong in perception of working phenomenon of FMS with ios via flash player or adobe air then also please suggest.
Thanks
Nitesh Kumar

I realize that using JW player might not be the exact solution that you are looking for (sounds like you're trying to do something customized for a particular need), but using JW player can help you test your FMS set-up to make sure everything is working. We've used JW player to stream multi-bit rate live events to both Flash and iOS devices at the same time.
> So how can we make connectionn with FMS and publish stream through jwplayer.
Step 1: Set up Flash Live Media Encoder and create the live streaming manifest files for JW player. These instructions are taken from this page:
http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd6 09-52e437a812a3725dfa0-8000.html
FMS live Streaming instructions:
Install Flash Media Encoder (FMLE) on the encoding computer (the computer what will be encoding the live stream): http://www.adobe.com/eeurope/products/flash-media-encoder.html
Open the Flash Media Live Encoder rootinstall\conf\config.xml file in a text editor.
Windows is C:\Program Files\Adobe\Flash Media Live Encoder 3.2
Mac OS is Macintosh HD:Applications:Adobe:Flash Media Live Encoder 3.2.
rootinstall\conf\config.xml i.     Set the tag //flashmedialiveencoder_config/mbrconfig/streamsynchronization/enable to true
Save the file.
Open FMLE: single bitrate stream.
Format: Click on wrench and change to appropriate settings: Profile (main), Level 4.1 Keyframes 4 or a multiple of <FragmentDuration> in the applications/livepkgr/events/_definst_/liveevent/Event.xml file. The default value of <FragmentDuration> is 4000 milliseconds.
FMS URL: rtmp://localhost/livepkgr
Stream: livestream?adbe-live-event=liveevent&adbe-record-mode=record
i.     IMPORTANT: &adbe-record-mode=record query is needed to avoid the problems discussed in the threads below.
ii.     See http://forums.adobe.com/thread/959974
iii.     http://forums.adobe.com/message/4311876
iv.     http://forums.adobe.com/thread/981286?tstart=0
Click Start.
Test streaming: http://www.osmf.org/configurator/fmp/:
i.     http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
ii.     iPad: http://localhost/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8
Publish and play live multi-bitrate streams over HTTP
Live multi-bitrate streams:
Edit rootinstall\conf\config.xml file (step 2 above) on the FMLE computer.
On the streaming server: go to FMS 4.5/applications/livepkgr/events/_definst_/liveevent
a. Remove the Manifest.xml file from the liveevent folder or rename it.
b.     Browse to rootinstall/applications/livepkgr/events/_definst_/liveevent and edit the Event.xml file to look like the following:
<Event>     
<EventID>liveevent</EventID>         
<Recording>
<FragmentDuration>4000</FragmentDuration> <SegmentDuration>16000</SegmentDuration>                  <DiskManagementDuration>3</DiskManagementDuration>
</Recording> 
</Event>
3. Create the f4m and m3u8 manifest files: NOTE: JW player needs a .smil file, not an f4m manifest.
a. On the FMS 4.5 computer, open rootinstall/tools/f4mconfig/configurator/f4mconfig.html in a browser.
b. F4M manifest file:
Stream uri: livestream1.f4m 150kbps, livestream2.f4m 500kbps, livestream3.f4m 700kbps.
Base uri: http://localhost/hls-live/livepkgr/_definst_/liveevent (replace localhost with FMS internal/external IP address).
save the file as liveevent.f4m to rootinstall/webroot or on the webserver.
JW Player does not support f4m files. Must use a smil file for this.
c. m3u8 manifest file: Open rootinstall/tools/f4mconfig/configurator/f4mconfig.html in a browser.
http:///hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8 150kbps
http:///hls-live/livepkgr/_definst_/liveevent/livestream2.m3u8 500kbps
http:///hls-live/livepkgr/_definst_/liveevent/livestream3.m3u8 700kbps
Save file as liveevent.m3u8:
#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000 
http:// localhost/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8 
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000 
http:// localhost/hls-live/livepkgr/_definst_/liveevent/livestream2.m3u8 
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=700000 
http://localhost/hls-live/livepkgr/_definst_/liveevent/livestream3.m3u8
4. Publish live streams to FMS:
a. Start FMLE.
b. Click the wrench next to Format, Open Advanced Encoder Settings, set Keyframe frequency to 4 seconds.This value matches the <FragmentDuration> value in the applications/livepkgr/events/_definst_/liveevent/Event.xml file. The <FragmentDuration> value is in milliseconds.
               c. FMS URL field: rtmp://localhost/livepkgr
             d. Stream field: livestream%i?adbe-live-event=liveevent OR livestream%i?adbe-live-event=liveevent&adbe-record-mode=record Change liveevent to whatever name you want (i.e. Test)
Flash Media Live Encoder uses the variable %i to create multiple stream names: livestream1, livestream2, livestream3
To use another encoder, provide your own unique stream names, for example, livestream1?adbe-live-event=liveevent, livestream2?adbe-live-event=liveevent.
PUBLISH URL: rtmp://localhost/livepkgr/livestream%i?adbe-live-event=liveevent
IMPORTANT: use the following query parameter: &adbe-record-mode=record
5. Test live streams:
a. Flash:
Open rootinstall/samples/videoPlayer
In Video Source, enter the following: http://localhost/liveevent.f4m
b. iOS: Open Safari.
Open http://localhost/liveevent.m3u8
Once you create the live streams and the smil and .m3u8 manifest files following the steps described above, set up a test page using JW player (see their documentation and download the files referred to below from their page).
     This is the basic set-up that we use to stream live multibitrate live events (using a smil and m3u8 manifest file created above):
1. Use JW with javascript file: put <script type='text/javascript' src='jwplayer/jwplayer.js'></script>in the <head> section of the page. I've renamed the javascript file jwplayer.js (look in the JW folder to find the appropriate js file).
2. Embed the player into the page: put the following code in the <body> of the page:
<div id="jwplayer"></div>
<script type="text/javascript">
jwplayer('jwplayer').setup({
  'autostart': false,
  sources: [
    { 'file': "Manifests/liveevent.smil"},
    { 'file': "Manifests/liveevent.m3u8"}
  rtmp: {
    'bufferlength': 5
  'width': "640",
  'height': "480",
  'image': "Splash/live-poster.png",
  'primary': "flash",
  'stretching': 'exactfit'
</script>
Sample .m3u8 manifest file: (replace localhost with your ip, Test with whatever you named the stream in FMLE).
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000
http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400000
http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
Sample .smil file:
<smil>
          <head>
                    <meta base="rtmp://localhost/hds-live/livepkgr/_definst_/Test/"/>
          </head>
          <body>
                    <switch>
                              <video src="livestream1.f4m" system-bitrate="200000" />
                              <video src="livestream2.f4m" system-bitrate="400000" />
                              <video src="livestream3.f4m" system-bitrate="800000" />
                    </switch>
    </body>
</smil>
You have to follow Adobe's FMLE instructions (linked above) and the JW documentation to get this to work.
http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/22581/emb edding-jw-player-and-using-with-fms-45-livestreaming/
Good luck.

Similar Messages

  • How to play http live streaming with VLC using FMS 4.0

    Hello,
    i'm using FMS 4 and i need to play my http live streaming event with VLC
    I have had the following result with firefox using the url : http://myip:8134/live/events/livepkgr.old/events/_definst_/liveevent.f4m
    <manifest>
    <id>
                        livepkgr.old/events/_definst_/liveevent
              </id><mimeType>
              </mimeType><streamType>
                        live
              </streamType><duration>
                        0
              </duration><media streamId="livestream1" bitrate="100" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1" bootstrapInfoId="bootstrap7580"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><media streamId="livestream2" bitrate="200"><metadata>
                        </metadata></media><media streamId="livestream3" bitrate="350"><metadata>
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream.bootstrap" id="bootstrap3136">
              </bootstrapInfo><media streamId="livestream" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream" bootstrapInfoId="bootstrap3136"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1.bootstrap " id="bootstrap7580">
              </bootstrapInfo>
    </manifest>
    How can i play that event with VLC?
    Regards,

    Problem solved  - thanks to JayCharles. I forgot to set the live attribute. Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
             <mx:VideoDisplay
                 live="true"
                 autoBandWidthDetection="false"
                 source="rtmp://localhost/live/livestream"/>
         </mx:HBox>
    </mx:Application>

  • How to integrate flash media server 4.0 live streaming for iOS devices ?

    Hi All,
    I have website which has live streaming module its working fine, same module i want to integrate for iOS devices. For live video streaming we are using FMS 4.0. So please let me know how we can integrate this for iOS devices using flash media server 4.0.
    Thanks in Adavnce
    Mohammad Sharique

    You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
              <allow-access-from domain="*" />
    </cross-domain-policy>
    For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Facing Problems in Streaming Video using FMS 3.5

    I want to stream .flv using FMS 3.5. The file is streaming on the company intranet but when it comes to internet, it is not streaming. Here is what im doing
    I,am using Flash Media Server with IIS 6.0 and Operating System windows 2003 server with SP2
    This server machine has a private IP 192.168.10.19(localhost) which is maped to a public ip 202.77.xxx.xx. This server is hosting a website www.mywebsite.com, where i want to stream this file. The exact path of the html page where this sample.swf will be contained is www.mywebsite.com/FlashStreaming/FlashStreaming.html
    Now the website is working fine but when i test the streaming of .swf file its not working. It is only showing a progress bar
    I used the following procedure to create the .swf from .flv
    I created an .swf with the name sample.swf, using FLVPlayBack component and given its source address as
    " rtmp://192.168.10.19/vod/_StreamingSample_/Sample(where Sample is an flv file) . After it i selected the option "Stream from Flash Media Server"
    I also created an instance named  "_StreamingSample_ " for vod on the server 192.168.10.19(localhost) in the Flash Media Administration Console
    Then I deployed it on the server with the local ip address 192.168.10.19. Now when i open the link www.mywebsite.com/FlashStreaming/FlashStreaming.html  from any client pc on the same company intranet as the server  it streams perfectly and i can also see it on the FMS Media Administration Console but when i type this link from any public pc using internet (i.e. outside my company intranet) it only shows a bar with play and pause buttons in it trying to connect to the server, and no video is streamed/shown . Is it due to the fact that im putting in the wrong address or there is some other reason behind this malfunctioning. I dont want to use Action Scripting so please let me know any solution which does not require action scripting.
    Note : The hosting server is within our company so we are managing it.

    Fraz,
    Remove the .flv extension from your address and give it a try:
    rtmp://202.77.xxx.xx/FlashStreaming/sample.flv
    should be:
    rtmp://202.77.xxx.xx/FlashStreaming/sample

  • Use FMS & Actionscript to Stream Audio/Video and control (powerpoint) slides

    Hi there,
    My compnay provides webcasting services to numerous clients, and we currently use Windows Media Encoder as our base software for these projects.
    However, I'm interested in switching to Flash Media Server, but need to figure out one issue and how to implement it in such a way like how we are currently using Windows Media Encoder.
    We need a way to stream out a live audio/video feed AND have a way to control a presenter's POWERPOINT slides and have them advance by our command when streaming live.
    Basically, the way we do it is we will stream out audio/video from WME and also use the encoder's SCRIPTING functions to send out a "url"  from the encoder to the actual page in which the viewer is watching the live embedded stream.  On that page is an embeded/internal frame which we can specify (using the id/name) that the url gets loaded, and this actually advances the slides (or more so pulls up a pre-created html page of the next slide in the person's powerpoint, which is actually a screenshot or exported image of that slide and embedded within a specific HTML file and hosted on the same server as the embedded player/html file)
    Would there be a way to send out this same type of script using FMS?   I've been playing around with it and notice the interface itself does not have a built in scripting function like Windows Media Encoder does. However, I did read somewhere that it supports ActionScript... but I have no clue how to implement this feature.
    I am just curious how it might be able to go about doing this?  Is there a way to use an [action]script with FMS and have it send out a URL to a specific frameset embedded on the same page as the Flash Media Encoder Playback?
    Hopefully this make sense and that someone can point me in the right direction.  Switching to FMS over Windows Media Encoder is the way I would love to go, just need to figure out how this could be done.
    Would a better method be converting the powerpoint slides to a swf or flv file, embedding that file within the same page as the FMS playback, and somehow using a script to "advance" the frames/slides/scenes within that file?
    I also heard something about Flash "Shared Objects" and how this could be a way of controlling a swf file remotely.....
    Could anyone give me some advice and know a method that I could use to achieve this type of implementation?
    Any help is GREATLY appreciated!   Thanks!

    FMS (the interactive version, FMIS) has complete scripting support.
    What you want to do can be done with FMS, and there are a lot of ways you can approach it. Converting to .swf can be helpful, as it means you have a single resource to load rather than a bunch of individual slide images (the flashplayer can load .swf, jpg, gif, png). Rather than embedding, I'd opt to make it an external resource and load it at runtime... that would keep the player application reusable.
    To get an idea of how to use server side actionscript, see the getting started portion of the FMS 3.5 dev docs
    http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/
    Then, see the SSAS docs for the following classes in particular:
    The Client class for Client.call()
    The Stream class for Stream.send()
    The Shared object class
    The Application class for BroadcastMsg()
    The docs give some general overview for the usage of each. The best choice really depends on your deployment architecture and scalability requirements.

  • Facing Problems in Streaming Video over internet using FMS 3.5

    I,am using FMS 3.5 to stream video over internet.This video will be a part of a website www.mywebsite.com . I have the webserver in my company. This webserver has the local LAN IP : 192.168.10.19 which is binded with a public internet ip 212.77.xx.xx .This website is hosted using IIS 6.0 on OS windows 2003 server with SP2
    I created a swf name sample.swf from sample.flv file and gave it the rtmp address as follows:
    rtmp://192.168.10.19/vod/_StreamingVideo_/sample.flv   (where _StreamingVideo_  is the instance on the server, and 192.168.10.19 is the LAN IP of server) ,and it worked fine and every one within the local company network could see the streaming video. Now i tried to replace this local address with the public address and the address became as follows:
    rtmp://212.77.xx.xx/vod/_StreamingVideo_/sample.flv
    After giving this public IP in the rtmp address i,am getting a message "Failed to load Flv from the address rtmp://212.77.xx.xx/vod/_StreamingVideo_/sample.flv" and as as result the video is not streamed and it only shows the progress bar on the link
    www.mywebsite.com/VideoStreaming/Sample.html without loading the video. I have also checked the ports 80,1935,1111 on the server and they are open. Is there any problem with my rtmp address with public IP or any other reason ??. Please help me out in this regard because im realy stuck here.

    Adding to my previous post this is the XML output i get when i try to access the fms admin console from local ip address i.e http://192.168.10.19:1111/fms_adminConsole.htm
    <?xml version="1.0" encoding="utf-8" ?>
    - <result>
    <level>error</level>
    <code>NetConnection.Connect.Rejected</code>
    <description>Admin user requires valid username and password.</description>
    <timestamp>2/3/2010 8:26:08 AM</timestamp>
    </result>
    but when i try to access fms admin console through public ip (http://212.77.xx.xx:1111/fms_adminConsole.htm) then it gives me the following :
    Internet Explorer cannot display the webpage.
    Any more suggestions Jay (because really ur the only one helping me out in this so far) ??

  • Using FMS v4.5.5 with a browser-based audio player running on iPad/iPhone

    Hello,
    I’m seeking some clarity/guidance on using FMS v4.5.5 (Streaming Edition) with a browser-based audio player running on iPad/iPhone (i.e. under iOS).
    Background
    I have a Microsoft Windows 2008 R2 Web Server running IIS v7.5 and supporting a website built using ASP.NET and C#. Parts of the website allow a visitor to play a selection of audio clips from our bespoke MP3 library. Due to UK music licencing constraints, we must stream the clip to the client browser – we must not download either part or all of the source MP3 file(s). We therefore had a custom audio player built for us some time ago using Flash/AS3. This has and continues to work very well, and uses RTMP to stream the clips from FMS to the client browser.
    As our site has become more established the number of visitors has steadily grown. In the early days the number of visitors from the iOS platform was relatively small but, last month, it had risen to 40%! As Flash is not supported on the iOS platform, this growing group of visitors are unable to fully maximise the benefits offered by the website, which I am now trying to address.
    What I’m Trying To Do…
    From what I’ve researched and read, I believe that FMS v4.5.5 supports HLS and I need to use this (instead of RTMP) over HTTP between FMS and the iOS Safari client. I have been experimenting with an Open Source player (JPlayer) and a commercial player (JWplayer) and appear to have these playing a MP3 file as a “progressive download” (I think that’s the right term) as all I’m doing is specifying the file path (no HTTP prefix etc.), i.e. the audio is not really being streamed as I require. Unfortunately, I’ve not found / worked out how to configure my FMS to respond to a path request along the lines of:
    http://www.myserver.com/live/audio1.mp3
    Hopefully someone reading this who is much more expert on FMS, HLS, HDS, HTML5, etc. than me can point me in the right direction!
    What I’m confused about…
    1) Can all my MP3 assets stay as is and still be streamed to the iOS Safari client? To the best of my knowledge, the key properties of my MP3 files are CBR, 44,100Hz, 320Kbps.
    2) If not, can they be converted on-the-fly by FMS or do I need to create additional audio assets to support HLS etc.?
    3) If I have to manually create additional audio assets, how do I do that (I’ve seen references to tools from both Adobe and Apple but not actually found the kits)?
    4) Some of the Adobe documentation I’ve read implies that FMS support for HLS etc. is only available when FMS is used in conjunction with the bundled Apache web server. As stated earlier, my entire site runs on IIS so does that mean to achieve what I want I’ll have to run two web servers on my physical server – IIS for the website itself and Apache for RTMP/HLS/etc.?
    5) What changes do I need to make to my current FMS configuration to get HLS to work? I’m sure someone has been here already and can enlighten me with their experience and hopefully point me to some straight forward documentation to follow!
    6) Lastly, and really part of (5), once I’ve got FMS configured correctly, what would be the typical path to a given MP3 audio file that I would give the iOS Safari browser to make this all work.
    I appreciate this is rather a lengthy first post but hopefully the background puts my questions (and confusion!) in context. Bottom line is… I simply want to be able to stream audio clips only (no video) to iOS Safari browsers from FMS v4.5.5 running on a Win2K8R2 platform with IIS v7.5, and with no audio content being stored (even temporarily) on the iOS platform.
    My thanks and appreciation in advance to anyone who can help me achieve this.
    Steve Barker
    Business IT Solutions

    Hi Apurva,
    Thank you for your reply. Unfortunately I am not much further forward, despite having read more Adobe documentation (FMS v4.5 Configuration and Administration Guide, FMS v4.5 Developer’s Guide) and trying different configuration options.
    First to confirm a point you made when answering point 4 yesterday. Yes, in my current RTMP scenario I have several MP3 assets (let’s call them Audio1.mp3, Audio2.mp3, Audio3.mp3, etc.) that are made available to a bespoke Flash/AS3 player via the LIVE application. I understand that as I purchased the Streaming Edition of FMS v4.5, a Flash-based player is restricted to using the LIVE application. You go on to say that I “publish” these assets to the LIVE application. I set this up a while back but do not recall having to “publish” anything. All I recall doing was to ensure that all the assets (the .mp3 files) were in a single folder and that the folder was identified by the <Streams> tag in the following file (example shown):
    Flash Media Server 4.5\applications\live\Application.xml
                    <StreamManager>
                                    <VirtualDirectory>
                                                    <Streams>/;C:\MP3Library</Streams>
                                    </VirtualDirectory>
                    </StreamManager>
    To the best of my knowledge, I didn’t have to do anything else to make the current solution work. Having read more of the documentation I am still none the wiser as to what I need to do (step-by-step) to “publish” my converted MP3 assets (see next paragraph) to the LIVEPKGR application. Please could you explain these steps to me by way of an example.
    WRT your answer to point 1 yesterday, I wish to clarify the exact output I need to create when converting my MP3 assets. Am I expected to produce a Audio1.aac file, or a Audio1.mp4, file, or a Audio1.m4a file, etc.? Or am I meant to be using ffmpeg (either directly or indirectly) with a much more sophisticated command line that somehow generates stream-rated info/files as well? An example of how you would use ffmpeg to convert one of my MP3 assets would be very much appreciated.
    Lastly, the coexistence of IIS and Apache (ref your answer to point 2 yesterday). That all made sense but given all the testing/changes I’ve been making I thought it wise to start afresh! So I completely removed FMS from my dev server and re-installed Flash Media Streaming Server v4.5.5 with the bundled Apache v2.2 server. When presented with the dialogue “Would you like for Apache to listen on port 80. If not FMS will be using port 80 instead.” I answered NO. When presented with the dialogue regarding FMS server ports, I entered 1935 NOT 1935,80 (should I have done that as the preamble makes reference to HTTP webserver proxy and HTTP Dynamic Streaming origin services?). I then modified the Application.xml file as described above.
    To test the new set-up, I did the following. First, the test environment…
    DEV Server
    Windows Web Server 2008 R2 SP1
    IIS v7.5
    ASP.NET v4.0
    Flash Media Streaming Server v4.5.5
    Apache v2.2
    IE v9.0
    Adobe Flash Player 11 ActiveX v11.5.502.146
    TEST Client
    Apple iMac (Intel)
    Mac OS X v10.6.8
    Safari v5.1.7
    Adobe Flash Player 11 Plug-in v11.5.502.146
    On DEV Server… launched IE and loaded the home page of my website, which has two elements on it – one to load/run our bespoke Flash player, the other to run JPlayer (configured to use HTTP). I selected our bespoke Flash player and it played a MP3 audio file. I verified this in real-time via the FMS Admin Console on the server.
    On TEST Client… entered http://192.168.20.250:8134 into Safari – it comes up with the FMS install completed / test your server page. In the middle of the video display area a black box appears saying “10000 OK” – I clicked OK. I then clicked HDS Single Bitrate – the video plays (Not Using Hardware Acceleration is briefly displayed). There is NO activity logged in the FMS Admin Console back on the DEV server under “live”, “livepkgr” or “vod”. I assume this is because I’ve gone straight to the Apache Server via the port reference – is that correct? Next I tried the HLS Single Bitrate – same results.
    The HDS Single Bitrate logs the following in the Apache access_log file:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    The HLS Single Bitrate logs this:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 200 816 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num0.ts HTTP/1.1" 200 1143416 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num1.ts HTTP/1.1" 200 873072 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag2Num2.ts HTTP/1.1" 200 1591984 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    etc…
    At this point I’m stuck once again since I’m not clear how to construct the JPlayer HTTP reference. You have suggested:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
    That produces the following in the Apache error_log file:
    [error] [client 192.168.20.4] File does not exist: D:/Program Files/Adobe/Flash Media Server 4.5/webroot/hls-live
    If I change the JPlayer HTTP reference to:
    http://192.168.20.250:8134/hls-vod/sample1_1500kbps.f4v.m3u8
    the audio from the video plays.
    Also, if I look in the applications\livepkgr folder structure there is only \events (with sub-folder _definst_ and sub-sub-folder liveevent) – there are no _definst_ , livestream , streams folders etc. So besides me not quite understanding the logic/flow here, I seem to be missing a few folders/files too! I’d be very grateful for any light you can shed on all this. Plus an example of what my HTTP string should ultimately look like; for example:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/Audio1.m3u8
    Apologies for such a long reply but I’ve been at this for over 10 hours today! I feel I’m getting closer but clearly there are still some gaps and configuration errors.
    Thanks again for your time, support, patience and understanding.
    Kind Regards, Steve

  • HDS streaming not working on FMS 4.5. HLS is!

    Hi. I would appreciate someone's help with this problem. I am streaming from FME to FMS a live stream. The streams plays fine on iOS and Android devices, but on a web based flash player, it does not.
    The web test I'm doing is on http://www.osmf.org/configurator/fmp/# with the URL: http://127.0.0.1/hds-live/livepkgr/_definst_/liveevent/videostream02.f4m
    The URL I use for iOS is: http://127.0.0.1/hls-live/livepkgr/_definst_/liveevent/videostream02.m3u8
    What could be the problem?
    Thanks.

    Here's what I got from the error log:
    [Thu Dec 20 14:41:01 2012] [error] mod_f4fhttp [400]: Mjc5NTUwMDY2NA=.stream is an invalid file.Bootstrap path incorrect in stream file.
    [Thu Dec 20 14:41:01 2012] [error] [client XXX.XXX.XXX.XXX] File does not exist: C:/Program Files/Adobe/Flash Media Server 4.5/webroot/hds-live, referer: http://www.osmf.org/configurator/fmp/
    Here's the config:
    <Location /hds-live>
        HttpStreamingEnabled true
        HttpStreamingLiveEventPath "../applications"
        HttpStreamingContentPath "../applications"
        HttpStreamingF4MMaxAge 2
        HttpStreamingBootstrapMaxAge 2
        HttpStreamingDrmmetaMaxAge 2
        HttpStreamingFragMaxAge -1
        Options -Indexes FollowSymLinks
    </Location>

  • I share a photo stream with a family member. Is there a way to make it so we have separate photo stream but still use the same apple id?

    i share a photo stream with a family member. Is there a way to make it so we have separate photo stream but still use the same apple id?

    You'll want a separate iCloud account for each user in addition to the main Apple ID used for purchases.
    Let's say you have a family of four (husband, wife, and two children). Here is what you will need:
    Main Apple ID for shared purchases in Tunes (everybody will be using this)
    iCloud (Apple ID) account for husband
    iCloud (Apple ID) account for wife
    iCloud (Apple ID) account for child 1
    iCloud (Apple ID) account for child 2
    Yes, you can have both an Apple ID and iCloud account setup on the same device. On each iOS device, setup the main Apple ID account for the following services:
    iCloud (Photo Stream and Backup are the only items selected here).
    Music Home Sharing
    Video Home Sharing
    Photo Stream
    Additionally, on each iOS device, add a new iCloud account (Under Mail, Contacts, Calendar) that is unique to each user for the following services:
    Mail (if using @me.com)
    Contacts
    Calendars
    Reminders
    Bookmarks
    Notes
    Find My iPhone
    Messages
    Find Friends
    FaceTime
    On your individual Macs (or Mac accounts), use the main Apple ID in iTunes. Then, use the unique iCloud account in/for iCloud.
    Now that everbody is using separate iCloud accounts for your contacts, calendars, and other things, it will be all be kept separate.
    The only thing that is now 'shared' would be iTunes content (apps and other purchases), backups via iCloud (if enabled), and Photo Stream (if enabled).

  • Is this Possible? Stream Video File using Server or Encoder?

    Is it possible to stream a video file (.mp4) Live using the Flash Media Encoder or by placing the file in an app instance on a flash media streaming server?
    Thanks!

    First of all lets call it Flash Media Interactive Server (adding Streaming becomes little confusing to readers as we have Flash Media Streaming Server) - both are FMS but two different edition.
    Now coming to FMIS, you can place all your video files in "streams" directory of application in the simplest configuration and then use Server-side API Class "Stream" to play them. When you use Stream class to play VOD files, it basically becomes live publish and is available as live stream. I will give you simple code snippet which will explain what i am saying above:
    var myStream;
    application.onAppStart = function(){
         myStream = Stream.get("livestream");
         myStream.onStatus = function(info){
              trace("Info code:"+info.code);
        myStream.play("mp4:myvod.f4v",0,-1,true);
    Now client will subscribe to live stream using stream name as "livestream" and it will basically get all the content of mp4:myvod.f4v
    Say if you save above code in file named main.asc and place it in application folder named "test" on FMS, you will need to copy "mp4:myvod.mp4" inside "streams" i.e. create "_definst_" folder or any instance name folder under "streams" folder of "test" and place the file there
    Hope this helps

  • How to stream video from FCS/FMS on Flex 2.0?

    Has anyone figured out how to stream video from FCS/FMS on
    FLEX 2.0?
    I've been working with all the sample code I can find,
    especially the
    FLEX 2.0 samples found in the Adobe documentation, but I'm
    having a heck of a time getting any of them to work.
    If any one has any working code that streams video from
    FCS/FMS using
    FLEX 2.0 that I can work with I would greatly appreciate it.
    Thanks
    Chris S.

    Some thinks that where helpful for me:
    http://coenraets.com/viewarticle.jsp?articleId=98
    http://flash-communications.net/technotes/fms2/flex2FMS/index.html
    NOTE: Only try and attach the Video and start the publishing
    of the video after you have a successful NetConnection.

  • How to Delete Entire Photo Stream in iOS 6

    Here's how to delete and reset the entire Photo Stream in iOS 6.
    WARNING: This will delete all 1000 photos in your Stream so make sure you're ready to do this (by backing them up).
    Delete the Photo Stream
    Note: You cannot have your device hooked up to a PC or Mac during this procedure.
    In Settings, select "Photos & Camera" (in the left column on iPad).
    (On the right in iPad) move the slider for "My Photo Stream" to Off.
    It will ask you if you want to keep or delete your photos. Choose Delete.
    If you're doing this on multiple devices, make sure to complete these three steps on each device before continuing.
    You have successfully turned off and deleted the Photo Stream, but you're not done. Now you need to reset the Photos app so that it won't re-download the photos from iCloud if you choose to turn Photo Stream back on.
    Reset Photos App
    Launch the multi-tasking App Tray. On most devices, press the home button twice.
    Remove the Photos app from the App Tray, by holding down the Photos icon until the red X appears on the icon.
    Press the red X. The icon will disappear from the App Tray.
    You're done! Now, you may launch the Photos app from the home screen if you wish.
    Turn Photo Stream Back On (Optional)
    If you want to use the Photo Stream feature for future photos, you may turn the Photo Stream feature back on.
    In Settings, select "Photos & Camera" (in the left column on iPad).
    (On the right in iPad) move the slider for "My Photo Stream" to On.

    I haven't done it in a while but you may want to connect the phone to your Mac and open Image Capture on the Mac. I don't remember that it allows deleting by folder but if not it still would be faster than doing it one by one on the phone. The delete icon is at the lower left (red circle with line through it).

  • Two incoming streams to the same FMS box?

    Hello,
    I'm trying to figure out whether or not it's possible to have two incoming streams to the same FMS server. Every time I try to search this information, I find stuff on having multiple outgoing streams, but nothing on multiple incoming streams.
    The two streams will have the same content, but will use different video / audio codecs, and be set to different resolutions / bitrates. 
    I don't want to spend the money on another server, so it'd be great to know if FMS can do this.  Thanks.

    Thanks for the response, JayCharles!
    I have another FMS question that's related, so I will ask it here...
    Is it possible to convert a single video stream coming into Flash Media Server into two separate video streams in different formats?
    To be more specific: If I have a video stream coming into Flash Media Server at a high-resolution / bitrate encoded in H.264, is it possible to, on the Flash Media Server, convert that stream into a lower resolution / bitrate VP6 stream on-the-fly, and have the server output both streams simultaneously?
    Thanks again.

  • [svn:osmf:] 13538: Modified the RTMP dynamic streaming sample to use the new SMIL plugin.

    Revision: 13538
    Revision: 13538
    Author:   [email protected]
    Date:     2010-01-15 16:26:36 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Modified the RTMP dynamic streaming sample to use the new SMIL plugin.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/DynamicStreamingSample.mxml
    Removed Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/src/org/

    But DynamicStream.as is part of the code base and the does get executed.   Jody, which version of DynamicStream.as is more current?   The one that ships with FMS 3.5 or the one in tools?
    Can anyone answer my original question (I think) which is: should I be able to switch source = http://dynamicStream1.smil -> source = http://dynamicStream2.smil and back and forth etc.  It seems to work.    Are there any caveats?  I am not switching back and forth between flv-s and smil-s
    It turns out that there are a couple of lines of code in NCManger.as::bitrateMatch() which is concatenating the streamName and this results in 404 on the FMS side.   I'm not sure what this is supposed to do or if this is just a bug, but the upshot was that I could not specify source = http://dynamicStream.smil on a remote server.  The uncanny part of this issue is if I serve the same smil locally, referencing remote remote smil and media, it works.  Maybe this has something to do with the bit rate.    Bottom line is that this cost me 3 days, becuase I was under the incorrect impression that you could not reference *.smil directly and I blindly followed the handrail provided by the the FMS videoPlayer sample.  Shame on me for trying to leverage working code shipped with a production version.
    NCManger.as::bitrateMatch()
    if  
    (_streamName != null
    ) {_streamName += _streams[whichStream].src;
    My incling is to change the += above to an = and get on with it.
    If someone at adobe or anywhere can have a look and give me some other guidance, it would be much appreciated.
    Thanks to Sean for the kind and detailed responses and giving me the green light that source=http://dynamicStream.smil _should_ work.
    Thanks to all.

Maybe you are looking for

  • Custom tag or javascript

    I have few JSP pages with input fields. I want to do vaildation for these input fields. (check if empty and popup message) Approach to do the same are:1.Define javascript and include the .js in all the JSPOR 2. Define custom tag for form and use it i

  • Opening a Folder from Flash Exe

    I am actually looking for a solution where in I can open a folder by clicking a button in my Flash executable file. E.g., I have 'dbs.exe' I have a button in this file linking to Windows folder. when this button is clicked it should open the 'Windows

  • APO DP - use of forecast settings

    I am using APO DP V5. In my planning area I have <u>one</u> set of forecast settings specifying a forecast key figure x, corrected history key figure, corrected forecast key figure, ex post key figure. I have two master forecast profiles, one specify

  • Create Report Painter using LIS table

    Hi Expert, I'n new in ECC version but I found we can create report painter using LIS table, but I'm not success to create report without error or debug Anybody have the documentation about it ?  or tell me how it works ... Please ..urgent...need to t

  • Adobe Reader X and Page Embedded PDFs

    We are experiencing an issue across our corporation wherein, post-upgrade to Adobe Reader X, websites opened with Internet Explorer containing an embedded PDF frame now show a blank box instead of the PDF.  Firefox will display these sites correctly