Skip to content

Commit

Permalink
added info log when contentHint is overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Mar 13, 2024
1 parent efb231b commit 7f7ba5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/room/participant/LocalParticipant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,10 @@ export default class LocalParticipant extends Participant {
// that we need
if ('contentHint' in track.mediaStreamTrack) {
track.mediaStreamTrack.contentHint = 'motion';
this.log.info('forcing contentHint to motion for screenshare with VP9', {
...this.logContext,
...getLogContextFromTrack(track),
});
} else {
opts.scalabilityMode = 'L1T3';
}
Expand Down

0 comments on commit 7f7ba5a

Please sign in to comment.