1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #import "RTCAudioSession.h"
- NS_ASSUME_NONNULL_BEGIN
- @class RTC_OBJC_TYPE(RTCAudioSessionConfiguration);
- @interface RTC_OBJC_TYPE (RTCAudioSession)
- ()
-
- @property(nonatomic, readonly) int activationCount;
- @property(nonatomic, readonly) int webRTCSessionCount;
- @property(readonly) BOOL canPlayOrRecord;
- @property(nonatomic, assign) BOOL isInterrupted;
- - (BOOL)checkLock:(NSError **)outError;
- - (void)pushDelegate:(id<RTC_OBJC_TYPE(RTCAudioSessionDelegate)>)delegate;
- - (BOOL)beginWebRTCSession:(NSError **)outError;
- - (BOOL)endWebRTCSession:(NSError **)outError;
- - (BOOL)configureWebRTCSession:(NSError **)outError;
- - (BOOL)unconfigureWebRTCSession:(NSError **)outError;
- - (NSError *)configurationErrorWithDescription:(NSString *)description;
- - (void)notifyDidBeginInterruption;
- - (void)notifyDidEndInterruptionWithShouldResumeSession:(BOOL)shouldResumeSession;
- - (void)notifyDidChangeRouteWithReason:(AVAudioSessionRouteChangeReason)reason
- previousRoute:(AVAudioSessionRouteDescription *)previousRoute;
- - (void)notifyMediaServicesWereLost;
- - (void)notifyMediaServicesWereReset;
- - (void)notifyDidChangeCanPlayOrRecord:(BOOL)canPlayOrRecord;
- - (void)notifyDidStartPlayOrRecord;
- - (void)notifyDidStopPlayOrRecord;
- - (void)notifyDidDetectPlayoutGlitch:(int64_t)totalNumberOfGlitches;
- @end
- NS_ASSUME_NONNULL_END
|