Parse python, cpp, unity-web, node sdks in clientinfo (#3110)
This commit is contained in:
@@ -443,6 +443,14 @@ func (s *RTCService) ParseClientInfo(r *http.Request) *livekit.ClientInfo {
|
|||||||
ci.Sdk = livekit.ClientInfo_REACT_NATIVE
|
ci.Sdk = livekit.ClientInfo_REACT_NATIVE
|
||||||
case "rust":
|
case "rust":
|
||||||
ci.Sdk = livekit.ClientInfo_RUST
|
ci.Sdk = livekit.ClientInfo_RUST
|
||||||
|
case "python":
|
||||||
|
ci.Sdk = livekit.ClientInfo_PYTHON
|
||||||
|
case "cpp":
|
||||||
|
ci.Sdk = livekit.ClientInfo_CPP
|
||||||
|
case "unityweb":
|
||||||
|
ci.Sdk = livekit.ClientInfo_UNITY_WEB
|
||||||
|
case "node":
|
||||||
|
ci.Sdk = livekit.ClientInfo_NODE
|
||||||
}
|
}
|
||||||
|
|
||||||
ci.Version = values.Get("version")
|
ci.Version = values.Get("version")
|
||||||
|
|||||||
Reference in New Issue
Block a user