Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    VMPExtremeShot with FireFox 1.5

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi,
I've been tackling with this annoying little thing for a while and I finally got some sense to it.. If you have a scene that uses VMPExtremeShot with RemotePersist everything works ok if you send the image via IE. However if the client uses FireFox (at least 1.5.0.7) some extra bytes are added at the beginging of the image stream. Because of this the stream is not regognized as a valid JPG when you try processing it on the server. I don't know if this is a bug in the FireFox or in VETExtremeShot since I don't know if the image is sent through FireFox or straight from the VET. Any ideas what's causing this??

Here is the setup that I'm using..

Server:
WinXP Pro SP2 (Eng)
IIS 5.1
Microsoft .NET2.0

Client:
WinXP Pro SP2 (Eng)
FireFox 1.5.0.7
VET 3.15 or 3.30


-Henkka
 
Posts: 25 | Registered: January 09, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hello,

I have sent your issue to the enginees. I will let you know as soon as I hear something.

Regards
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hello,
I also ran into problems while using VMPExtremeShot with Mac client. The capture and the sending process seems to work good (no extra bytes). However the handler page receiving the image does not appear to be in the same session as the as the page hosting the Viewpoint plugin..

Client:
MacOS X 10.4.6
Safari 2.0.4
Viewpoint 3.2.1

Regards,
-Henkka
 
Posts: 25 | Registered: January 09, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Thanks. I will let them know.
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
tao
Member
Posted Hide Post
This problem is older than FF 1.5.0.7.
I found it in november 2004.

For the moment, if the snapshot comes from any browser based on Gecko's engine
you have to skip the first 2 bytes (0x0d, 0x0a) to get your image stream.

I don't know if the problem comes from VMP or the Gecko engine.
So until it's corrected it's the only thing to do.

Regards,
Lionel
 
Posts: 19 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Avi
AviScript Extraordinaire
Member
Picture of Avi
Posted Hide Post
I'm not sure exactly what language you're using, but I haven't utilized sessions when using extremeshot anyway. I do know that you can pass the session id in the URL. You can set in javascript the path for extremeshot in this way:

vmp.SetProperty('ShotIt', 'Path', 'http://www.yoursite.com/scriptdir/script.xxx?id=SESSIONID');

Make sure you replace the name ShotIt with the name of your extremeshot tag if needed. Replace the URL to the url with your script and then replace SESSIONID with the session id. You should be able to set a variable in javascript with the session id and then include that in the URL. On the script side, you just have to read the GET string to find out what the session id is.

Hope this helps -- let me know.

Avi
 
Posts: 24 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hi,
Thanks for your reply! I'm using ASP.NET and C# is my language choice.. I actually got around the Mac problem using similar techniques that you described. It is a little inconvenient that the functionality is different depending on the client but the important thing is that there is a way around it.

Thanks,
-henkka
 
Posts: 25 | Registered: January 09, 2006Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    VMPExtremeShot with FireFox 1.5