Sounds like you will want to debug inside Flex Builder then. Add some trace messages (from a metadata listener object function ) or set some break points in the actionscript so that you can see what events are being passed. (try to trap events like NetStream.Play.Complete or NetStream.onPlayStatus which might be causing the error)
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStrea m.html#event:netStatus Metadata and status events are being sent all the time from the netstream class, so to be sure there will be events being sent at 20 sec (and every other second too :) Aran -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Starduster_II Sent: Friday, 28 November 2008 2:00 AM To: SWFObject Subject: Re: Video size is changing back to source size Actually... not sure how to debug it. I've never used the Flash Media Encoder before. There are no messages in the encoder's log file, just the successful Stream Status: Start message and nothing else. I wouldn't think the encoder is sending an event 20 seconds into the connection of a stream. I can see if I can trap any events in the player source. It's just a Flex built player that doesn't do anything other than play a stream you point it at. I'll see what I can find there. sr On Nov 26, 5:32 pm, "Aran Rhee" <[EMAIL PROTECTED]> wrote: > Doesn't sound like a SWFObject issue to me. If you Flash is displaying at > all then SWFObjedct has done it's job. It sounds like the FLV is > broadcasting an event which your video player is picking up on and executing > some code. Have you debugged the netstream events being fired? > > Aran > > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of Starduster_II > Sent: Thursday, 27 November 2008 5:12 AM > To: SWFObject > Subject: Re: Video size is changing back to source size > > One other thing... when the video goes back to the normal size, the > audio is gone! > > sr > > On Nov 26, 11:43 am, Starduster_II <[EMAIL PROTECTED]> wrote: > > I am opening a player window full screen and playing a stream from the > > Flash Media Encoder through the Red5 server. I'm encoding at > > 640x480. Here is the setup for the swfobject > > > swflashvars = {appUrl: 'rtmp://myserver/app',streamId:'livestream'}; > > swfobject.embedSWF("/Flex/streamViewer.swf", > > "screenCastingDiv", > > "100%","100%","9.0.0", > > "/flash/playerProductInstall.swf",swflashvars,{},{}); > > > Everything works well at first, the video is expanded to fill the > > screen size, but after 20 seconds or so, the video shrinks to the > > input size of 640x480. I've tried replacing the 100% with the actual > > width and height I want but it does the same thing. > > > Is there another parameter I should be using to keep the video > > stretched?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
