• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Safari scrolling issue while capturing video
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari scrolling issue while capturing video


  • Subject: Safari scrolling issue while capturing video
  • From: Satish AM <email@hidden>
  • Date: Thu, 14 Feb 2008 19:24:44 +0530


Hello Groups,

We are doing video capturing application on Safari browser window using buit-in/external camera.
Everything is working fine except one issue. We observe the issue only when someone scrolls the browser window. The issue is when someone scrolls the browser window while capturing our capturing won't move along with the browser content view. It sticks at the same point. We are expecting that the capturing port should also along with the browser content view when someone scrolls the window. This is not happening at the current scenaio.


Bellow is the snippet of code which we are using to set the window port,

err = SGSetGWorld (anSG, GetWindowPort((WindowRef)[movieViewObject window]), nil);

Rect bounds;
NSRect srcRect = [movieViewObject frame];
bounds.top = srcRect.origin.y + 22;
bounds.left = srcRect.origin.x ;
bounds.bottom = srcRect.origin.y + srcRect.size.height + 22;
bounds.right = srcRect.origin.x + srcRect.size.width ;

err = SGSetChannelBounds (videoChannel, &bounds);

movieViewObject is the object of the class which is inherited from NSMovieView.

Anybody has idea, what i am doing wrong here ?

Please tell me how to fix this problem... Or Suggest some alternative approach to fix this problem.

Thanks in advance.

Satish





______________________________________________________________
DISCLAIMER:
This electronic message and any attachments to this electronic message is
intended for the exclusive use of the addressee(s) named herein and may contain
legally privileged and confidential information. It is the property of Celstream
Technologies Limited. If you are not the intended recipient, you are hereby strictly notified not to copy, forward, distribute or use this message or any
attachments thereto. If you have received this message in error, please delete
it and all copies thereof, from your system and notify the sender at Celstream Technologies or email@hidden, immediately. __________________________________________________________
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSView -drawRect optimization
  • Next by Date: Re: NSView -drawRect optimization
  • Previous by thread: Re: Listen on a UDP Port
  • Next by thread: single vs multiple NIBs
  • Index(es):
    • Date
    • Thread