Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ильжан
babyjitsi-ios
Commits
cd4ef2cd
Commit
cd4ef2cd
authored
Feb 09, 2021
by
Ильжан
Browse files
Initial commit
parents
Changes
496
Show whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
496 of 496+
files are displayed.
Plain diff
Email patch
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoder.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCCodecSpecificInfo.h"
#import "RTCEncodedImage.h"
#import "RTCMacros.h"
#import "RTCRtpFragmentationHeader.h"
#import "RTCVideoEncoderQpThresholds.h"
#import "RTCVideoEncoderSettings.h"
#import "RTCVideoFrame.h"
NS_ASSUME_NONNULL_BEGIN
/** Callback block for encoder. */
typedef
BOOL
(
^
RTCVideoEncoderCallback
)(
RTC_OBJC_TYPE
(
RTCEncodedImage
)
*
frame
,
id
<
RTC_OBJC_TYPE
(
RTCCodecSpecificInfo
)
>
info
,
RTC_OBJC_TYPE
(
RTCRtpFragmentationHeader
)
*
header
);
/** Protocol for encoder implementations. */
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoEncoder
)
<
NSObject
>
-
(
void
)
setCallback
:
(
RTCVideoEncoderCallback
)
callback
;
-
(
NSInteger
)
startEncodeWithSettings
:(
RTC_OBJC_TYPE
(
RTCVideoEncoderSettings
)
*
)
settings
numberOfCores
:(
int
)
numberOfCores
;
-
(
NSInteger
)
releaseEncoder
;
-
(
NSInteger
)
encode
:(
RTC_OBJC_TYPE
(
RTCVideoFrame
)
*
)
frame
codecSpecificInfo
:(
nullable
id
<
RTC_OBJC_TYPE
(
RTCCodecSpecificInfo
)
>
)
info
frameTypes
:(
NSArray
<
NSNumber
*>
*
)
frameTypes
;
-
(
int
)
setBitrate
:(
uint32_t
)
bitrateKbit
framerate
:(
uint32_t
)
framerate
;
-
(
NSString
*
)
implementationName
;
/** Returns QP scaling settings for encoder. The quality scaler adjusts the resolution in order to
* keep the QP from the encoded images within the given range. Returning nil from this function
* disables quality scaling. */
-
(
nullable
RTC_OBJC_TYPE
(
RTCVideoEncoderQpThresholds
)
*
)
scalingSettings
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderFactory.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCVideoCodecInfo.h"
#import "RTCVideoEncoder.h"
NS_ASSUME_NONNULL_BEGIN
/** RTCVideoEncoderFactory is an Objective-C version of
webrtc::VideoEncoderFactory::VideoEncoderSelector.
*/
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoEncoderSelector
)
<
NSObject
>
-
(
void
)
registerCurrentEncoderInfo
:
(
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
info
;
-
(
nullable
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
encoderForBitrate
:(
NSInteger
)
bitrate
;
-
(
nullable
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
encoderForBrokenEncoder
;
@end
/** RTCVideoEncoderFactory is an Objective-C version of webrtc::VideoEncoderFactory.
*/
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoEncoderFactory
)
<
NSObject
>
-
(
nullable
id
<
RTC_OBJC_TYPE
(
RTCVideoEncoder
)
>
)
createEncoder
:
(
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
info
;
-
(
NSArray
<
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*>
*
)
supportedCodecs
;
// TODO(andersc): "supportedFormats" instead?
@optional
-
(
NSArray
<
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*>
*
)
implementations
;
-
(
nullable
id
<
RTC_OBJC_TYPE
(
RTCVideoEncoderSelector
)
>
)
encoderSelector
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderFactoryH264.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCVideoEncoderFactory.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderFactoryH264
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCVideoEncoderFactory
)
>
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderH264.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCVideoCodecInfo.h"
#import "RTCVideoEncoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderH264
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCVideoEncoder
)
>
-
(
instancetype
)
initWithCodecInfo
:(
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
codecInfo
;
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderQpThresholds.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
/** QP thresholds for encoder. Corresponds to webrtc::VideoEncoder::QpThresholds. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderQpThresholds
)
:
NSObject
-
(
instancetype
)
initWithThresholdsLow
:(
NSInteger
)
low
high
:(
NSInteger
)
high
;
@property
(
nonatomic
,
readonly
)
NSInteger
low
;
@property
(
nonatomic
,
readonly
)
NSInteger
high
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderSettings.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
typedef
NS_ENUM
(
NSUInteger
,
RTCVideoCodecMode
)
{
RTCVideoCodecModeRealtimeVideo
,
RTCVideoCodecModeScreensharing
,
};
/** Settings for encoder. Corresponds to webrtc::VideoCodec. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderSettings
)
:
NSObject
@property
(
nonatomic
,
strong
)
NSString
*
name
;
@property
(
nonatomic
,
assign
)
unsigned
short
width
;
@property
(
nonatomic
,
assign
)
unsigned
short
height
;
@property
(
nonatomic
,
assign
)
unsigned
int
startBitrate
;
// kilobits/sec.
@property
(
nonatomic
,
assign
)
unsigned
int
maxBitrate
;
@property
(
nonatomic
,
assign
)
unsigned
int
minBitrate
;
@property
(
nonatomic
,
assign
)
uint32_t
maxFramerate
;
@property
(
nonatomic
,
assign
)
unsigned
int
qpMax
;
@property
(
nonatomic
,
assign
)
RTCVideoCodecMode
mode
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderVP8.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCVideoEncoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderVP8
)
:
NSObject
/* This returns a VP8 encoder that can be returned from a RTCVideoEncoderFactory injected into
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
* used independently from the RTCPeerConnectionFactory.
*/
+
(
id
<
RTC_OBJC_TYPE
(
RTCVideoEncoder
)
>
)
vp8Encoder
;
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoderVP9.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCVideoEncoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoEncoderVP9
)
:
NSObject
/* This returns a VP9 encoder that can be returned from a RTCVideoEncoderFactory injected into
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
* used independently from the RTCPeerConnectionFactory.
*/
+
(
id
<
RTC_OBJC_TYPE
(
RTCVideoEncoder
)
>
)
vp9Encoder
;
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoFrame.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
typedef
NS_ENUM
(
NSInteger
,
RTCVideoRotation
)
{
RTCVideoRotation_0
=
0
,
RTCVideoRotation_90
=
90
,
RTCVideoRotation_180
=
180
,
RTCVideoRotation_270
=
270
,
};
@protocol
RTC_OBJC_TYPE
(
RTCVideoFrameBuffer
);
// RTCVideoFrame is an ObjectiveC version of webrtc::VideoFrame.
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoFrame
)
:
NSObject
/** Width without rotation applied. */
@property
(
nonatomic
,
readonly
)
int
width
;
/** Height without rotation applied. */
@property
(
nonatomic
,
readonly
)
int
height
;
@property
(
nonatomic
,
readonly
)
RTCVideoRotation
rotation
;
/** Timestamp in nanoseconds. */
@property
(
nonatomic
,
readonly
)
int64_t
timeStampNs
;
/** Timestamp 90 kHz. */
@property
(
nonatomic
,
assign
)
int32_t
timeStamp
;
@property
(
nonatomic
,
readonly
)
id
<
RTC_OBJC_TYPE
(
RTCVideoFrameBuffer
)
>
buffer
;
-
(
instancetype
)
init
NS_UNAVAILABLE
;
-
(
instancetype
)
new
NS_UNAVAILABLE
;
/** Initialize an RTCVideoFrame from a pixel buffer, rotation, and timestamp.
* Deprecated - initialize with a RTCCVPixelBuffer instead
*/
-
(
instancetype
)
initWithPixelBuffer
:(
CVPixelBufferRef
)
pixelBuffer
rotation
:(
RTCVideoRotation
)
rotation
timeStampNs
:(
int64_t
)
timeStampNs
DEPRECATED_MSG_ATTRIBUTE
(
"use initWithBuffer instead"
);
/** Initialize an RTCVideoFrame from a pixel buffer combined with cropping and
* scaling. Cropping will be applied first on the pixel buffer, followed by
* scaling to the final resolution of scaledWidth x scaledHeight.
*/
-
(
instancetype
)
initWithPixelBuffer
:(
CVPixelBufferRef
)
pixelBuffer
scaledWidth
:(
int
)
scaledWidth
scaledHeight
:(
int
)
scaledHeight
cropWidth
:(
int
)
cropWidth
cropHeight
:(
int
)
cropHeight
cropX
:(
int
)
cropX
cropY
:(
int
)
cropY
rotation
:(
RTCVideoRotation
)
rotation
timeStampNs
:(
int64_t
)
timeStampNs
DEPRECATED_MSG_ATTRIBUTE
(
"use initWithBuffer instead"
);
/** Initialize an RTCVideoFrame from a frame buffer, rotation, and timestamp.
*/
-
(
instancetype
)
initWithBuffer
:(
id
<
RTC_OBJC_TYPE
(
RTCVideoFrameBuffer
)
>
)
frameBuffer
rotation
:(
RTCVideoRotation
)
rotation
timeStampNs
:(
int64_t
)
timeStampNs
;
/** Return a frame that is guaranteed to be I420, i.e. it is possible to access
* the YUV data on it.
*/
-
(
RTC_OBJC_TYPE
(
RTCVideoFrame
)
*
)
newI420VideoFrame
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoFrameBuffer.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <AVFoundation/AVFoundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
@protocol
RTC_OBJC_TYPE
(
RTCI420Buffer
);
// RTCVideoFrameBuffer is an ObjectiveC version of webrtc::VideoFrameBuffer.
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoFrameBuffer
)
<
NSObject
>
@property
(
nonatomic
,
readonly
)
int
width
;
@property
(
nonatomic
,
readonly
)
int
height
;
-
(
id
<
RTC_OBJC_TYPE
(
RTCI420Buffer
)
>
)
toI420
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoRenderer.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#endif
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
@class
RTC_OBJC_TYPE
(
RTCVideoFrame
);
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoRenderer
)
<
NSObject
>
/** The size of the frame. */
-
(
void
)
setSize
:
(
CGSize
)
size
;
/** The frame to be displayed. */
-
(
void
)
renderFrame
:(
nullable
RTC_OBJC_TYPE
(
RTCVideoFrame
)
*
)
frame
;
@end
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoViewDelegate
)
-
(
void
)
videoView
:
(
id
<
RTC_OBJC_TYPE
(
RTCVideoRenderer
)
>
)
videoView
didChangeVideoSize
:
(
CGSize
)
size
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoSource.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCMediaSource.h"
#import "RTCVideoCapturer.h"
NS_ASSUME_NONNULL_BEGIN
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoSource
)
:
RTC_OBJC_TYPE
(
RTCMediaSource
)
<
RTC_OBJC_TYPE
(
RTCVideoCapturerDelegate
)
>
-
(
instancetype
)
init
NS_UNAVAILABLE
;
/**
* Calling this function will cause frames to be scaled down to the
* requested resolution. Also, frames will be cropped to match the
* requested aspect ratio, and frames will be dropped to match the
* requested fps. The requested aspect ratio is orientation agnostic and
* will be adjusted to maintain the input orientation, so it doesn't
* matter if e.g. 1280x720 or 720x1280 is requested.
*/
-
(
void
)
adaptOutputFormatToWidth
:(
int
)
width
height
:(
int
)
height
fps
:(
int
)
fps
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoTrack.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import "RTCMediaStreamTrack.h"
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
@protocol
RTC_OBJC_TYPE
(
RTCVideoRenderer
);
@class
RTC_OBJC_TYPE
(
RTCPeerConnectionFactory
);
@class
RTC_OBJC_TYPE
(
RTCVideoSource
);
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoTrack
)
:
RTC_OBJC_TYPE
(
RTCMediaStreamTrack
)
/** The video source for this video track. */
@property
(
nonatomic
,
readonly
)
RTC_OBJC_TYPE
(
RTCVideoSource
)
*
source
;
-
(
instancetype
)
init
NS_UNAVAILABLE
;
/** Register a renderer that will render all frames received on this track. */
-
(
void
)
addRenderer
:(
id
<
RTC_OBJC_TYPE
(
RTCVideoRenderer
)
>
)
renderer
;
/** Deregister a renderer. */
-
(
void
)
removeRenderer
:(
id
<
RTC_OBJC_TYPE
(
RTCVideoRenderer
)
>
)
renderer
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoViewShading.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCVideoFrame.h"
NS_ASSUME_NONNULL_BEGIN
/**
* RTCVideoViewShading provides a way for apps to customize the OpenGL(ES shaders
* used in rendering for the RTCEAGLVideoView/RTCNSGLVideoView.
*/
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoViewShading
)
<
NSObject
>
/** Callback for I420 frames. Each plane is given as a texture. */
-
(
void
)
applyShadingForFrameWithWidth
:
(
int
)
width
height
:
(
int
)
height
rotation
:
(
RTCVideoRotation
)
rotation
yPlane
:
(
GLuint
)
yPlane
uPlane
:
(
GLuint
)
uPlane
vPlane
:
(
GLuint
)
vPlane
;
/** Callback for NV12 frames. Each plane is given as a texture. */
-
(
void
)
applyShadingForFrameWithWidth
:(
int
)
width
height
:(
int
)
height
rotation
:(
RTCVideoRotation
)
rotation
yPlane
:(
GLuint
)
yPlane
uvPlane
:(
GLuint
)
uvPlane
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCYUVPlanarBuffer.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <AVFoundation/AVFoundation.h>
#import "RTCMacros.h"
#import "RTCVideoFrameBuffer.h"
NS_ASSUME_NONNULL_BEGIN
/** Protocol for RTCVideoFrameBuffers containing YUV planar data. */
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCYUVPlanarBuffer
)
<
RTC_OBJC_TYPE
(
RTCVideoFrameBuffer
)
>
@property
(
nonatomic
,
readonly
)
int
chromaWidth
;
@property
(
nonatomic
,
readonly
)
int
chromaHeight
;
@property
(
nonatomic
,
readonly
)
const
uint8_t
*
dataY
;
@property
(
nonatomic
,
readonly
)
const
uint8_t
*
dataU
;
@property
(
nonatomic
,
readonly
)
const
uint8_t
*
dataV
;
@property
(
nonatomic
,
readonly
)
int
strideY
;
@property
(
nonatomic
,
readonly
)
int
strideU
;
@property
(
nonatomic
,
readonly
)
int
strideV
;
-
(
instancetype
)
initWithWidth
:(
int
)
width
height
:(
int
)
height
dataY
:(
const
uint8_t
*
)
dataY
dataU
:(
const
uint8_t
*
)
dataU
dataV
:(
const
uint8_t
*
)
dataV
;
-
(
instancetype
)
initWithWidth
:(
int
)
width
height
:(
int
)
height
;
-
(
instancetype
)
initWithWidth
:(
int
)
width
height
:(
int
)
height
strideY
:(
int
)
strideY
strideU
:(
int
)
strideU
strideV
:(
int
)
strideV
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/UIDevice+RTCDevice.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <UIKit/UIKit.h>
typedef
NS_ENUM
(
NSInteger
,
RTCDeviceType
)
{
RTCDeviceTypeUnknown
,
RTCDeviceTypeIPhone1G
,
RTCDeviceTypeIPhone3G
,
RTCDeviceTypeIPhone3GS
,
RTCDeviceTypeIPhone4
,
RTCDeviceTypeIPhone4Verizon
,
RTCDeviceTypeIPhone4S
,
RTCDeviceTypeIPhone5GSM
,
RTCDeviceTypeIPhone5GSM_CDMA
,
RTCDeviceTypeIPhone5CGSM
,
RTCDeviceTypeIPhone5CGSM_CDMA
,
RTCDeviceTypeIPhone5SGSM
,
RTCDeviceTypeIPhone5SGSM_CDMA
,
RTCDeviceTypeIPhone6Plus
,
RTCDeviceTypeIPhone6
,
RTCDeviceTypeIPhone6S
,
RTCDeviceTypeIPhone6SPlus
,
RTCDeviceTypeIPhone7
,
RTCDeviceTypeIPhone7Plus
,
RTCDeviceTypeIPhoneSE
,
RTCDeviceTypeIPhone8
,
RTCDeviceTypeIPhone8Plus
,
RTCDeviceTypeIPhoneX
,
RTCDeviceTypeIPhoneXS
,
RTCDeviceTypeIPhoneXSMax
,
RTCDeviceTypeIPhoneXR
,
RTCDeviceTypeIPhone11
,
RTCDeviceTypeIPhone11Pro
,
RTCDeviceTypeIPhone11ProMax
,
RTCDeviceTypeIPodTouch1G
,
RTCDeviceTypeIPodTouch2G
,
RTCDeviceTypeIPodTouch3G
,
RTCDeviceTypeIPodTouch4G
,
RTCDeviceTypeIPodTouch5G
,
RTCDeviceTypeIPodTouch6G
,
RTCDeviceTypeIPodTouch7G
,
RTCDeviceTypeIPad
,
RTCDeviceTypeIPad2Wifi
,
RTCDeviceTypeIPad2GSM
,
RTCDeviceTypeIPad2CDMA
,
RTCDeviceTypeIPad2Wifi2
,
RTCDeviceTypeIPadMiniWifi
,
RTCDeviceTypeIPadMiniGSM
,
RTCDeviceTypeIPadMiniGSM_CDMA
,
RTCDeviceTypeIPad3Wifi
,
RTCDeviceTypeIPad3GSM_CDMA
,
RTCDeviceTypeIPad3GSM
,
RTCDeviceTypeIPad4Wifi
,
RTCDeviceTypeIPad4GSM
,
RTCDeviceTypeIPad4GSM_CDMA
,
RTCDeviceTypeIPad5
,
RTCDeviceTypeIPad6
,
RTCDeviceTypeIPadAirWifi
,
RTCDeviceTypeIPadAirCellular
,
RTCDeviceTypeIPadAirWifiCellular
,
RTCDeviceTypeIPadAir2
,
RTCDeviceTypeIPadMini2GWifi
,
RTCDeviceTypeIPadMini2GCellular
,
RTCDeviceTypeIPadMini2GWifiCellular
,
RTCDeviceTypeIPadMini3
,
RTCDeviceTypeIPadMini4
,
RTCDeviceTypeIPadPro9Inch
,
RTCDeviceTypeIPadPro12Inch
,
RTCDeviceTypeIPadPro12Inch2
,
RTCDeviceTypeIPadPro10Inch
,
RTCDeviceTypeIPad7Gen10Inch
,
RTCDeviceTypeIPadPro3Gen11Inch
,
RTCDeviceTypeIPadPro3Gen12Inch
,
RTCDeviceTypeIPadMini5Gen
,
RTCDeviceTypeIPadAir3Gen
,
RTCDeviceTypeSimulatori386
,
RTCDeviceTypeSimulatorx86_64
,
};
@interface
UIDevice
(
RTCDevice
)
+
(
RTCDeviceType
)
deviceType
;
+
(
BOOL
)
isIOS11OrLater
;
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/WebRTC.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2020 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <WebRTC/RTCCodecSpecificInfo.h>
#import <WebRTC/RTCEncodedImage.h>
#import <WebRTC/RTCI420Buffer.h>
#import <WebRTC/RTCLogging.h>
#import <WebRTC/RTCMacros.h>
#import <WebRTC/RTCMutableI420Buffer.h>
#import <WebRTC/RTCMutableYUVPlanarBuffer.h>
#import <WebRTC/RTCRtpFragmentationHeader.h>
#import <WebRTC/RTCVideoCapturer.h>
#import <WebRTC/RTCVideoCodecInfo.h>
#import <WebRTC/RTCVideoDecoder.h>
#import <WebRTC/RTCVideoDecoderFactory.h>
#import <WebRTC/RTCVideoEncoder.h>
#import <WebRTC/RTCVideoEncoderFactory.h>
#import <WebRTC/RTCVideoEncoderQpThresholds.h>
#import <WebRTC/RTCVideoEncoderSettings.h>
#import <WebRTC/RTCVideoFrame.h>
#import <WebRTC/RTCVideoFrameBuffer.h>
#import <WebRTC/RTCVideoRenderer.h>
#import <WebRTC/RTCYUVPlanarBuffer.h>
#import <WebRTC/RTCAudioSession.h>
#import <WebRTC/RTCAudioSessionConfiguration.h>
#import <WebRTC/RTCCameraVideoCapturer.h>
#import <WebRTC/RTCFileVideoCapturer.h>
#import <WebRTC/RTCNetworkMonitor.h>
#import <WebRTC/RTCMTLVideoView.h>
#import <WebRTC/RTCEAGLVideoView.h>
#import <WebRTC/RTCVideoViewShading.h>
#import <WebRTC/RTCCodecSpecificInfoH264.h>
#import <WebRTC/RTCDefaultVideoDecoderFactory.h>
#import <WebRTC/RTCDefaultVideoEncoderFactory.h>
#import <WebRTC/RTCH264ProfileLevelId.h>
#import <WebRTC/RTCVideoDecoderFactoryH264.h>
#import <WebRTC/RTCVideoDecoderH264.h>
#import <WebRTC/RTCVideoEncoderFactoryH264.h>
#import <WebRTC/RTCVideoEncoderH264.h>
#import <WebRTC/RTCCVPixelBuffer.h>
#import <WebRTC/RTCCameraPreviewView.h>
#import <WebRTC/RTCDispatcher.h>
#import <WebRTC/UIDevice+RTCDevice.h>
#import <WebRTC/RTCAudioSource.h>
#import <WebRTC/RTCAudioTrack.h>
#import <WebRTC/RTCConfiguration.h>
#import <WebRTC/RTCDataChannel.h>
#import <WebRTC/RTCDataChannelConfiguration.h>
#import <WebRTC/RTCFieldTrials.h>
#import <WebRTC/RTCIceCandidate.h>
#import <WebRTC/RTCIceServer.h>
#import <WebRTC/RTCLegacyStatsReport.h>
#import <WebRTC/RTCMediaConstraints.h>
#import <WebRTC/RTCMediaSource.h>
#import <WebRTC/RTCMediaStream.h>
#import <WebRTC/RTCMediaStreamTrack.h>
#import <WebRTC/RTCMetrics.h>
#import <WebRTC/RTCMetricsSampleInfo.h>
#import <WebRTC/RTCPeerConnection.h>
#import <WebRTC/RTCPeerConnectionFactory.h>
#import <WebRTC/RTCPeerConnectionFactoryOptions.h>
#import <WebRTC/RTCRtcpParameters.h>
#import <WebRTC/RTCRtpCodecParameters.h>
#import <WebRTC/RTCRtpEncodingParameters.h>
#import <WebRTC/RTCRtpHeaderExtension.h>
#import <WebRTC/RTCRtpParameters.h>
#import <WebRTC/RTCRtpReceiver.h>
#import <WebRTC/RTCRtpSender.h>
#import <WebRTC/RTCRtpTransceiver.h>
#import <WebRTC/RTCDtmfSender.h>
#import <WebRTC/RTCSSLAdapter.h>
#import <WebRTC/RTCSessionDescription.h>
#import <WebRTC/RTCStatisticsReport.h>
#import <WebRTC/RTCTracing.h>
#import <WebRTC/RTCCertificate.h>
#import <WebRTC/RTCCryptoOptions.h>
#import <WebRTC/RTCVideoSource.h>
#import <WebRTC/RTCVideoTrack.h>
#import <WebRTC/RTCVideoCodecConstants.h>
#import <WebRTC/RTCVideoDecoderVP8.h>
#import <WebRTC/RTCVideoDecoderVP9.h>
#import <WebRTC/RTCVideoEncoderVP8.h>
#import <WebRTC/RTCVideoEncoderVP9.h>
#import <WebRTC/RTCNativeI420Buffer.h>
#import <WebRTC/RTCNativeMutableI420Buffer.h>
#import <WebRTC/RTCCallbackLogger.h>
#import <WebRTC/RTCFileLogger.h>
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Info.plist
0 → 100644
View file @
cd4ef2cd
File added
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Modules/module.modulemap
0 → 100644
View file @
cd4ef2cd
framework module WebRTC {
umbrella header "WebRTC.h"
export *
module * { export * }
}
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/WebRTC
0 → 100755
View file @
cd4ef2cd
File added
Prev
1
…
5
6
7
8
9
10
11
12
13
…
25
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment