Skip to content
Discussion options

You must be logged in to vote

hi @burakkaraceylan , actually you can do this with a small code change.
You will want to use the ChannelMediaOptions to disable video publish when joining the channel. See API

public int JoinChannel(string token, string channelId, string info, uint uid, ChannelMediaOptions options)

Now, there is a small bug that will make you unable to enable the publishVideo option in the next run. You will need to make a small change in clientmanager.js, in the resetclient() function:

resetClient() {
    this.is_screensharing = false; // set to default
    this.videoSubscribing = true; 
    this.audioSubscribing = true; 
    this.videoPublishing = false;
    this.audioPublishing = true;
    localTracks.a…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by icywind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants