Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
WMSmile committed Feb 21, 2022
1 parent b7e349f commit c00be15
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion WMVideo/WMVideo/WMVideo/WMCameraManger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class WMCameraManger: NSObject {
}
}

func staruRunning() {
func startRunning() {
DispatchQueue.global(qos: .default).async {
self.session.startRunning()
}
Expand Down
2 changes: 1 addition & 1 deletion WMVideo/WMVideo/WMVideo/WMCameraViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class WMCameraViewController: UIViewController {

override func viewWillAppear(_ animated: Bool) {
super.viewDidAppear(animated)
manager.staruRunning()
manager.startRunning()
manager.focusAt(cameraContentView.center)
}

Expand Down

0 comments on commit c00be15

Please sign in to comment.