Agora RTC Objective-C API Reference  Refactor
setPlayerOption(AgoraRtcMediaPlayerEnableVideo,0)

make the player to enable video or not

(AgoraRtcMediaPlayerEnableVideo,0)