I think the type here isn't quite right - the type will be the SDP type (offer/answer/pranswer/rollback) represented by both RTCSdpType and DescriptionType, while the sdp field is the actual SDP description string, just as in remoteDescription. Resulted in some strange types in my logic that looks at this downstream!
I think the type here isn't quite right - the
type
will be the SDP type (offer/answer/pranswer/rollback) represented by both RTCSdpType and DescriptionType, while thesdp
field is the actual SDP description string, just as in remoteDescription. Resulted in some strange types in my logic that looks at this downstream!