Help Center> SparkRTC> FAQs> SDK Usage> What Is the Difference Between enableLocalVideo and muteLocalVideo?
Updated on 2022-10-10 GMT+08:00

What Is the Difference Between enableLocalVideo and muteLocalVideo?

The difference is as follows:

  • enableLocalVideo: indicates whether to enable local video data collection. When this function is disabled, black screens are displayed on the local and remote videos.
  • muteLocalVideo: indicates whether to send the local video to the background. When this function is disabled, black screens are displayed on the remote video of other users, but the local video can still be viewed in the preview mode.

SDK Usage FAQs

more