|
|
@ -121,6 +121,8 @@ async def subscribe(session, room, feed): |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# apply offer |
|
|
|
# apply offer |
|
|
|
|
|
|
|
print(response["jsep"]["sdp"]) |
|
|
|
|
|
|
|
print(response["jsep"]["type"]) |
|
|
|
await pc.setRemoteDescription( |
|
|
|
await pc.setRemoteDescription( |
|
|
|
RTCSessionDescription( |
|
|
|
RTCSessionDescription( |
|
|
|
sdp=response["jsep"]["sdp"], type=response["jsep"]["type"] |
|
|
|
sdp=response["jsep"]["sdp"], type=response["jsep"]["type"] |
|
|
@ -139,6 +141,7 @@ async def subscribe(session, room, feed): |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
print(pc.localDescription.sdp) |
|
|
|
print("recorder start") |
|
|
|
print("recorder start") |
|
|
|
await recorder.start() |
|
|
|
await recorder.start() |
|
|
|
|
|
|
|
|
|
|
|