|
|
|
@ -121,6 +121,8 @@ async def subscribe(session, room, feed): |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# apply offer |
|
|
|
|
print(response["jsep"]["sdp"]) |
|
|
|
|
print(response["jsep"]["type"]) |
|
|
|
|
await pc.setRemoteDescription( |
|
|
|
|
RTCSessionDescription( |
|
|
|
|
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") |
|
|
|
|
await recorder.start() |
|
|
|
|
|
|
|
|
|