Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
manolamancha #1
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
-
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... -
Enterprise Policy?
In the .NET Framework Configuration tools you have three levels of Runtime Security Policy: Enterprise, Machine and User. As I understand... -
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 -
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. ... -
group policy
You use local security policy in the admin tools. Local policy applies to _all_ accounts. "paul" <am2bz@comcast.net> wrote in message... -
fmslove #2
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
-
manolamancha #3
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



Reply With Quote

