bugfix
This commit is contained in:
parent
0b0ab09d1f
commit
4719d050b4
@ -46,14 +46,14 @@ class MyTrackBase(MediaStreamTrack):
|
|||||||
|
|
||||||
class MyAudioStreamTrack(MyTrackBase):
|
class MyAudioStreamTrack(MyTrackBase):
|
||||||
kind = 'audio'
|
kind = 'audio'
|
||||||
def __init__(self, source=None):
|
def __init__(self, source):
|
||||||
super().__init__()
|
super().__init__(source=source)
|
||||||
self.dumb = AudioStreamTrack()
|
self.dumb = AudioStreamTrack()
|
||||||
|
|
||||||
class MyVideoStreamTrack(MyTrackBase):
|
class MyVideoStreamTrack(MyTrackBase):
|
||||||
kind = 'video'
|
kind = 'video'
|
||||||
def __init__(self, source=None):
|
def __init__(self, source):
|
||||||
super().__init__()
|
super().__init__(source=source)
|
||||||
self.dumb = AudioStreamTrack()
|
self.dumb = AudioStreamTrack()
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user