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
streamThe 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
streamThe stream associated with the RTC stats.
statsThe 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
streamThe stream associated with the RTC stats.
statsThe 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
streamThe stream associated with the RTC stats.
statsThe 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
streamThe stream associated with the RTC stats.
statsThe 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
streamThe stream associated with the RTC stats.
statsThe remote video stats.
IVSStageStreamDelegate Protocol Reference