FMS Policy and VideoSampleAccess

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default FMS Policy and VideoSampleAccess

    Hello! I'm trying to access the raw audio and video samples from an RTMP stream
    and I've done my research but can't overcome the last step. I have FMS 3.0
    installed locally and authoring in Flash CS3 with the latest patches and
    updates. In the Application.xml file I added the two lines:

    <AudioSampleAccess enabled="true">/</AudioSampleAccess>
    <VideoSampleAccess enabled="true">/</VideoSampleAccess>

    inside the <Application> element to allow access from the client, and rebooted
    the server to make sure it took hold. (and the XML is in the standard VOD
    application folder). Then I fire up CS3 that is trying to use
    SoundMixer.computerSpectrum to read the audio samples, but I keep getting the
    following sandbox issue.

    SecurityError: Error #2123: Security sandbox violation:
    SoundMixer.computeSpectrum:
    file:///C|/Users/me/Documents/flashstuff/monitor.swf cannot access
    rtmp://localhost/vod. No policy files granted access.
    at flash.media::SoundMixer$/computeSpectrum()
    at monitor_fla::MainTimeline/onEnterFrame()

    I'm sure its something simple thats missing. Any ideas? Thank you very much
    for your help!

    manolamancha Guest

  2. Similar Questions and Discussions

    1. VideoSampleAccess
      Adobe Air 1.0 application displays an rtmp mp4 stream from FMS3. I'm trying to capture a frame of video with BitmapData.draw and get a security...
    2. Enterprise Policy?
      In the .NET Framework Configuration tools you have three levels of Runtime Security Policy: Enterprise, Machine and User. As I understand...
    3. policy
      Any one knows of any good site that has a step by step tutorial on how to set up policies? I havent seen any. Thank
    4. c.u.s.m policy
      Last week I attempted to attach a 20KB text file (output of a hw command) to a reply, and found that the entire post never made it to the list. ...
    5. group policy
      You use local security policy in the admin tools. Local policy applies to _all_ accounts. "paul" <am2bz@comcast.net> wrote in message...
  3. #2

    Default Re: FMS Policy and VideoSampleAccess

    As described in default live/vod apps that comes with FMS3.0; you need to
    explicitly write these to lines in the server-side script.

    // Inside Function :application.onConnect = function( p_client, p_autoSenseBW
    ){

    p_client.audioSampleAccess = "/";
    p_client.videoSampleAccess = "/";

    }

    fmslove Guest

  4. #3

    Default Re: FMS Policy and VideoSampleAccess

    Thanks FMSlove. I tried pasting that code alone into a main.asc file in the VOD
    folder but it still didn't work. Then I copied the whole sample VOD folder into
    the main one, uncommented the video and audio lines, and now its working great.
    Thanks again!

    manolamancha Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139