Streaming Video and Bitmap Draw issues.

Hello all,
In the current application I'm developing, I have a custom
video console. While watching a video, certain points in the
timeline will pop up a dialog box that gives the user the ability
to switch to a related video. If the user clicks the button to view
the related video, a 3D effect flips the current "main" console to
a secondary "branching" console - much like the flip effect the
iPhone uses. The videos are streaming from FMS 3, the client
application was developed in Flex, and we are using Alex Uhlmann's
Distortion Effects to achieve the 3D flip effect.
When I first started developing the application, I ran in to
the infamous "Security sandbox violation: BitmapData.draw" error
whenever I would try the flip. After some investigation on the web,
I found that I needed to set the Client.videoSampleAccess property
in my FMS application's main.asc to allow bitmap snapshot access. I
did so, and that seemed to do the trick. After playing with the
application a bit more, however, I found that the error would still
come about if I did the following:
1. Pause the video (stream)
2. Perform a seek while paused.
3. Attempt the flip effect.
When I did the above, the error came back. If I paused,
performed a seek, and then unpaused the video, everything worked
fine. If I pause and then immediately do the flip without a seek,
everything works fine.
It seems as though when you pause and then perform a seek,
the player forgets that it has permission to do a frame grab until
you restart playback.
Has anyone else had this issue, or anything similar? If so,
how did you solve it?
Thanks,
--G
(For reference, here is the actual Error that is getting
thrown)
SecurityError: Error #2123: Security sandbox violation:
BitmapData.draw:
http://localhost/Bison/trunk/BisonClient/bin/BisonClient-debug.swf
cannot access rtmp://localhost/digitaltutors. No policy files
granted access.
at flash.display::BitmapData/draw()
at
sandy.util::DistortImage/renderVector()[C:\workspaces\flex2.0.1\AlexFlexLibrary\sandy\uti l\DistortImage.as:190]
at
sandy.util::DistortImage/initialize()[C:\workspaces\flex2.0.1\AlexFlexLibrary\sandy\util\ DistortImage.as:107]
at
com.adobe.ac.mxeffects::SimpleDistortion/initDistortImage()[C:\workspaces\flex2.0.1\AlexF lexLibrary\com\adobe\ac\mxeffects\SimpleDistortion.as:501]
at
com.adobe.ac.mxeffects::SimpleDistortion/renderSides()[C:\workspaces\flex2.0.1\AlexFlexLi brary\com\adobe\ac\mxeffects\SimpleDistortion.as:357]
at
com.adobe.ac.mxeffects::SimpleDistortion/flipFront()[C:\workspaces\flex2.0.1\AlexFlexLibr ary\com\adobe\ac\mxeffects\SimpleDistortion.as:98]
at
com.adobe.ac.mxeffects.effectClasses::FlipInstance/updateFront()[C:\workspaces\flex2.0.1\ AlexFlexLibrary\com\adobe\ac\mxeffects\effectClasses\FlipInstance.as:46]
at mx.effects::Tween/
http://www.adobe.com/2006/flex/mx/internal::doInterval()[C:\dev\flex_201_gmc\sdk\framework s\mx\effects\Tween.as:567
at
mx.effects::Tween$/timerHandler()[C:\dev\flex_201_gmc\sdk\frameworks\mx\effects\Tween.as: 177]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Hi,
I've been searching all over for someone having the same
problem that I am.
I'm seeing nearly the same thing that you are. I have
SWFVerification turned on and the swf copied over to the correct
directory. If I stream an FLV and attempt to capture grab the
bitmap data it works fine. Always.
If I try the same thing with a .mov or .mp4 file it mostly
works, but sometimes (after doing basically the same thing you've
described in your message), I get the SecurityError. If I try again
after a delay of a few seconds, sometimes it works. When that
doesn't work, if I seek a 1/10th of a second ahead in the video
then try again, it almost always works. But sometimes that, too,
fails.
Have you found a reliable solution to your problem? Has
anyone else seen this issue? I would file a bug for FMS, but it
looks like the bug-tracking system for FMS is not public. It would
be nice for it to be public.
regards,
david

Similar Messages

  • I have been streaming videos and music from my phone and iPad. I just got a new MacBookPro and when I try to stream from it, I get the mirror image, but no sound. ????

    I have been streaming videos and music from my phone and iPad. I just got a new MacBookPro and when I try to stream from it, I get the mirror image, but no sound. ????

    Hi Avonbikerider,
    If you are only having the audio issue when Airplay Mirroring from your MacBook Pro, you may find this forum discussion helpful:
    Apple Support Communities: No Audio when Airplay Mirroring from Mac to Apple TV
    https://discussions.apple.com/thread/4167956
    Regards,
    - Brenden

  • Problems with streaming videos and sound

    Hi,
    I'm having troubles with streaming videos and I also have sound issues. After upgrading to latest flash player version, everytime I stream videos on the internet (youtube,vimeo,etc.),  videos are constantly freezing every 7 seconds. It is so annoying. Also, my audio does not work.
    With greatest respect, I would be eternally grateful if you could help me with this.
    Jelmar

    Everything will be find if you follow those step
    Install Window XP service pack 1 or later version
    then after install flash the BIOS to V 1.4 from the one that given (1.3)
    After flash then enable the Sound card feture and choose Azalia and not AC97 Then at the same time enable the USB and Lan.
    Final restart again the computer. The window should detect the 3 thing. Last last install the driver from the CD given. Then everything will work out.

  • How can i stream video and audio from macbook air to my tv?

    how can i stream video and audio from macbook air to my tv?

    Wirelessly: you need an AirPlay - enabled device such as an AppleTV.
    Wired: if your TV has an HDMI port, you need a Thunderbolt to HDMI adapter such as this one:
    Mini DisplayPort to HDMI® Adapter w/ Audio Support
    If your TV does not have an HDMI port you will need a converter that will convert HDMI input to whatever input your TV requires.

  • I can stream video and movies to my imac. How can i stream these thru my apple tv to a TV screen/

    I can stream video and movies to my iMac. How do I stream these thru my Apple TV to my  TV?

    If you don't get an answer here, you might want to post in the Apple TV discussion here.

  • E1500 wireless router having problems streaming video and netflix

    We got a new E1500 router 2 nights ago. The internet works fine, but it has big trouble streaming videos and Netflix, those types of things. I have changed my MTU setting and all the settings suggested in the "Guide Me" section. My drivers are up to date on my router and on my pc. It just started happening with this router. We had a Netgear before and we have no problems streaming at all. I have rebooted and reset the router and cable modem.
    Does anyone else have some suggestions I can try?
    Thanks,
    Debbie

    The concern that you have is for both wired and wireless or just for the wireless? If it is for wireless then try these troubleshooting steps:
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
    1] Open the software and go to the option which says "Router Settings"
    2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
    3] Then go to the Wireless tab, change Channel width to 20 MHz only and change the Channel to 6, 9, 11...Save the settings..
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the username field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
    Then check the status of streaming video and netflix.

  • Logic audio engine crashes while streaming video and recording 4 channels simultaneous audio

    logic audio engine crashes while streaming video and recording 4 channels simultaneous audio

    Hi there,
    I also wanted to thank you for your response and let you know that I have tried all those trouble shooting things you suggest to no avail.
    it seems to me that the first explanations are most likely to be the case.
    namely that the program can multithread while the plugs only use one processor (particularly EXS24) which is bloody useless.
    also increasing the buffer to 1024 is not an option cause you gotta bloody lay tracks, which means you gotta hear the BG tracks and play yours on top in time otherwise, you record your new tracks and they are so out of time that it sounds like a little kid wanking on a guitar or whatever...
    and of course for composition with midi intruments it doesn't work at all cause your latency becomes so huge that you would need a miracle to quantize your off time notes back to normal so that you can arrange, print score, etc.
    either way, I hope that my tone is not disrespectful, it is aimed at apple in frustration, I'm grateful for your help.
    thank you
    David

  • Streaming Video and Audio Using Flash

    Need help, streaming video and audio using Flash and/or
    Dreamweaver, want it to load fast and be very clear. It is
    imparitive that I have control buttons. Can any one assit me in the
    best methods to follow that will give me the performance variance.
    Jason

    Check out tutorials & samples here : http://www.adobe.com/devnet/flashmediaserver.html
    You can check even fmsguru.com : http://fmsguru.com/tutorials.cfm?tab=all

  • Noticeable lag when using drawing tablet, streaming video, and simple games

    Hi, I'm using a Toshiba Satellite Laptop model A335D-S69221. There is a noticeable lag when using my drawing tablet, streaming videos (such as youtube), and games that are not  "fast" such as This War of Mine and Don't Starve. All drivers and the system is newly wiped and up to date.  When visiting web pages if there are embedded videos it causes a whole system lag until it either asks me to stop script or I close the page.  Colors and graphics look just fine.  No problem playing fully downloaded videos. The programs themselves work just fine and the lag only happens with the above mentioned activities.  Not a virus.
    Is this an issue that can be solved by increasing the RAM from 4GB to 6GB or 8GB?  Or is it an issue with the graphics card?  I suspect RAM but don't want to shell money on the wrong thing. Most of the programs say 4GB is required but it almost seems bare minimum.  Is my laptop even worth upgrading?
    Unfortunately it takes away my ability to draw and makes gaming progress annoyingly slow.  Once the lagging action is complete it works ok but just repeats. 
    Windows 7 Home Premium
    Processor: AMD Turion X2 Dual-Core RM-72 210 GHz
    ATI Radeon 3100 Graphics
    Memory: 4GB
    64-bit

    Jessica Hennings
      this is my personal opinion as a guy who had more than 5 pcs, 4 gaming laptops and other mac books for work in the past.
      I believe it is slightly an older model of Toshiba you are using, your drawing tablet relies on your Ram but not as much as it relies on your GPU which would be the graphics card processor. So none of those upgrades will give you a significant change on things you want to do. 
     I would rather suggest you a newer model for the things you do with your budget than getting rams for your computer. Both of you are processor and graphics card.
     If you want to upgrade, Ram is your cheapest option, but check out the slots, usually they have 2 slots, and 2 x 2GB on them, so if you buy a 4GB , you get 6. DDR II is kinda out of date with current programs and software, keep that in consideration aswell. 
     I do not think any upgrade you spend money on will give you the speed you want to feel.

  • Streaming video and USB woes

    Hello, I have 10.5.7 installed on a macbook pro (october 2006 model).
    When I am watching streaming video in safari (I'm a baseball fan, and keep up with my team on mlb.tv), I have issues with my USB ports. For some reason, they turn off and on while streaming video. All of my harddrives, mouse, and keyboard disconnect and reconnect a few seconds later. I am using 2 powered USB hubs and the issue happens no matter the configuration. And it only happens when I stream a video (in flash, if that matters).
    Please tell me there is a fix, because my computer is basically unusable when this starts to happen.
    Thanks,
    -Daniel Brim

    If you have items connected directly to the computer, do you have issues? Try connecting 2 peripherals at a time to your computer (or 3, if you have that many USB ports on the computer) and see if they work fine. If so, the problem may be with the hubs you're using.
    ~Lyssa

  • Streaming video and bluetooth stereo

    I have the Blackberry Curve with T-Mobile with v4.5.0.81 and the Motorola HT820 stereo bluetooth headset.  I am able to listen to regular music and videos on the microsd card on the HT820, but when I play streaming video online there isn't an option to activate the HT820.  Is this a limitation of streaming video online, a BB software issue, or a setting I need to change.  Thanks!

    The curve 8330 handles some streaming formats... With the MobiTV app I'm told you can watch streaming video of various cable channels including news and discovery channels and such. You can also view some video clips from www.youtube.com Not the flash clips of course! As far as streaming audio you can download slacker radio and flycast and have a semblance of streaming audio. I'm hoping for winamp/real audio type support of streaming media very soon to listen to various internet radio stations that aren't included in the aforementioned radio apps. Sidenote: Money rules everything, everywhere

  • Vividas Streaming Video and Safari

    In an attempt to see a video that apparently uses Vividas Streaming video, Safari gives the following error message:
    Can't use Java Script here. Cannot run the script "set Mac Loaded Percentage (0)" because Safari does not allow Java script to used in this way.
    At least Safari gives an error message. Both Netscape and Internet Explorer just quit when I try to access this video.
    I am not an experienced computer user and do not know about Java but would really like to see this video and my internet server could not help. Thanks for your reply.

    If you have items connected directly to the computer, do you have issues? Try connecting 2 peripherals at a time to your computer (or 3, if you have that many USB ports on the computer) and see if they work fine. If so, the problem may be with the hubs you're using.
    ~Lyssa

  • Quicktime Pro 7.0.3 Streaming Video and HD not working

    How do I enable the streaming video for web sites to play in the webpage? All I see is a broken file image in the window where the movie should be playing.

    It appears you either don't have the QuickTime plug-in installed or it is turned off.
    The page worked fine for me.
    Your version of Internet Explorer is showing an "image" placeholder and, obviously, QuickTime is a .mov file.
    http://movies.apple.com/movies/paramount/missionimpossible_3/mission_impossible_3-tlr1h.640.mov
    Open QT Player, Open URL (File menu) and paste the link above. If it plays QuickTime works. Paste the URL in a different browser and see if it works. If it does then the QT plug-in works which means the issue is with IE.
    I would throw IE off my PC and get a real browser.

  • Internet streamed Video and Audio Lag when I roll over buttons/change tabs

    Well just as the title suggests when I am watching videos online, aka youtube, hulu, etc, everything runs fine. But if I decide that I also want to check my facebook or something similar while watching these movies, the video and audio become choppy, even to the point where my audio will become distorted, and the video will just plain freeze. I'm wondering if this is a computer issue and if so how can I fix it?
    I'm on a late 2007 13" white macbook, with a 2.16 GHz Intel Core 2 Duo and 2GB of RAM. I'm also using Google Chrome, but it also happens on Safari.

    Well just as the title suggests when I am watching videos online, aka youtube, hulu, etc, everything runs fine. But if I decide that I also want to check my facebook or something similar while watching these movies, the video and audio become choppy, even to the point where my audio will become distorted, and the video will just plain freeze. I'm wondering if this is a computer issue and if so how can I fix it?
    I'm on a late 2007 13" white macbook, with a 2.16 GHz Intel Core 2 Duo and 2GB of RAM. I'm also using Google Chrome, but it also happens on Safari.

  • Streaming video and audio (tv news)

    a friend of  mine here in  England can watch bBBC news 24  on his   mobile phone, should my BB  be able to do or does it need some special extra  softwarethat?   or does it need some special extra  software?

    The curve 8330 handles some streaming formats... With the MobiTV app I'm told you can watch streaming video of various cable channels including news and discovery channels and such. You can also view some video clips from www.youtube.com Not the flash clips of course! As far as streaming audio you can download slacker radio and flycast and have a semblance of streaming audio. I'm hoping for winamp/real audio type support of streaming media very soon to listen to various internet radio stations that aren't included in the aforementioned radio apps. Sidenote: Money rules everything, everywhere

Maybe you are looking for

  • How do i tranfer music from one computer to another

    i have a computer with tons of music on it, and i just got a macbook air & i would like to transfer all the music, i dont know how to do that. anyone???

  • How do I print to a dot matrix printer using LPT1?

    Sorry, reposting the question. Hit the wrong button on the forum. OS is XP.  I have an old application that worked previously. I built a new executable and installer and installed on my target machine. This is a new machine but same brand and model m

  • Web Galleries and Passwords

    Are web galleries able to be password protected?

  • Embedded flash not behaving correctly

         I am having some problems with embedding flash into a PDF and I hope you can help. When I run the flash outside the PDF, all of the rollovers and cursor changes behave correctly. However, once I embed the flash into the pdf and launch it, when I

  • Drive C almost full and Drive E empty

    I bought this 1TB PC primarily for gaming. It's brand new, I did not partition any drive or do any configuration. Just installed some games, then when I tried to install Microsoft Office, I was told there is insufficient space. When I look at my syst