-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: feat: [DIOS-6664] Add stream view id to relevant log messages #269
base: master
Are you sure you want to change the base?
Conversation
@@ -275,6 +278,8 @@ class Transponder extends Emitter | |||
/** | |||
* Select encoding and temporal and spatial layers based on the desired bitrate. This operation will unmute the transponder if it was muted and it is possible to select an encoding and layer based on the target bitrate and options. | |||
* | |||
* @deprecated since version 1.149. Will be deleted in version 2.0. Please use setTargetBitrateAsync instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc there was a problem with the @deprecated
and ts anotations, @mildsunrise am I wrong?
@@ -417,6 +433,8 @@ class Transponder extends Emitter | |||
layers : layers | |||
}); | |||
} else { | |||
this.logger?.warn(`-Transponder::setTargetBitrate() Unable to locate layer suitable for target bitrate ${target} and strict mode, so muting`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better create a child logger with transponder
on constructor id and just have the method name here.
this.logger?.warn(`-Transponder::setTargetBitrate() Unable to locate layer suitable for target bitrate ${target} and strict mode, so muting`); | |
this.logger?.warn(`-setTargetBitrate() Unable to locate layer suitable for target bitrate ${target} and strict mode, so muting`); |
b95e6e2
to
9cfba12
Compare
Needs the new logger repo logger-node
Needs the PR in media-server-src: medooze/media-server#325