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

    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

    func stream(_ stream: IVSStageStream, didGenerateRTCStats stats: [String : [String : String]])

    Parameters

    stream

    The stream associated with the RTC stats.

    stats

    The RTC stats.