merl0t / flash-videoio

Automatically exported from code.google.com/p/flash-videoio
0 stars 0 forks source link

IE9 peer-to-peer problem on flashio 2.7 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When doing a pee-to-peer call both sides using Internet Explorer 9
one side can see and hear the other side BUT the other side can't see or hear 
anything.
YES i did everything right. Because if at least one of the sides is using 
another webbrowser such as Chrome it will be fine. Both will be connected but 
it only happen when both are using IE9.
So WHAT'S WRONG PLEASE?
There must be a bug with this 2.7 and the IE9.
here's how i'm using it:
note: THE ONLY WAY the IE9 or other browsers will work correctly.

<!--[if IE]>
<object type="application/x-shockwave-flash" data="VideoIO.swf"
    id="video2" width="320" height="240">
    <param name="movie" value="VideoIO.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="flashVars" value="controls=true" />
    <param name="wmode" value="transparent" />

</object>
<![endif]-->
<!--[if !IE]> -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="video2" width="320" height="240" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
            <param name="movie" value="VideoIO.swf">
            <param name="quality" value="high">
            <param name="bgcolor" value="#000000">
            <param name="allowFullScreen" value="true">
            <param name="allowScriptAccess" value="always">
            <param name="flashVars" value="controls=true">
            <param name="wmode" value="transparent" />
            <embed wmode="transparent" src="VideoIO.swf" quality="high" bgcolor="#000000" width="320" height="240" name="video2" align="middle" play="true" loop="false" allowfullscreen="true" allowscriptaccess="always" flashvars="controls=true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">

    </object>
<!-- <![endif]-->

Original issue reported on code.google.com by roge...@toratora.com.br on 24 Feb 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Qeustion 1: Does control panel appear on the side that does not play video? 
This will determine whether the Flash application is loaded at all or not? Also 
change wmode to "window" if that helps.

Question 2: Are you getting any callback (such as onCreationComplete) in your 
Javascript when using this type of embed? In my experience you need the nested 
object/embed tags with object's classid instead of type to enable the correct 
ExternalInterface calls from Flash application to Javascript. If external 
interface callback does not work, then you cannot get the nearID of this side 
to be sent as farID of the otherside, hence P2P mode won't work.

Question 3: Are the IE9 versions and Flash Player versions on both sides same? 
I heard rumors that IE9's 64-bit version won't work with Flash Player's 32 bit 
version. One way to verify this is to use IE9 on both sides and first call from 
first to second and then from second to first. If in both experiment, the same 
IE9 side does not show video, then perhaps a version issue.

Let us know

Original comment by kundan10 on 24 Feb 2012 at 4:29

GoogleCodeExporter commented 9 years ago
Here's the thing.. everything you said i checked before. Flash loaded.. wmode 
to window.. and it get's call back when the embed/object is working correctly..
BUT nested NEVER EVER works with IE9, NEVER. and i tried ALL ways.. and both 
are 32 bits..
Is there any issue with FLash versions alone? like if somebody doesn't update 
the last version of Flash..Would that be the issue?
Cause it's odd.. Cause now i found out it's not about IE but the computer.. 
Some computers it doesn't work some it does.. like some they can see me but i 
can't see them. And some they can't see me or be seen.
I was wondering it's Flash versions and not the code. If it was the code the 
same error should happen with other computers doind the same thing, using the 
same browser and same version (32 bits) and both with flash installed.
what do you think?

Original comment by alanspo...@gmail.com on 27 Feb 2012 at 5:43

GoogleCodeExporter commented 9 years ago
I agree that if it is the code, it should behave the same. I suspect it is the 
Flash Version. What version does it work on and what it does not?

Original comment by kundan10 on 27 Feb 2012 at 7:40