This commit is contained in:
yumoqing 2024-09-11 15:00:16 +08:00
parent 0fdd1e0dae
commit 1382ecdba5

View File

@ -1,7 +1,8 @@
import random import random
from traceback import print_exc from traceback import print_exc
from aiortc.contrib.media import MediaBlackhole, MediaPlayer, MediaRecorder, MediaRelay from aiortc.contrib.media import MediaBlackhole, MediaPlayer, MediaRecorder, MediaRelay
from aiortc import MediaStreamTrack, VideoStreamTrack, AudioStreamTrack, MediaStreamError from aiortc import MediaStreamTrack, VideoStreamTrack, AudioStreamTrack
from aiortc.mediastreams import MediaStreamError
class MyMediaPlayer(MediaPlayer): class MyMediaPlayer(MediaPlayer):
pass pass