lolpython
This commit is contained in:
parent
f8a676da3c
commit
c3728437b8
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ class Session(object):
|
||||||
|
|
||||||
@self.pc.on("track")
|
@self.pc.on("track")
|
||||||
async def on_track(track):
|
async def on_track(track):
|
||||||
|
global current_session
|
||||||
print(connection_id, "Received track")
|
print(connection_id, "Received track")
|
||||||
if track.kind == "audio":
|
if track.kind == "audio":
|
||||||
print(connection_id, "Adding to Jack.")
|
print(connection_id, "Adding to Jack.")
|
||||||
|
|
Loading…
Reference in a new issue