Skip to content

Commit 0d144eb

Browse files
authored
Add missing headers for SipService call (#129)
1 parent 691aeec commit 0d144eb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/stupid-hats-poke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"server-sdk-kotlin": patch
3+
---
4+
5+
Add missing headers for SipService call

src/main/kotlin/io/livekit/server/SipService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ interface SipService {
8484
@Header("Authorization") authorization: String
8585
): Call<LivekitSip.SIPDispatchRuleInfo>
8686

87+
@Headers("Content-Type: application/protobuf")
8788
@POST("/twirp/livekit.SIP/UpdateSIPDispatchRule")
8889
fun updateSipDispatchRule(
8990
@Body request: LivekitSip.UpdateSIPDispatchRuleRequest,

0 commit comments

Comments
 (0)