Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/room/participant/LocalParticipant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,18 @@ export default class LocalParticipant extends Participant {
if (enabled) {
if (track) {
await track.unmute();
if (options) {
this.log.info('ignoring capture options for already published track', {
...this.logContext,
source,
});
}
if (publishOptions && publishOptions !== track.options) {
this.log.info('ignoring publish options for already published track', {
...this.logContext,
source,
});
}
} else {
let localTracks: Array<LocalTrack> | undefined;
if (this.pendingPublishing.has(source)) {
Expand Down
Loading