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
Hide 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/RTCRtpEncodingParameters.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
/** Corresponds to webrtc::Priority. */
typedef
NS_ENUM
(
NSInteger
,
RTCPriority
)
{
RTCPriorityVeryLow
,
RTCPriorityLow
,
RTCPriorityMedium
,
RTCPriorityHigh
};
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpEncodingParameters
)
:
NSObject
/** The idenfifier for the encoding layer. This is used in simulcast. */
@property
(
nonatomic
,
copy
,
nullable
)
NSString
*
rid
;
/** Controls whether the encoding is currently transmitted. */
@property
(
nonatomic
,
assign
)
BOOL
isActive
;
/** The maximum bitrate to use for the encoding, or nil if there is no
* limit.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
maxBitrateBps
;
/** The minimum bitrate to use for the encoding, or nil if there is no
* limit.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
minBitrateBps
;
/** The maximum framerate to use for the encoding, or nil if there is no
* limit.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
maxFramerate
;
/** The requested number of temporal layers to use for the encoding, or nil
* if the default should be used.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
numTemporalLayers
;
/** Scale the width and height down by this factor for video. If nil,
* implementation default scaling factor will be used.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
scaleResolutionDownBy
;
/** The SSRC being used by this encoding. */
@property
(
nonatomic
,
readonly
,
nullable
)
NSNumber
*
ssrc
;
/** The relative bitrate priority. */
@property
(
nonatomic
,
assign
)
double
bitratePriority
;
/** The relative DiffServ Code Point priority. */
@property
(
nonatomic
,
assign
)
RTCPriority
networkPriority
;
-
(
instancetype
)
init
NS_DESIGNATED_INITIALIZER
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpFragmentationHeader.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
/** Information for header. Corresponds to webrtc::RTPFragmentationHeader. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpFragmentationHeader
)
:
NSObject
@property
(
nonatomic
,
strong
)
NSArray
<
NSNumber
*>
*
fragmentationOffset
;
@property
(
nonatomic
,
strong
)
NSArray
<
NSNumber
*>
*
fragmentationLength
;
@property
(
nonatomic
,
strong
)
NSArray
<
NSNumber
*>
*
fragmentationTimeDiff
;
@property
(
nonatomic
,
strong
)
NSArray
<
NSNumber
*>
*
fragmentationPlType
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpHeaderExtension.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpHeaderExtension
)
:
NSObject
/** The URI of the RTP header extension, as defined in RFC5285. */
@property
(
nonatomic
,
readonly
,
copy
)
NSString
*
uri
;
/** The value put in the RTP packet to identify the header extension. */
@property
(
nonatomic
,
readonly
)
int
id
;
/** Whether the header extension is encrypted or not. */
@property
(
nonatomic
,
readonly
,
getter
=
isEncrypted
)
BOOL
encrypted
;
-
(
instancetype
)
init
NS_DESIGNATED_INITIALIZER
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpParameters.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCRtcpParameters.h"
#import "RTCRtpCodecParameters.h"
#import "RTCRtpEncodingParameters.h"
#import "RTCRtpHeaderExtension.h"
NS_ASSUME_NONNULL_BEGIN
/** Corresponds to webrtc::DegradationPreference. */
typedef
NS_ENUM
(
NSInteger
,
RTCDegradationPreference
)
{
RTCDegradationPreferenceDisabled
,
RTCDegradationPreferenceMaintainFramerate
,
RTCDegradationPreferenceMaintainResolution
,
RTCDegradationPreferenceBalanced
};
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpParameters
)
:
NSObject
/** A unique identifier for the last set of parameters applied. */
@property
(
nonatomic
,
copy
)
NSString
*
transactionId
;
/** Parameters used for RTCP. */
@property
(
nonatomic
,
readonly
,
copy
)
RTC_OBJC_TYPE
(
RTCRtcpParameters
)
*
rtcp
;
/** An array containing parameters for RTP header extensions. */
@property
(
nonatomic
,
readonly
,
copy
)
NSArray
<
RTC_OBJC_TYPE
(
RTCRtpHeaderExtension
)
*>
*
headerExtensions
;
/** The currently active encodings in the order of preference. */
@property
(
nonatomic
,
copy
)
NSArray
<
RTC_OBJC_TYPE
(
RTCRtpEncodingParameters
)
*>
*
encodings
;
/** The negotiated set of send codecs in order of preference. */
@property
(
nonatomic
,
copy
)
NSArray
<
RTC_OBJC_TYPE
(
RTCRtpCodecParameters
)
*>
*
codecs
;
/**
* Degradation preference in case of CPU adaptation or constrained bandwidth.
* If nil, implementation default degradation preference will be used.
*/
@property
(
nonatomic
,
copy
,
nullable
)
NSNumber
*
degradationPreference
;
-
(
instancetype
)
init
NS_DESIGNATED_INITIALIZER
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpReceiver.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCMediaStreamTrack.h"
#import "RTCRtpParameters.h"
NS_ASSUME_NONNULL_BEGIN
/** Represents the media type of the RtpReceiver. */
typedef
NS_ENUM
(
NSInteger
,
RTCRtpMediaType
)
{
RTCRtpMediaTypeAudio
,
RTCRtpMediaTypeVideo
,
RTCRtpMediaTypeData
,
};
@class
RTC_OBJC_TYPE
(
RTCRtpReceiver
);
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCRtpReceiverDelegate
)
<
NSObject
>
/** Called when the first RTP packet is received.
*
* Note: Currently if there are multiple RtpReceivers of the same media type,
* they will all call OnFirstPacketReceived at once.
*
* For example, if we create three audio receivers, A/B/C, they will listen to
* the same signal from the underneath network layer. Whenever the first audio packet
* is received, the underneath signal will be fired. All the receivers A/B/C will be
* notified and the callback of the receiver's delegate will be called.
*
* The process is the same for video receivers.
*/
-
(
void
)
rtpReceiver
:
(
RTC_OBJC_TYPE
(
RTCRtpReceiver
)
*
)
rtpReceiver
didReceiveFirstPacketForMediaType
:
(
RTCRtpMediaType
)
mediaType
;
@end
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCRtpReceiver
)
<
NSObject
>
/** A unique identifier for this receiver. */
@property
(
nonatomic
,
readonly
)
NSString
*
receiverId
;
/** The currently active RTCRtpParameters, as defined in
* https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters.
*
* The WebRTC specification only defines RTCRtpParameters in terms of senders,
* but this API also applies them to receivers, similar to ORTC:
* http://ortc.org/wp-content/uploads/2016/03/ortc.html#rtcrtpparameters*.
*/
@property
(
nonatomic
,
readonly
)
RTC_OBJC_TYPE
(
RTCRtpParameters
)
*
parameters
;
/** The RTCMediaStreamTrack associated with the receiver.
* Note: reading this property returns a new instance of
* RTCMediaStreamTrack. Use isEqual: instead of == to compare
* RTCMediaStreamTrack instances.
*/
@property
(
nonatomic
,
readonly
,
nullable
)
RTC_OBJC_TYPE
(
RTCMediaStreamTrack
)
*
track
;
/** The delegate for this RtpReceiver. */
@property
(
nonatomic
,
weak
)
id
<
RTC_OBJC_TYPE
(
RTCRtpReceiverDelegate
)
>
delegate
;
@end
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpReceiver
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCRtpReceiver
)
>
-
(
instancetype
)
init
NS_UNAVAILABLE
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpSender.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 <Foundation/Foundation.h>
#import "RTCDtmfSender.h"
#import "RTCMacros.h"
#import "RTCMediaStreamTrack.h"
#import "RTCRtpParameters.h"
NS_ASSUME_NONNULL_BEGIN
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCRtpSender
)
<
NSObject
>
/** A unique identifier for this sender. */
@property
(
nonatomic
,
readonly
)
NSString
*
senderId
;
/** The currently active RTCRtpParameters, as defined in
* https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters.
*/
@property
(
nonatomic
,
copy
)
RTC_OBJC_TYPE
(
RTCRtpParameters
)
*
parameters
;
/** The RTCMediaStreamTrack associated with the sender.
* Note: reading this property returns a new instance of
* RTCMediaStreamTrack. Use isEqual: instead of == to compare
* RTCMediaStreamTrack instances.
*/
@property
(
nonatomic
,
copy
,
nullable
)
RTC_OBJC_TYPE
(
RTCMediaStreamTrack
)
*
track
;
/** IDs of streams associated with the RTP sender */
@property
(
nonatomic
,
copy
)
NSArray
<
NSString
*>
*
streamIds
;
/** The RTCDtmfSender accociated with the RTP sender. */
@property
(
nonatomic
,
readonly
,
nullable
)
id
<
RTC_OBJC_TYPE
(
RTCDtmfSender
)
>
dtmfSender
;
@end
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpSender
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCRtpSender
)
>
-
(
instancetype
)
init
NS_UNAVAILABLE
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCRtpTransceiver.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
#import "RTCRtpReceiver.h"
#import "RTCRtpSender.h"
NS_ASSUME_NONNULL_BEGIN
extern
NSString
*
const
kRTCRtpTransceiverErrorDomain
;
/** https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiverdirection */
typedef
NS_ENUM
(
NSInteger
,
RTCRtpTransceiverDirection
)
{
RTCRtpTransceiverDirectionSendRecv
,
RTCRtpTransceiverDirectionSendOnly
,
RTCRtpTransceiverDirectionRecvOnly
,
RTCRtpTransceiverDirectionInactive
,
RTCRtpTransceiverDirectionStopped
};
/** Structure for initializing an RTCRtpTransceiver in a call to
* RTCPeerConnection.addTransceiver.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiverinit
*/
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpTransceiverInit
)
:
NSObject
/** Direction of the RTCRtpTransceiver. See RTCRtpTransceiver.direction. */
@property
(
nonatomic
)
RTCRtpTransceiverDirection
direction
;
/** The added RTCRtpTransceiver will be added to these streams. */
@property
(
nonatomic
)
NSArray
<
NSString
*>
*
streamIds
;
/** TODO(bugs.webrtc.org/7600): Not implemented. */
@property
(
nonatomic
)
NSArray
<
RTC_OBJC_TYPE
(
RTCRtpEncodingParameters
)
*>
*
sendEncodings
;
@end
@class
RTC_OBJC_TYPE
(
RTCRtpTransceiver
);
/** The RTCRtpTransceiver maps to the RTCRtpTransceiver defined by the
* WebRTC specification. A transceiver represents a combination of an RTCRtpSender
* and an RTCRtpReceiver that share a common mid. As defined in JSEP, an
* RTCRtpTransceiver is said to be associated with a media description if its
* mid property is non-nil; otherwise, it is said to be disassociated.
* JSEP: https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-24
*
* Note that RTCRtpTransceivers are only supported when using
* RTCPeerConnection with Unified Plan SDP.
*
* WebRTC specification for RTCRtpTransceiver, the JavaScript analog:
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver
*/
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCRtpTransceiver
)
<
NSObject
>
/** Media type of the transceiver. The sender and receiver will also have this
* type.
*/
@property
(
nonatomic
,
readonly
)
RTCRtpMediaType
mediaType
;
/** The mid attribute is the mid negotiated and present in the local and
* remote descriptions. Before negotiation is complete, the mid value may be
* nil. After rollbacks, the value may change from a non-nil value to nil.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-mid
*/
@property
(
nonatomic
,
readonly
)
NSString
*
mid
;
/** The sender attribute exposes the RTCRtpSender corresponding to the RTP
* media that may be sent with the transceiver's mid. The sender is always
* present, regardless of the direction of media.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-sender
*/
@property
(
nonatomic
,
readonly
)
RTC_OBJC_TYPE
(
RTCRtpSender
)
*
sender
;
/** The receiver attribute exposes the RTCRtpReceiver corresponding to the RTP
* media that may be received with the transceiver's mid. The receiver is
* always present, regardless of the direction of media.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-receiver
*/
@property
(
nonatomic
,
readonly
)
RTC_OBJC_TYPE
(
RTCRtpReceiver
)
*
receiver
;
/** The isStopped attribute indicates that the sender of this transceiver will
* no longer send, and that the receiver will no longer receive. It is true if
* either stop has been called or if setting the local or remote description
* has caused the RTCRtpTransceiver to be stopped.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-stopped
*/
@property
(
nonatomic
,
readonly
)
BOOL
isStopped
;
/** The direction attribute indicates the preferred direction of this
* transceiver, which will be used in calls to createOffer and createAnswer.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction
*/
@property
(
nonatomic
,
readonly
)
RTCRtpTransceiverDirection
direction
;
/** The currentDirection attribute indicates the current direction negotiated
* for this transceiver. If this transceiver has never been represented in an
* offer/answer exchange, or if the transceiver is stopped, the value is not
* present and this method returns NO.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-currentdirection
*/
-
(
BOOL
)
currentDirection
:(
RTCRtpTransceiverDirection
*
)
currentDirectionOut
;
/** The stop method irreversibly stops the RTCRtpTransceiver. The sender of
* this transceiver will no longer send, the receiver will no longer receive.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-stop
*/
-
(
void
)
stopInternal
;
/** An update of directionality does not take effect immediately. Instead,
* future calls to createOffer and createAnswer mark the corresponding media
* descriptions as sendrecv, sendonly, recvonly, or inactive.
* https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction
*/
-
(
void
)
setDirection
:(
RTCRtpTransceiverDirection
)
direction
error
:(
NSError
**
)
error
;
@end
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCRtpTransceiver
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCRtpTransceiver
)
>
-
(
instancetype
)
init
NS_UNAVAILABLE
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCSSLAdapter.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
/**
* Initialize and clean up the SSL library. Failure is fatal. These call the
* corresponding functions in webrtc/rtc_base/ssladapter.h.
*/
RTC_EXTERN
BOOL
RTCInitializeSSL
(
void
);
RTC_EXTERN
BOOL
RTCCleanupSSL
(
void
);
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCSessionDescription.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"
/**
* Represents the session description type. This exposes the same types that are
* in C++, which doesn't include the rollback type that is in the W3C spec.
*/
typedef
NS_ENUM
(
NSInteger
,
RTCSdpType
)
{
RTCSdpTypeOffer
,
RTCSdpTypePrAnswer
,
RTCSdpTypeAnswer
,
RTCSdpTypeRollback
,
};
NS_ASSUME_NONNULL_BEGIN
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCSessionDescription
)
:
NSObject
/** The type of session description. */
@property
(
nonatomic
,
readonly
)
RTCSdpType
type
;
/** The SDP string representation of this session description. */
@property
(
nonatomic
,
readonly
)
NSString
*
sdp
;
-
(
instancetype
)
init
NS_UNAVAILABLE
;
/** Initialize a session description with a type and SDP string. */
-
(
instancetype
)
initWithType
:(
RTCSdpType
)
type
sdp
:(
NSString
*
)
sdp
NS_DESIGNATED_INITIALIZER
;
+
(
NSString
*
)
stringForType
:(
RTCSdpType
)
type
;
+
(
RTCSdpType
)
typeForString
:(
NSString
*
)
string
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCStatisticsReport.h
0 → 100644
View file @
cd4ef2cd
/*
* Copyright 2019 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"
@class
RTC_OBJC_TYPE
(
RTCStatistics
);
NS_ASSUME_NONNULL_BEGIN
/** A statistics report. Encapsulates a number of RTCStatistics objects. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCStatisticsReport
)
:
NSObject
/** The timestamp of the report in microseconds since 1970-01-01T00:00:00Z. */
@property
(
nonatomic
,
readonly
)
CFTimeInterval
timestamp_us
;
/** RTCStatistics objects by id. */
@property
(
nonatomic
,
readonly
)
NSDictionary
<
NSString
*
,
RTC_OBJC_TYPE
(
RTCStatistics
)
*>
*
statistics
;
-
(
instancetype
)
init
NS_UNAVAILABLE
;
@end
/** A part of a report (a subreport) covering a certain area. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCStatistics
)
:
NSObject
/** The id of this subreport, e.g. "RTCMediaStreamTrack_receiver_2". */
@property
(
nonatomic
,
readonly
)
NSString
*
id
;
/** The timestamp of the subreport in microseconds since 1970-01-01T00:00:00Z. */
@property
(
nonatomic
,
readonly
)
CFTimeInterval
timestamp_us
;
/** The type of the subreport, e.g. "track", "codec". */
@property
(
nonatomic
,
readonly
)
NSString
*
type
;
/** The keys and values of the subreport, e.g. "totalFramesDuration = 5.551".
The values are either NSNumbers or NSStrings, or NSArrays encapsulating NSNumbers
or NSStrings. */
@property
(
nonatomic
,
readonly
)
NSDictionary
<
NSString
*
,
NSObject
*>
*
values
;
-
(
instancetype
)
init
NS_UNAVAILABLE
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCTracing.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
RTC_EXTERN
void
RTCSetupInternalTracer
(
void
);
/** Starts capture to specified file. Must be a valid writable path.
* Returns YES if capture starts.
*/
RTC_EXTERN
BOOL
RTCStartInternalCapture
(
NSString
*
filePath
);
RTC_EXTERN
void
RTCStopInternalCapture
(
void
);
RTC_EXTERN
void
RTCShutdownInternalTracer
(
void
);
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoCapturer.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 "RTCVideoFrame.h"
#import "RTCMacros.h"
NS_ASSUME_NONNULL_BEGIN
@class
RTC_OBJC_TYPE
(
RTCVideoCapturer
);
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoCapturerDelegate
)
<
NSObject
>
-
(
void
)
capturer
:
(
RTC_OBJC_TYPE
(
RTCVideoCapturer
)
*
)
capturer
didCaptureVideoFrame
:
(
RTC_OBJC_TYPE
(
RTCVideoFrame
)
*
)
frame
;
@end
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoCapturer
)
:
NSObject
@property
(
nonatomic
,
weak
)
id
<
RTC_OBJC_TYPE
(
RTCVideoCapturerDelegate
)
>
delegate
;
-
(
instancetype
)
initWithDelegate
:(
id
<
RTC_OBJC_TYPE
(
RTCVideoCapturerDelegate
)
>
)
delegate
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoCodecConstants.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 <Foundation/Foundation.h>
#import "RTCMacros.h"
RTC_OBJC_EXPORT
extern
NSString
*
const
kRTCVideoCodecVp8Name
;
RTC_OBJC_EXPORT
extern
NSString
*
const
kRTCVideoCodecVp9Name
;
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoCodecInfo.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
/** Holds information to identify a codec. Corresponds to webrtc::SdpVideoFormat. */
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
:
NSObject
<
NSCoding
>
-
(
instancetype
)
init
NS_UNAVAILABLE
;
-
(
instancetype
)
initWithName
:(
NSString
*
)
name
;
-
(
instancetype
)
initWithName
:(
NSString
*
)
name
parameters
:(
nullable
NSDictionary
<
NSString
*
,
NSString
*>
*
)
parameters
NS_DESIGNATED_INITIALIZER
;
-
(
BOOL
)
isEqualToCodecInfo
:(
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
info
;
@property
(
nonatomic
,
readonly
)
NSString
*
name
;
@property
(
nonatomic
,
readonly
)
NSDictionary
<
NSString
*
,
NSString
*>
*
parameters
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoder.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 "RTCVideoEncoderSettings.h"
#import "RTCVideoFrame.h"
NS_ASSUME_NONNULL_BEGIN
/** Callback block for decoder. */
typedef
void
(
^
RTCVideoDecoderCallback
)(
RTC_OBJC_TYPE
(
RTCVideoFrame
)
*
frame
);
/** Protocol for decoder implementations. */
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoDecoder
)
<
NSObject
>
-
(
void
)
setCallback
:
(
RTCVideoDecoderCallback
)
callback
;
-
(
NSInteger
)
startDecodeWithNumberOfCores
:(
int
)
numberOfCores
;
-
(
NSInteger
)
releaseDecoder
;
-
(
NSInteger
)
decode
:(
RTC_OBJC_TYPE
(
RTCEncodedImage
)
*
)
encodedImage
missingFrames
:(
BOOL
)
missingFrames
codecSpecificInfo
:(
nullable
id
<
RTC_OBJC_TYPE
(
RTCCodecSpecificInfo
)
>
)
info
renderTimeMs
:(
int64_t
)
renderTimeMs
;
-
(
NSString
*
)
implementationName
;
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoderFactory.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 "RTCVideoDecoder.h"
NS_ASSUME_NONNULL_BEGIN
/** RTCVideoDecoderFactory is an Objective-C version of webrtc::VideoDecoderFactory.
*/
RTC_OBJC_EXPORT
@protocol
RTC_OBJC_TYPE
(
RTCVideoDecoderFactory
)
<
NSObject
>
-
(
nullable
id
<
RTC_OBJC_TYPE
(
RTCVideoDecoder
)
>
)
createDecoder
:
(
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*
)
info
;
-
(
NSArray
<
RTC_OBJC_TYPE
(
RTCVideoCodecInfo
)
*>
*
)
supportedCodecs
;
// TODO(andersc): "supportedFormats" instead?
@end
NS_ASSUME_NONNULL_END
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoderFactoryH264.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 "RTCVideoDecoderFactory.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoDecoderFactoryH264
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCVideoDecoderFactory
)
>
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoderH264.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 "RTCVideoDecoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoDecoderH264
)
:
NSObject
<
RTC_OBJC_TYPE
(
RTCVideoDecoder
)
>
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoderVP8.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 "RTCVideoDecoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoDecoderVP8
)
:
NSObject
/* This returns a VP8 decoder that can be returned from a RTCVideoDecoderFactory injected into
* RTCPeerConnectionFactory. Even though it implements the RTCVideoDecoder protocol, it can not be
* used independently from the RTCPeerConnectionFactory.
*/
+
(
id
<
RTC_OBJC_TYPE
(
RTCVideoDecoder
)
>
)
vp8Decoder
;
@end
Frameworks/WebRTC.xcframework/ios-x86_64-simulator/WebRTC.framework/Headers/RTCVideoDecoderVP9.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 "RTCVideoDecoder.h"
RTC_OBJC_EXPORT
@interface
RTC_OBJC_TYPE
(
RTCVideoDecoderVP9
)
:
NSObject
/* This returns a VP9 decoder that can be returned from a RTCVideoDecoderFactory injected into
* RTCPeerConnectionFactory. Even though it implements the RTCVideoDecoder protocol, it can not be
* used independently from the RTCPeerConnectionFactory.
*/
+
(
id
<
RTC_OBJC_TYPE
(
RTCVideoDecoder
)
>
)
vp9Decoder
;
@end
Prev
1
…
4
5
6
7
8
9
10
11
12
…
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