murarinayak / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

VideoStreamMaterial doesn't work #152

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use a VideoStreamMaterial

What is the expected output? What do you see instead?
I can't see the video as I should.

What version of the product are you using? On what operating system?
Current head version of papervision3d, flex sdk 3.2

Please provide any additional information below.
I guess this has to do with the security enhancements for streaming video
and BitmapData? The same code using an embedded video (and MovieMaterial)
works fine

Original issue reported on code.google.com by Jeroen.D...@gmail.com on 18 Dec 2008 at 12:05

GoogleCodeExporter commented 8 years ago
I tried running the generated swf file through fdb (flex debugger), and I get 
the
following exception:

SecurityError: Error #2123: Security sandbox violation: BitmapData.draw:
file:///Users/jdierckx/svnprojects/URBAN/data/odv-flash/odvStreamed.swf cannot 
access
http://lumumba.uhasselt.be/~jedi/odv/omni-libx264-6M-s512.mp4. No policy files
granted access.
    at flash.display::BitmapData/draw()
    at org.papervision3d.materials::MovieMaterial/drawBitmap()
    at org.papervision3d.materials::MovieMaterial/updateAfterRender()
    at org.papervision3d.core.render.material::MaterialManager/updateMaterialsAfterRender()
    at org.papervision3d.render::BasicRenderEngine/doRender()
    at org.papervision3d.render::BasicRenderEngine/renderScene()
    at org.papervision3d.view::AbstractView/onRenderTick()
    at edm.odv::ODVViewer/onRenderTick()

Original comment by Jeroen.D...@gmail.com on 18 Dec 2008 at 12:20

GoogleCodeExporter commented 8 years ago
Yeah, since Adobe has closed the loop on disconnecting the NetStream object and
re-attaching it, we can no longer get access to RTMP video streams with 
bitmapData
object. The only way this can happen is if you're using FMS3 and set permission 
the
SERVER to allow this.

Original comment by neori...@gmail.com on 29 Dec 2008 at 5:01