IVSStageStrategy
Objective-C
@protocol IVSStageStrategy <IVSBaseStageStrategy>
Swift
protocol IVSStageStrategy : IVSBaseStageStrategy
A strategy that names the desired subscription with IVSStageSubscribeType.
-
Return the
IVSStageSubscribeTypecorresponding to the type of media streams desired from the associated participant. This will only be invoked on participants that have the subscribe capability.This selects audio and/or video. For subtitles, or video without audio, adopt
IVSStageStrategyV2.Declaration
Objective-C
- (IVSStageSubscribeType)stage:(nonnull IVSStage *)stage shouldSubscribeToParticipant:(nonnull IVSParticipantInfo *)participant;Swift
func stage(_ stage: IVSStage, shouldSubscribeToParticipant participant: IVSParticipantInfo) -> IVSStageSubscribeTypeParameters
stageThe
IVSStageassociated with the participant.participantThe participant in question.