Fix type of other version fields, fix anchor.

pull/1511/head
David Baker 3 years ago
parent e741e3a7af
commit a7f5b8f8f4

@ -39,7 +39,7 @@ or it may choose, for example, to use a different one for each call to avoid lea
devices were used in a call (in an unencrypted room) or if a single device (ie. access token) were used to
send signalling for more than one call party.
A grammar for `party_id` is defined [below](#specify-exact-grammar-for-voip-ids).
A grammar for `party_id` is defined [below](#grammar-for-voip-ids).
#### Politeness
In line with WebRTC perfect negotiation (https://w3c.github.io/webrtc-pc/#perfect-negotiation-example)

@ -30,7 +30,7 @@
"required": ["type", "sdp"]
},
"version": {
"type": "number",
"type": "string",
"description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0"
},
"party_id": {

@ -40,7 +40,7 @@
"description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. "
},
"version": {
"type": "integer",
"type": "string",
"description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0."
}
},

@ -30,7 +30,7 @@ properties:
type: string
description: The ID of the call this event relates to.
version:
type: integer
type: string
description: The version of the VoIP specification this message adheres to.
This specification is version 1. This field is a string such that experimental
implementations can use non-integer versions. This field was an integer

@ -44,7 +44,7 @@ properties:
type: string
description: The ID of the call this event relates to.
version:
type: integer
type: string
description: The version of the VoIP specification this message adheres to.
This specification is version 1. This field is a string such that experimental
implementations can use non-integer versions. This field was an integer

@ -22,7 +22,7 @@ properties:
type: string
description: The ID of the call this event relates to.
version:
type: integer
type: string
description: The version of the VoIP specification this message adheres to.
This specification is version 1. This field is a string such that experimental
implementations can use non-integer versions. This field was an integer

@ -13,7 +13,7 @@
"description": "The ID of the call this event relates to."
},
"version": {
"type": "integer",
"type": "string",
"description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0."
},
"party_id": {

Loading…
Cancel
Save