bugfix
This commit is contained in:
parent
a05a99c534
commit
bcd0aed68d
@ -5,7 +5,7 @@ from aiortc import VideoStreamTrack, AudioStreamTrack
|
|||||||
class MyMediaPlayer(MediaPlayer):
|
class MyMediaPlayer(MediaPlayer):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class MyTrackBasea:
|
class MyTrackBase:
|
||||||
def __init__(self, source=None):
|
def __init__(self, source=None):
|
||||||
self.reloaded = False
|
self.reloaded = False
|
||||||
self.source = source
|
self.source = source
|
||||||
@ -38,12 +38,12 @@ class MyTrackBasea:
|
|||||||
return f
|
return f
|
||||||
|
|
||||||
|
|
||||||
class MyAudioStreamTrack(AudioStreamTrack, MyTrackBasea):
|
class MyAudioStreamTrack(AudioStreamTrack, MyTrackBase):
|
||||||
def __init__(self, source=None):
|
def __init__(self, source=None):
|
||||||
AudioStreamTrack.__init__(self)
|
AudioStreamTrack.__init__(self)
|
||||||
MyTrackBase.__init__(self, source=source)
|
MyTrackBase.__init__(self, source=source)
|
||||||
|
|
||||||
class MyVideoStreamTrack(VideoStreamTrack, MyTrackBasea):
|
class MyVideoStreamTrack(VideoStreamTrack, MyTrackBase):
|
||||||
def __init__(self, source=None):
|
def __init__(self, source=None):
|
||||||
VideoStreamTrack.__init__(self)
|
VideoStreamTrack.__init__(self)
|
||||||
MyTrackBase.__init__(self, source=source)
|
MyTrackBase.__init__(self, source=source)
|
||||||
|
Loading…
Reference in New Issue
Block a user