mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00

Always return sdpMid & sdpMLineindex value if it is null. The W3C starts every attribute definition with `If not null ...`
10 lines
293 B
Go
10 lines
293 B
Go
package webrtc
|
|
|
|
// ICECandidateInit is used to serialize ice candidates
|
|
type ICECandidateInit struct {
|
|
Candidate string `json:"candidate"`
|
|
SDPMid *string `json:"sdpMid"`
|
|
SDPMLineIndex *uint16 `json:"sdpMLineIndex"`
|
|
UsernameFragment *string `json:"usernameFragment"`
|
|
}
|