LiveStream connection via whip webrtc python apis

Type

Live Streaming

What is the error message?

Expecting SDP to send at least one track in direction sendonly.

What is the issue you’re encountering

I am not able to establish a connection to the Cloudflare live stream

What steps have you taken to resolve the issue?

SDP offer looks like:

v=0
o=- 3933618286 3933618286 IN IP4 0.0.0.0
s=-
t=0 0
a=group:BUNDLE 0
a=msid-semantic:WMS *
m=video 9 UDP/TLS/RTP/SAVPF 97 98 99 100 101 102
c=IN IP4 0.0.0.0
a=sendonly
a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:3 docs/native-code/rtp-hdrext/abs-send-time - src - Git at Google
a=mid:0
a=msid:e75fbd0a-690c-4262-9426-cfeb9b2c45fe 64f79bb1-34e8-4675-ba2a-2d6f9ef37895
a=rtcp:9 IN IP4 0.0.0.0
a=rtcp-mux
a=ssrc-group:FID 431926015 1007057784
a=ssrc:431926015 cname:b1972997-ddf2-4304-b96f-131208e40dab
a=ssrc:1007057784 cname:b1972997-ddf2-4304-b96f-131208e40dab
a=rtpmap:97 VP8/90000
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 goog-remb
a=rtpmap:98 rtx/90000
a=fmtp:98 apt=97
a=rtpmap:99 H264/90000
a=rtcp-fb:99 nack
a=rtcp-fb:99 nack pli
a=rtcp-fb:99 goog-remb
a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:100 rtx/90000
a=fmtp:100 apt=99
a=rtpmap:101 H264/90000
a=rtcp-fb:101 nack
a=rtcp-fb:101 nack pli
a=rtcp-fb:101 goog-remb
a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:102 rtx/90000
a=fmtp:102 apt=101
a=ice-ufrag:6baV
a=ice-pwd:aDk24s7jNz9xV4A9q0qM96
a=fingerprint:sha-256 D9:40:BB:E5:1E:19:88:77:04:7E:F2:5C:B9:FE:44:8A:59:4D:4D:5F:FC:29:C6:06:4D:98:92:0A:F9:1C:78:42
a=setup:actpass