From 6433909030172e3bffd91ff0bd483e0a35682ccb Mon Sep 17 00:00:00 2001 From: Lukas Herman Date: Sat, 5 Sep 2020 21:02:45 -0700 Subject: [PATCH] Add Stop to TrackBase --- webrtc/track.go | 1 + 1 file changed, 1 insertion(+) diff --git a/webrtc/track.go b/webrtc/track.go index 77a28d4..d7f4dff 100644 --- a/webrtc/track.go +++ b/webrtc/track.go @@ -7,6 +7,7 @@ import ( // TrackBase represents common MediaStreamTrack functionality of LocalTrack and RemoteTrack. type TrackBase interface { ID() string + Stop() error } // LocalRTPTrack represents MediaStreamTrack which is fed by the local stream source.