Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touches not shown when recording using QuickTime #27

Open
marbetschar opened this issue Feb 1, 2017 · 11 comments
Open

Touches not shown when recording using QuickTime #27

marbetschar opened this issue Feb 1, 2017 · 11 comments

Comments

@marbetschar
Copy link

I'm not able to see the touches during recording using QuickTime. The visualizer itself seems to work; at least, as soon as I set

func touchVisualizerWindowShouldAlwaysShowFingertip(_ window: COSTouchVisualizerWindow!) -> Bool {
  return true
}

Touches are shown correctly. But not, if this is set to return false. Tested with master as well as with 1.0.6 - both behave equally wrong. Running iOS 10.2 on an iPhone 6s.

@marbetschar
Copy link
Author

Just tested this while being connected to AppleTV using AirPlay. In this setup, COSTouchVisualizer works as expected: It shows the touches while connected using AirPlay and hides them if not connected.

@joeblau
Copy link
Collaborator

joeblau commented Feb 5, 2017

If this is working, should this be closed?

@marbetschar
Copy link
Author

Why? The issue is still open. Nothing has been fixed.

@joeblau
Copy link
Collaborator

joeblau commented Feb 5, 2017

Oh i see, sorry I misread the issue. definitely leave this open.

@marbetschar
Copy link
Author

marbetschar commented Feb 5, 2017 via email

@joeblau
Copy link
Collaborator

joeblau commented Feb 5, 2017

Not 100% sure. I haven't looked into it yet, but I'll try and take a look this week.

@marbetschar
Copy link
Author

😍

@marbetschar
Copy link
Author

Any news on this?

@joeblau
Copy link
Collaborator

joeblau commented Feb 15, 2017

Sorry, been super busy at work and working on a different OSS project that I didn't get a chance to look at this yet. It's still in the queue.

@bhartsb
Copy link

bhartsb commented Mar 17, 2017

I have the same issue. Doesn't work with QT. However, I just went in to COSTouchVisualizerWindows.m anyScreenIsMirrored method and forced it to return YES.

@nhahn
Copy link

nhahn commented Oct 4, 2017

This hasn't been updated in a while, but you can do this:

- (BOOL)touchVisualizerWindowShouldAlwaysShowFingertip:(COSTouchVisualizerWindow *)window {
  AVAudioSessionRouteDescription * asRoute = [AVAudioSession sharedInstance].currentRoute;
  for(AVAudioSessionPortDescription * output in asRoute.outputs) {
    if ([output.portType isEqualToString: AVAudioSessionPortHDMI])
      return YES;
  }
  return NO;
}

Note, this was taken from another StackOverflow post. Ideally, you want this in the actual library instead of relying on the delegate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants