A clarification in MSC2746 / Matrix 1.7 explains that the `type` field should not be validated but passed as-is to the WebRTC API. It also avoids an unnecessary conversion between the WebRTC API and the Ruma type.
ruma-common
Common types for other Ruma crates.
The feature-gated modules are defined as follow:
api
module
Behind the api
feature, core types used to define the requests and responses for each endpoint in
the various Matrix API specifications. These types can be shared by client
and server code for all Matrix APIs.
events
module
Behind the events
feature, serializable types for the events in the Matrix
specification that can be shared by client and server code.