Skip to content

Commit

Permalink
Merge pull request #87 from jyoung-man/master
Browse files Browse the repository at this point in the history
add pause method to avoid error
  • Loading branch information
cabin15 authored Apr 2, 2024
2 parents 0ef8745 + a7a3d9c commit ebd2ed0
Show file tree
Hide file tree
Showing 15 changed files with 2,775 additions and 2,629 deletions.
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions Frameworks/LGCast/LGCast.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@
<key>BinaryPath</key>
<string>LGCast.framework/LGCast</string>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>LGCast.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>LGCast.framework/LGCast</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>LGCast.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) LGCastCamera
- (BOOL)setCameraPropertiesWithProperty:(enum LGCastCameraProperty)property value:(NSInteger)value SWIFT_WARN_UNUSED_RESULT;
- (void)startRemoteCamera:(LGCastDeviceSettings * _Nonnull)settings;
- (void)stopRemoteCamera;
- (void)pauseRemoteCamera;
- (NSArray<LGCastCameraResolutionInfo *> * _Nonnull)getSupportedResolutions SWIFT_WARN_UNUSED_RESULT;
- (LGCastCameraResolutionInfo * _Nonnull)getCurrentResolution SWIFT_WARN_UNUSED_RESULT;
- (BOOL)setResolution:(LGCastCameraResolutionInfo * _Nonnull)resolution SWIFT_WARN_UNUSED_RESULT;
Expand Down
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ import _SwiftConcurrencyShims
@objc public func setCameraProperties(property: LGCast.LGCastCameraProperty, value: Swift.Int) -> Swift.Bool
@objc public func startRemoteCamera(_ settings: LGCast.LGCastDeviceSettings)
@objc public func stopRemoteCamera()
@objc public func pauseRemoteCamera()
@objc public func getSupportedResolutions() -> [LGCast.LGCastCameraResolutionInfo]
@objc public func getCurrentResolution() -> LGCast.LGCastCameraResolutionInfo
@objc public func setResolution(_ resolution: LGCast.LGCastCameraResolutionInfo) -> Swift.Bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ import _SwiftConcurrencyShims
@objc public func setCameraProperties(property: LGCast.LGCastCameraProperty, value: Swift.Int) -> Swift.Bool
@objc public func startRemoteCamera(_ settings: LGCast.LGCastDeviceSettings)
@objc public func stopRemoteCamera()
@objc public func pauseRemoteCamera()
@objc public func getSupportedResolutions() -> [LGCast.LGCastCameraResolutionInfo]
@objc public func getCurrentResolution() -> LGCast.LGCastCameraResolutionInfo
@objc public func setResolution(_ resolution: LGCast.LGCastCameraResolutionInfo) -> Swift.Bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) LGCastCamera
- (BOOL)setCameraPropertiesWithProperty:(enum LGCastCameraProperty)property value:(NSInteger)value SWIFT_WARN_UNUSED_RESULT;
- (void)startRemoteCamera:(LGCastDeviceSettings * _Nonnull)settings;
- (void)stopRemoteCamera;
- (void)pauseRemoteCamera;
- (NSArray<LGCastCameraResolutionInfo *> * _Nonnull)getSupportedResolutions SWIFT_WARN_UNUSED_RESULT;
- (LGCastCameraResolutionInfo * _Nonnull)getCurrentResolution SWIFT_WARN_UNUSED_RESULT;
- (BOOL)setResolution:(LGCastCameraResolutionInfo * _Nonnull)resolution SWIFT_WARN_UNUSED_RESULT;
Expand Down
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ import _SwiftConcurrencyShims
@objc public func setCameraProperties(property: LGCast.LGCastCameraProperty, value: Swift.Int) -> Swift.Bool
@objc public func startRemoteCamera(_ settings: LGCast.LGCastDeviceSettings)
@objc public func stopRemoteCamera()
@objc public func pauseRemoteCamera()
@objc public func getSupportedResolutions() -> [LGCast.LGCastCameraResolutionInfo]
@objc public func getCurrentResolution() -> LGCast.LGCastCameraResolutionInfo
@objc public func setResolution(_ resolution: LGCast.LGCastCameraResolutionInfo) -> Swift.Bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ import _SwiftConcurrencyShims
@objc public func setCameraProperties(property: LGCast.LGCastCameraProperty, value: Swift.Int) -> Swift.Bool
@objc public func startRemoteCamera(_ settings: LGCast.LGCastDeviceSettings)
@objc public func stopRemoteCamera()
@objc public func pauseRemoteCamera()
@objc public func getSupportedResolutions() -> [LGCast.LGCastCameraResolutionInfo]
@objc public func getCurrentResolution() -> LGCast.LGCastCameraResolutionInfo
@objc public func setResolution(_ resolution: LGCast.LGCastCameraResolutionInfo) -> Swift.Bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Headers/LGCast-Swift.h</key>
<data>
c2vvEopiz9LHsM4meIthYXWim3s=
leDYyGhK3PfTrEPjwgZNzxS6E4o=
</data>
<key>Headers/LGCast.h</key>
<data>
Expand All @@ -18,23 +18,23 @@
</data>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<data>
kMPHLmehJz14afE29uME655lgN0=
wSAc2NXaRXlX5e4RqHzoOqEJfq4=
</data>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<data>
yhxX92yCjbQ2isH0YgTo0Mu5BCI=
SxHEWfZW6/4Yw3iKEhJCZD1jRy0=
</data>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
YtrR+kIbLAiLfF/DpniOP0seIRI=
</data>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<data>
yhxX92yCjbQ2isH0YgTo0Mu5BCI=
SxHEWfZW6/4Yw3iKEhJCZD1jRy0=
</data>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data>
xRFq3ozcPqNswHWqqe0fT5CnPDM=
AsV1bN9rphRsnTmux1ae/lphKB0=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -47,7 +47,7 @@
<dict>
<key>hash2</key>
<data>
akUYDtSuvoun8BjnAS0I0m41lMrm8M0KjqJkMWoAK3M=
Xwa28uTQb8Xhf5xQadkQx1Sau7KldPKcy7Cp7FF8TBI=
</data>
</dict>
<key>Headers/LGCast.h</key>
Expand All @@ -61,14 +61,14 @@
<dict>
<key>hash2</key>
<data>
Lp216FhmrKnS6GgRyKAEMK6j21nusDLfnuR4RBliZ6U=
WUfXWV3CzVbI7V+IHKLOFPE2R1ointjTK+xnI8Hqg38=
</data>
</dict>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
sER47z1FVH3nX9HPnuYZnL3rJ3H8ErCYnjPbihK5jgE=
/B4UabFwF8wnl0PnpXy1aBZiEYa3mh1Xpv2GIvcibwo=
</data>
</dict>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
Expand All @@ -82,14 +82,14 @@
<dict>
<key>hash2</key>
<data>
sER47z1FVH3nX9HPnuYZnL3rJ3H8ErCYnjPbihK5jgE=
/B4UabFwF8wnl0PnpXy1aBZiEYa3mh1Xpv2GIvcibwo=
</data>
</dict>
<key>Modules/LGCast.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
eH3iW3l2BoNFRvGh/LHQO1pSNlV4tOONPU+4gwSRYgU=
XYZ+HfyCDXMyOr0xWlp4y2uKwvb1u7VZNCPnFtQyfSo=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ - (void)onReceivePlayCommand:(NSDictionary *)values {
- (void)onReceiveStopCommand:(NSDictionary *)values {
[Log infoLGCast:@"onReceiveStopCommand"];

[[LGCastCameraApi shared] stopRemoteCamera];
[[LGCastCameraApi shared] pauseRemoteCamera];
self.isPlaying = NO;
}

Expand Down

0 comments on commit ebd2ed0

Please sign in to comment.