Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

publisher.publishVideo() function is not working on Mobile Devices #192

Open
abdec2 opened this issue Aug 26, 2020 · 2 comments
Open

publisher.publishVideo() function is not working on Mobile Devices #192

abdec2 opened this issue Aug 26, 2020 · 2 comments

Comments

@abdec2
Copy link

abdec2 commented Aug 26, 2020

i have created an ionic application where i am using opentok api to implement video call. everything is working fine. i implement the functionality to turn On and Turn Off Camera by using publisher.publishVideo() function, the same way i implemented mute and unmute functionality of microphone by using publisher.publishAudio().

the problem is publishAudio() is working fine. but publishVideo() is working on web and not working on other platforms like android and ios.

@rramosj2
Copy link

How did you implement the publishAudio? I am trying this.publisher.setPublishAudio(false); but it does not seem to make any difference.

@simplelifeic
Copy link

simplelifeic commented Sep 1, 2020

How did you implement the publishAudio? I am trying this.publisher.setPublishAudio(false); but it does not seem to make any difference.

Instead of this.publisher.setPublishAudio(false) you have to call this.publisher.publishAudio(false)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants