COSTouchVisualizer
COSTouchVisualizer copied to clipboard
Touches not shown when recording using QuickTime
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.
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.
If this is working, should this be closed?
Why? The issue is still open. Nothing has been fixed.
Oh i see, sorry I misread the issue. definitely leave this open.
😊 no worries 👍🏼
Any idea how the issue can be resolved?
Von meinem iPhone gesendet
Am 05.02.2017 um 16:07 schrieb Joe Blau [email protected]:
Oh i see, sorry I misread the issue. definitely leave this open.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Not 100% sure. I haven't looked into it yet, but I'll try and take a look this week.
😍
Any news on this?
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.
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.
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.