Skip to content
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

feat: allow generic observer #118

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

lherman-cs
Copy link
Contributor

the use case is to allow a custom control loop without REST api, and embedded custom monitoring.

the use case is to allow a custom control loop without REST api, and
embedded custom monitoring.
@mycrl
Copy link
Owner

mycrl commented Dec 27, 2024

🤔 I'm guessing you made some modifications based on turn-server?

Since turn-server is only available as a bin project and not as an external library to be called by third parties, limiting the types to turn-server wouldn't be much of a problem, and eliminating traits would help rust with type derivation.

But it doesn't hurt, and if you're using turn-server as a lib to provide business for your project, there's nothing wrong with modifying to a trait constraint.

@mycrl mycrl self-assigned this Dec 27, 2024
@mycrl mycrl added the rust Pull requests that update Rust code label Dec 27, 2024
@mycrl mycrl merged commit d945f92 into mycrl:main Dec 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants