注释无用代码
This commit is contained in:
parent
96c31c382c
commit
d89924d5a2
Binary file not shown.
@ -611,75 +611,12 @@
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "367"
|
||||
endingLineNumber = "367"
|
||||
startingLineNumber = "371"
|
||||
endingLineNumber = "371"
|
||||
landmarkName = "viewDidAppear(_:)"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
uuid = "EF28D223-534C-4D5B-8564-50D9720BA766"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "654"
|
||||
endingLineNumber = "654"
|
||||
landmarkName = "selectedSpatialType(selectedIndex:)"
|
||||
landmarkType = "7">
|
||||
<Locations>
|
||||
<Location
|
||||
uuid = "EF28D223-534C-4D5B-8564-50D9720BA766 - 6adcab4b430491b5"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
symbolName = "SwiftProject.CCSpatialVideoDisplayController.selectedSpatialType(selectedIndex: Swift.Int) -> ()"
|
||||
moduleName = "SwiftProject"
|
||||
usesParentBreakpointCondition = "Yes"
|
||||
urlString = "file:///Users/aaa/Documents/IOS%20Dev/VR/SwiftProject/SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "632"
|
||||
endingLineNumber = "632"
|
||||
offsetFromSymbolStart = "56">
|
||||
</Location>
|
||||
<Location
|
||||
uuid = "EF28D223-534C-4D5B-8564-50D9720BA766 - 6adcab4b430491b5"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
symbolName = "SwiftProject.CCSpatialVideoDisplayController.selectedSpatialType(selectedIndex: Swift.Int) -> ()"
|
||||
moduleName = "SwiftProject"
|
||||
usesParentBreakpointCondition = "Yes"
|
||||
urlString = "file:///Users/aaa/Documents/IOS%20Dev/VR/SwiftProject/SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "632"
|
||||
endingLineNumber = "632"
|
||||
offsetFromSymbolStart = "52">
|
||||
</Location>
|
||||
<Location
|
||||
uuid = "EF28D223-534C-4D5B-8564-50D9720BA766 - 6adcab4b4304945b"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
symbolName = "SwiftProject.CCSpatialVideoDisplayController.selectedSpatialType(selectedIndex: Swift.Int) -> ()"
|
||||
moduleName = "SwiftProject"
|
||||
usesParentBreakpointCondition = "Yes"
|
||||
urlString = "file:///Users/aaa/Documents/IOS%20Dev/VR/SwiftProject/SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "654"
|
||||
endingLineNumber = "654"
|
||||
offsetFromSymbolStart = "52">
|
||||
</Location>
|
||||
</Locations>
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
@ -690,59 +627,11 @@
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "531"
|
||||
endingLineNumber = "531"
|
||||
startingLineNumber = "535"
|
||||
endingLineNumber = "535"
|
||||
landmarkName = "displayUpdate(caDisplayLink:)"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
uuid = "8F610068-6D99-4BE0-9B62-0CCC054BA078"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "457"
|
||||
endingLineNumber = "457"
|
||||
landmarkName = "dealTaskWhenExternalScreenConnect()"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
uuid = "311C202A-06E3-4B12-8A88-0704B802EA9C"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "453"
|
||||
endingLineNumber = "453"
|
||||
landmarkName = "dealTaskWhenExternalScreenConnect()"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
uuid = "B63A78BF-7A76-4AE2-BE27-20FAE31206D0"
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "SwiftProject/Project/Controller/RecordingVideo/CCSpatialVideoDisplayController/CCSpatialVideoDisplayController.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "444"
|
||||
endingLineNumber = "444"
|
||||
landmarkName = "dealTaskWhenExternalScreenConnect()"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
</Breakpoints>
|
||||
</Bucket>
|
||||
|
||||
@ -232,6 +232,31 @@ class CCSpatialVideoDisplayController: BaseController {
|
||||
print("PlayerEndTime....")
|
||||
player?.seek(to: .zero)
|
||||
player?.play()
|
||||
|
||||
// self.playerController?.view.layer.sublayers?.forEach({ clayer in
|
||||
// print("clayer.......\(clayer.self)")
|
||||
// clayer.backgroundColor = UIColor.red.cgColor
|
||||
// clayer.sublayers?.forEach({ sclayer in
|
||||
// print("sclayer.......\(sclayer.self)")
|
||||
// sclayer.backgroundColor = UIColor.blue.cgColor
|
||||
// sclayer.sublayers?.forEach({ sscalyer in
|
||||
// print("sscalyer.......\(sscalyer.self)")
|
||||
// if let avPlayerLayer = sscalyer as? AVPlayerLayer {
|
||||
// sscalyer.backgroundColor = UIColor.orange.cgColor
|
||||
// sscalyer.sublayers?.forEach({ avSubLayer in
|
||||
// print("avSubLayer.......\(avSubLayer.self)")
|
||||
// avSubLayer.backgroundColor = UIColor.systemPink.cgColor
|
||||
// if let avaPlayerLayer2 = avSubLayer as? AVPlayerLayer {
|
||||
// avaPlayerLayer2.backgroundColor = UIColor.white.cgColor
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
//
|
||||
// })
|
||||
// })
|
||||
// })
|
||||
|
||||
}
|
||||
|
||||
//监听拖动播放的进度事件
|
||||
@ -254,6 +279,8 @@ class CCSpatialVideoDisplayController: BaseController {
|
||||
self?.setUPPlayer()
|
||||
// 检查当前是否已连接到 AirPlay 设备
|
||||
self?.checkAirPlayStatus()
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -270,6 +297,8 @@ class CCSpatialVideoDisplayController: BaseController {
|
||||
playerController?.player = player
|
||||
playerController!.view.backgroundColor = .clear
|
||||
playerController?.view.frame = CGRect.init(x: 0, y: 170, width: self.view.frame.size.width, height: 400)
|
||||
|
||||
|
||||
self.addChild(playerController!)
|
||||
self.view.addSubview(playerController!.view)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user