Skip to content

Commit d56503f

Browse files
authored
Fix BufferedMediaTrack.stop() (#194)
1 parent 8dcb4eb commit d56503f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getstream/video/rtc/track_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ def stop(self):
17771777
# Stop the underlying track if it has a stop method
17781778
if hasattr(self._track, "stop"):
17791779
try:
1780-
self._track.stop_audio()
1780+
self._track.stop()
17811781
except Exception as e:
17821782
logger.error(f"Error stopping track: {e}")
17831783

0 commit comments

Comments
 (0)