Files
webrtc/rtcsessiondescription.go
2018-09-02 17:26:13 +02:00

15 lines
347 B
Go

package webrtc
import (
"github.com/pions/webrtc/internal/sdp"
)
// RTCSessionDescription is used to expose local and remote session descriptions.
type RTCSessionDescription struct {
Type RTCSdpType `json:"type"`
Sdp string `json:"sdp"`
// This will never be initialized by callers, internal use only
parsed *sdp.SessionDescription
}