Open
Description
Your environment.
- Version: Latest
- Browser: Any
What did you do?
If you are using RTX streams without interceptors or with custom buffers, the RTP receiver spawns a go routine that will loop forever:
https://github.com/pion/webrtc/blob/2fd3640fa3e394aa65cd22447349bdad76c26844/rtpreceiver.go#L438C1-L490C5
What did you expect?
Interceptors related code should check for interceptor usage before spawning go routines.
What happened?
Go routines are spawned for each receiver with RTX stream causing memory leaks.
Metadata
Metadata
Assignees
Labels
No labels