Hi, I am tryin to send a sdp offer in my python ba...
# stream
m
Hi, I am tryin to send a sdp offer in my python backend to the cloudflare WHIP url with multiple tracks (audio and video). I have the following code:
Copy code
pc.addTransceiver("audio", direction="sendonly")
pc.addTransceiver("video", direction="sendonly")
.
.
.
if player and player.audio:
    pc.addTrack(player.audio)

if player and player.video:
    pc.addTrack(player.video)
However, when I send the sdp offer via a post request, I receive an error 400 from the cloudflare endpoint. One difference that I observed between the StackBlitz javascript implementation and aiortc's python implementation is that there is no option to specify the bundlePolicy as max-bundle in python (not sure if that's the issue). Cloudflare team, can you please help me debug this?