Skip to content

Commit

Permalink
fix iOSSwiftUI compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Nov 3, 2023
1 parent ae1d215 commit a4a2e77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Examples/iOSSwiftUI/Model/ViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ final class ViewModel: ObservableObject {
}
rtmpStream.sessionPreset = .hd1280x720
rtmpStream.videoSettings.videoSize = .init(width: 720, height: 1280)
rtmpStream.mixer.recorder.delegate = self

nc.publisher(for: UIDevice.orientationDidChangeNotification, object: nil)
.sink { [weak self] _ in
guard let orientation = DeviceUtil.videoOrientation(by: UIDevice.current.orientation), let self = self else {
Expand Down

0 comments on commit a4a2e77

Please sign in to comment.