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

Reallocate message type IDs? #315

Open
markafoltz opened this issue Sep 10, 2023 · 0 comments
Open

Reallocate message type IDs? #315

markafoltz opened this issue Sep 10, 2023 · 0 comments

Comments

@markafoltz
Copy link
Contributor

The current allocation of message type IDs seems semi random. If I recall there was an attempt to allocate smaller IDs to frequent messages since they may take up less space on the wire. But everything below 63 is one byte.

Here is what I think we should do:

  • Reserve 1-63 for anything having to do with media/data frames, presentation connection messages, or other very frequent messages
  • Renumber remaining messages in a more logical way, for example always using even numbers for sender => receiver and odd numbers for receiver <= sender and grouping related numbers together
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

No branches or pull requests

1 participant