Skip to content

Reallocate message type IDs? #315

Open

Description

@markafoltz

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions