Skip to content

Commit d1826b5

Browse files
committed
build: Add v 2.7.3 binary artefacts and package manifests
1 parent 02f231b commit d1826b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+95971
-0
lines changed

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2021 VLProjects
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

LiveDigitalSDK.podspec

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'LiveDigitalSDK'
3+
s.version = '2.7.3'
4+
s.summary = 'SDK for iOS to access LiveDigital media service'
5+
s.homepage = 'https://github.com/VLprojects/livedigital-ios-sdk-binary'
6+
s.license = { :type => 'MIT', :file => 'LICENSE' }
7+
s.author = { 'Alexander Gorbunov' => 'gorbunov.a@vlprojects.pro' }
8+
s.source = { :git => 'https://github.com/VLprojects/livedigital-ios-sdk-binary.git', :tag => s.version.to_s }
9+
s.ios.deployment_target = '15.0'
10+
s.swift_version = '5.4'
11+
12+
s.dependency 'Mediasoup-Client-Swift', '0.8.0'
13+
14+
s.vendored_frameworks =
15+
"LiveDigitalSDK.xcframework"
16+
17+
s.frameworks =
18+
"AVFoundation",
19+
"AudioToolbox",
20+
"CoreAudio",
21+
"CoreMedia",
22+
"CoreVideo"
23+
end

LiveDigitalSDK.xcframework/Info.plist

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>LiveDigitalSDK.framework/LiveDigitalSDK</string>
10+
<key>LibraryIdentifier</key>
11+
<string>ios-arm64</string>
12+
<key>LibraryPath</key>
13+
<string>LiveDigitalSDK.framework</string>
14+
<key>SupportedArchitectures</key>
15+
<array>
16+
<string>arm64</string>
17+
</array>
18+
<key>SupportedPlatform</key>
19+
<string>ios</string>
20+
</dict>
21+
<dict>
22+
<key>BinaryPath</key>
23+
<string>LiveDigitalSDK.framework/LiveDigitalSDK</string>
24+
<key>LibraryIdentifier</key>
25+
<string>ios-arm64_x86_64-simulator</string>
26+
<key>LibraryPath</key>
27+
<string>LiveDigitalSDK.framework</string>
28+
<key>SupportedArchitectures</key>
29+
<array>
30+
<string>arm64</string>
31+
<string>x86_64</string>
32+
</array>
33+
<key>SupportedPlatform</key>
34+
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>simulator</string>
37+
</dict>
38+
</array>
39+
<key>CFBundlePackageType</key>
40+
<string>XFWK</string>
41+
<key>XCFrameworkFormatVersion</key>
42+
<string>1.0</string>
43+
</dict>
44+
</plist>

LiveDigitalSDK.xcframework/ios-arm64/LiveDigitalSDK.framework/.gitkeep

Whitespace-only changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// LiveDigitalSDK.h
3+
// LiveDigitalSDK
4+
//
5+
// Created by Alexander Gorbunov on 07.02.2025.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
//! Project version number for LiveDigitalSDK.
11+
FOUNDATION_EXPORT double LiveDigitalSDKVersionNumber;
12+
13+
//! Project version string for LiveDigitalSDK.
14+
FOUNDATION_EXPORT const unsigned char LiveDigitalSDKVersionString[];
15+
16+
// In this header, you should import all the public headers of your framework using statements like #import <LiveDigitalSDK/PublicHeader.h>
17+
18+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#import <Foundation/Foundation.h>
2+
#import <WebRTC/RTCVideoCapturer.h>
3+
4+
5+
NS_ASSUME_NONNULL_BEGIN
6+
7+
@interface RTCGeneratorVideoCapturer: RTCVideoCapturer
8+
- (void)startCapturingWithCompletionHandler:(nullable void (^)(NSError *_Nullable))completionHandler;
9+
- (void)stopCapture;
10+
@end
11+
12+
NS_ASSUME_NONNULL_END
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#import <Foundation/Foundation.h>
2+
#import <WebRTC/RTCVideoCapturer.h>
3+
4+
5+
NS_ASSUME_NONNULL_BEGIN
6+
7+
@interface RTCSampleBufferCapturer : RTCVideoCapturer
8+
- (void)didCaptureSampleBuffer:(CMSampleBufferRef)sampleBuffer rotation:(NSInteger)angle;
9+
@end
10+
11+
NS_ASSUME_NONNULL_END
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright 2017 The WebRTC Project Authors. All rights reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#import <LiveDigitalSDK/VLMTLRenderer.h>
13+
14+
15+
NS_AVAILABLE(10_11, 9_0)
16+
@interface VLMTLCIRenderer : VLMTLRenderer
17+
18+
@end
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#import <LiveDigitalSDK/VLMTLRenderer.h>
13+
14+
15+
NS_AVAILABLE(10_11, 9_0)
16+
@interface VLMTLI420Renderer : VLMTLRenderer
17+
@end
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright 2017 The WebRTC Project Authors. All rights reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#import <LiveDigitalSDK/VLMTLRenderer.h>
13+
14+
NS_AVAILABLE(10_11, 9_0)
15+
@interface VLMTLNV12Renderer : VLMTLRenderer
16+
17+
@end
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright 2018 The WebRTC Project Authors. All rights reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#import <LiveDigitalSDK/VLMTLRenderer.h>
13+
14+
15+
/** @abstract RGB/BGR renderer.
16+
* @discussion This renderer handles both kCVPixelFormatType_32BGRA and
17+
* kCVPixelFormatType_32ARGB.
18+
*/
19+
NS_AVAILABLE(10_11, 9_0)
20+
@interface VLMTLRGBRenderer : VLMTLRenderer
21+
22+
@end
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Metal/Metal.h>
12+
#import <LiveDigitalSDK/VLMTLRenderer.h>
13+
14+
15+
@class RTCVideoFrame;
16+
17+
#define MTL_STRINGIFY(s) @ #s
18+
19+
NS_ASSUME_NONNULL_BEGIN
20+
21+
@interface VLMTLRenderer (Private)
22+
- (nullable id<MTLCommandQueue>)commandQueue;
23+
- (nullable id<MTLDevice>)currentMetalDevice;
24+
- (NSString *)shaderSource;
25+
- (BOOL)setupTexturesForFrame:(nonnull RTC_OBJC_TYPE(RTCVideoFrame) *)frame;
26+
- (void)uploadTexturesToRenderEncoder:(id<MTLRenderCommandEncoder>)renderEncoder;
27+
- (void)getWidth:(nonnull int *)width
28+
height:(nonnull int *)height
29+
cropWidth:(nonnull int *)cropWidth
30+
cropHeight:(nonnull int *)cropHeight
31+
cropX:(nonnull int *)cropX
32+
cropY:(nonnull int *)cropY
33+
ofFrame:(nonnull RTC_OBJC_TYPE(RTCVideoFrame) *)frame;
34+
@end
35+
36+
NS_ASSUME_NONNULL_END
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*
2+
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#if TARGET_OS_IPHONE
13+
#import <UIKit/UIKit.h>
14+
#else
15+
#import <AppKit/AppKit.h>
16+
#endif
17+
18+
#import <WebRTC/RTCVideoFrame.h>
19+
20+
NS_ASSUME_NONNULL_BEGIN
21+
/**
22+
* Protocol defining ability to render RTCVideoFrame in Metal enabled views.
23+
*/
24+
@protocol VLMTLRenderer <NSObject>
25+
26+
/** @abstract Enables/disables video mirroring across X axis.
27+
*/
28+
@property(nonatomic) BOOL mirrored;
29+
30+
/**
31+
* Method to be implemented to perform actual rendering of the provided frame.
32+
*
33+
* @param frame The frame to be rendered.
34+
*/
35+
- (void)drawFrame:(RTC_OBJC_TYPE(RTCVideoFrame) *)frame;
36+
37+
/**
38+
* Sets the provided view as rendering destination if possible.
39+
*
40+
* If not possible method returns NO and callers of the method are responisble for performing
41+
* cleanups.
42+
*/
43+
44+
#if TARGET_OS_IOS
45+
- (BOOL)addRenderingDestination:(__kindof UIView *)view;
46+
#else
47+
- (BOOL)addRenderingDestination:(__kindof NSView *)view;
48+
#endif
49+
50+
@end
51+
52+
/**
53+
* Implementation of RTCMTLRenderer protocol.
54+
*/
55+
NS_AVAILABLE(10_11, 9_0)
56+
@interface VLMTLRenderer : NSObject <VLMTLRenderer>
57+
58+
/** @abstract A wrapped RTCVideoRotation, or nil.
59+
@discussion When not nil, the rotation of the actual frame is ignored when rendering.
60+
*/
61+
@property(atomic, nullable) NSValue *rotationOverride;
62+
63+
@end
64+
65+
NS_ASSUME_NONNULL_END
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
3+
*
4+
* Use of this source code is governed by a BSD-style license
5+
* that can be found in the LICENSE file in the root of the source
6+
* tree. An additional intellectual property rights grant can be found
7+
* in the file PATENTS. All contributing project authors may
8+
* be found in the AUTHORS file in the root of the source tree.
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
13+
#import <WebRTC/RTCMacros.h>
14+
#import <WebRTC/RTCVideoFrame.h>
15+
#import <WebRTC/RTCVideoRenderer.h>
16+
17+
NS_ASSUME_NONNULL_BEGIN
18+
19+
/**
20+
* VLMTLVideoView is thin wrapper around MTKView.
21+
*
22+
* It has id<RTCVideoRenderer> property that renders video frames in the view's
23+
* bounds using Metal.
24+
*/
25+
NS_CLASS_AVAILABLE_IOS(9)
26+
27+
RTC_OBJC_EXPORT
28+
@interface RTC_OBJC_TYPE (VLMTLVideoView) : UIView<RTC_OBJC_TYPE(RTCVideoRenderer)>
29+
30+
@property(nonatomic, weak) id<RTC_OBJC_TYPE(RTCVideoViewDelegate)> delegate;
31+
32+
@property(nonatomic) UIViewContentMode videoContentMode;
33+
34+
/** @abstract Enables/disables rendering.
35+
*/
36+
@property(nonatomic, getter=isEnabled) BOOL enabled;
37+
38+
/** @abstract Enables/disables video mirroring across X axis.
39+
*/
40+
@property(nonatomic) BOOL mirrored;
41+
42+
/** @abstract Wrapped RTCVideoRotation, or nil.
43+
*/
44+
@property(nonatomic, nullable) NSValue* rotationOverride;
45+
46+
/** @abstract Size of last rendered frame with rotation applied.
47+
*/
48+
- (CGSize)drawableSize;
49+
50+
@end
51+
52+
NS_ASSUME_NONNULL_END
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)