toutnue12300 / flash-videoio

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

bidirection not working when security dialog shows up #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've found another possible bug:

First reported by marcin.kurylak@innodia.pl on Oct 10, 2012
--

If I have a video io component playing a video, and than via flashvars I set:

self.flashObject.setProperty('bidirection', true);
self.flashObject.setProperty('src', URL + '?publish={USER1_ID}&play={USER2_ID});

if security dialog shows up and I accept it it seams to ignore bidrection or 
play property - it shows preview of my cam.

If security dialog does not show up (it was accepted earlier) - everything 
works as it should.

I have also tried to set setProperty('play'... setProperty('publish'....) with 
the same effect.

Regards,
Marcin

Original issue reported on code.google.com by theinten...@gmail.com on 13 Oct 2012 at 5:42

GoogleCodeExporter commented 9 years ago
Verify if this is related to issue #41.

Original comment by theinten...@gmail.com on 14 Oct 2012 at 6:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It does not look like it is related to  issue #41 .  Issue #41  is fixed and 
issue #45 is still there. 

I'll provide an example code to generate as soon as possible.

Original comment by marcin.k...@innodia.pl on 17 Oct 2012 at 12:07

GoogleCodeExporter commented 9 years ago
I tried this on Chrome with Flash Player 11.1.102 but failed to reproduce this 
issue.

1) Run rtmp.py locally assuming file3.flv exists in the current directory.
2) Use test page http://myprojectguide.org/p/flash-videoio/test.html
3) and set "src" to 
rtmp://localhost/myapp?bidirection=true&play=file3&publish=live

I also tried the following. Reload the test.html page in Chrome. Launch the 
JavaScript console. Then type the following.
var v = getFlashMovie("video1")
v.setProperty("bidirection", true)
v.setProperty("src", "rtmp://localhost/myapp?publish=live&play=file3")
This also worked when security panel is opened. It played file3 instead of 
showing live cam feed.

I changed file3 to live in both cases above, and seemed to work.

Original comment by theinten...@gmail.com on 17 Oct 2012 at 4:10

GoogleCodeExporter commented 9 years ago
Hi Marcin, 

In your example code:

self.flashObject.setProperty('src', URL + '?publish={USER1_ID}&play={USER2_ID});

The closing quote ' is missing. Hope this is just a copy paste error in the 
comment, but not in your code.

Original comment by theinten...@gmail.com on 17 Oct 2012 at 4:11