The EnxStream is a derived Class from EnxRtc. It handles all Media Stream related functions to initiate, configure and to transport streams to EnableX Media Servers. It is also used for receiving stream end-points to be played.

References: AttributesMethodsObservers

Properties

  • streamId – Unique Stream ID
  • isLocal – Boolean. True for Local Stream; False for Remote Stream
  • screen – Boolean. True if the stream has Screen Share
  • isSelfAudioMuted – Boolean. True if Audio is self muted
  • isSelfVideoMuted – Boolean. True if Video is self muted

Methods

Given below a categorized listing of methods:

Stream Information

Stream Conrols

Moderator Controls

Miscellaneous

Delegate Methods

Given below is a list of delegate methods categorized by their functions.

Streaming

  • - didAudioEvents: – When any action is performed on Audio track of a Stream
  • - didVideoEvents: – When any action is performed on Video track of a Stream
  • - stream:didSelfMuteVideo: – When local stream’s video is muted
  • - stream:didSelfUnmuteVideo: – When local stream’s video is unmuted
  • - stream:didSelfMuteAudio: – When local stream’s audio is muted
  • - stream:didSelfUnmuteAudio: – When local stream’s audio is unmuted

Messaging

  • - didReceiveData: – When text messages are received

Hard Mute Audio

  • - didhardMuteAudio: – Moderator is acknowledged when User’s audio stream is hard-muted
  • - didhardUnMuteAudio: – Moderator is acknowledged when User’s audio stream is hard-unmuted
  • - didRecievedHardMutedAudio: – Participant is notified that Moderator has hard-muted his audio stream
  • - didRecievedHardUnmutedAudio: – Participant is notified that Moderator has hard-unmuted his audio stream

Hard Mute Video

  • - stream:didHardVideoMute: – Moderator is acknowledged when User’s video stream is hard-muted
  • - stream:didHardVideoUnMute: – Moderator is acknowledged when User’s video stream is hard-unmuted
  • - stream:didReceivehardMuteVideo: – Participant is notified that Moderator has hard-muted his video stream
  • - stream:didReceivehardUnmuteVideo: Participant is notified that Moderator has hard-unmuted his video stream

Explore iOS SDK