From 38f331674c61d028261188f40f38712a1fc1062f Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Wed, 24 Mar 2021 10:02:13 +0800 Subject: [PATCH] Update session.go --- pkg/session/session.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/session/session.go b/pkg/session/session.go index 9924069..da5ee92 100644 --- a/pkg/session/session.go +++ b/pkg/session/session.go @@ -28,7 +28,6 @@ type Session struct { localURI sip.Address remoteURI sip.Address remoteTarget sip.Uri - userData *interface{} logger log.Logger } @@ -197,10 +196,6 @@ func (s *Session) Direction() Direction { return s.direction } -func (s *Session) GetUserData() interface{} { - return s.userData -} - // GetEarlyMedia Get sdp for early media. func (s *Session) GetEarlyMedia() string { return s.answer