Skip to content

Conversation

@alexlivekit
Copy link
Contributor

@alexlivekit alexlivekit commented Nov 6, 2025

Just a concept draft - Not sure we want to do this now, or this way.

This would respect lifetime limits, but the user would still have to take care to re-negotiate a new key.
Ideally, that would happen some time before seeing this error.

lifetimeRemaining *uint64
}

func (w writeStream) String() string {
Copy link
Contributor Author

@alexlivekit alexlivekit Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue why we're passing w writeStream by value and not by ref (w *writeStream). This is basically churning memory.

But this is why I had to do the ugly thing with the lock and *uint64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants