-
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
Eliminate pkg directory #221
Comments
@stv0g is it possible to do with a type alias? Agree it would be nice to have everything in |
I think this was a misunderstanding. I am # proposing to absolute the |
pion/rtp has been blocked since a year due to the fact that transition to /v2 is frozen due to compatibility issues with dependent libraries. This prevents security fixes from reaching users and is becoming a key issue. Since transition to /v2 can't happen right now, a solution consists in downgrading to /v1 and replacing breaking changes with soft updates, marking old objects with a deprecation notice. @stv0g if you like the idea, we can arrange to:
|
BTW, i have tons of material to contribute with respect to packetizers and depacketizers, since i'd like to move as much code as possible from gortsplib to this library, but i can't do it until the library is stalled. |
Hi @aler9, I fully agree with your statement. We should resolve this state asap. I used go-apidiff to check for the current API breaking differences between v1 and v2: stv0g@ubuntu:~/workspace/pion/rtp$ go-apidiff --print-compatible defa1718fec1d5a74b53a57c34c313a3c5eba3f5 HEAD
github.com/pion/rtp
Incompatible changes:
- NewPacketizer: changed from func(uint16, uint8, uint32, Payloader, Sequencer, uint32) Packetizer to func(uint16, uint8, uint32, Payloader, Sequencer) Packetizer Is this really everything which changed? I am not a big fan of downgrading, as this will only postpone the issue. We will have always issues when we want to release a new major version at some point in time. Shouldn't we rather focus on fixing the API and release a v3? |
There's also #119
i perfectly agree with you but the fact is that i'm not the owner of the project and there's a portion of the community that stands with what @jech said in pion/rtcp#127:
bumping pion/rtp or pion/rtcp is not possible without bumping pion/webrtc. But the question here is not about introducing new features, but performing maintenance on the existing ones. |
Okay, lets go with the downgrade approach then. Maybe we can factor out the v2 API breaking changes into a new PR which we can merge lateron? |
Fixes pion#221 As previously discussed, the pkg directory is not used in Pion projects.
Fixes pion#221 As previously discussed, the pkg directory is not used in Pion projects.
Fixes #221 As previously discussed, the pkg directory is not used in Pion projects.
We are no using a
pkg/
subdirectory in Pion repos.We should remove it. Unfortunately, this will break API compatability.
The text was updated successfully, but these errors were encountered: