IVSStageStreamDelegate
Objective-C
@protocol IVSStageStreamDelegate <NSObject>
Swift
protocol IVSStageStreamDelegate : NSObjectProtocol
A delegate that provides information about the associated IVSStageStream
.
-
The mute status of the associated media stream has changed.
Declaration
Objective-C
- (void)streamDidChangeIsMuted:(nonnull IVSStageStream *)stream;
Swift
optional func streamDidChangeIsMuted(_ stream: IVSStageStream)
Parameters
stream
The associated media stream.
-
The requested RTC stats have been produced.
Declaration
Objective-C
- (void)stream:(nonnull IVSStageStream *)stream didGenerateRTCStats: (nonnull NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> *)stats;
Swift
optional func stream(_ stream: IVSStageStream, didGenerateRTCStats stats: [String : [String : String]])
Parameters
stream
The stream associated with the RTC stats.
stats
The RTC stats.
-
The RTC stats request has produced local audio stats
Declaration
Objective-C
- (void)stream:(nonnull IVSStageStream *)stream didGenerateLocalAudioStats:(nonnull IVSLocalAudioStats *)stats;
Swift
optional func stream(_ stream: IVSStageStream, didGenerate stats: IVSLocalAudioStats)
Parameters
stream
The stream associated with the RTC stats.
stats
The local audio stats.
-
The RTC stats request has produced local video stats
Declaration
Objective-C
- (void)stream:(nonnull IVSStageStream *)stream didGenerateLocalVideoStats:(nonnull NSArray<IVSLocalVideoStats *> *)stats;
Swift
optional func stream(_ stream: IVSStageStream, didGenerateLocalVideoStats stats: [IVSLocalVideoStats])
Parameters
stream
The stream associated with the RTC stats.
stats
The local video stats. There is a stat object for each published video stream if there are multiple..
-
The RTC stats request has produced remote audio stats
Declaration
Objective-C
- (void)stream:(nonnull IVSStageStream *)stream didGenerateRemoteAudioStats:(nonnull IVSRemoteAudioStats *)stats;
Swift
optional func stream(_ stream: IVSStageStream, didGenerate stats: IVSRemoteAudioStats)
Parameters
stream
The stream associated with the RTC stats.
stats
The remote audio stats.
-
The RTC stats request has produced remote video stats
Declaration
Objective-C
- (void)stream:(nonnull IVSStageStream *)stream didGenerateRemoteVideoStats:(nonnull IVSRemoteVideoStats *)stats;
Swift
optional func stream(_ stream: IVSStageStream, didGenerate stats: IVSRemoteVideoStats)
Parameters
stream
The stream associated with the RTC stats.
stats
The remote video stats.