lolpython

This commit is contained in:
Marks Polakovs 2020-04-02 20:28:15 +02:00
parent f8a676da3c
commit c3728437b8

View file

@ -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.")