├── .gitignore ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── cmd ├── one2many │ └── main.go ├── whip-client-pi │ ├── conn.go │ └── main.go └── whip-client │ ├── conn.go │ └── main.go ├── config.toml ├── go.mod ├── go.sum ├── html ├── assets │ ├── AssetManifest.json │ ├── FontManifest.json │ ├── NOTICES │ ├── fonts │ │ └── MaterialIcons-Regular.otf │ └── packages │ │ ├── cupertino_icons │ │ └── assets │ │ │ └── CupertinoIcons.ttf │ │ └── flutter_icons │ │ └── fonts │ │ ├── AntDesign.ttf │ │ ├── Entypo.ttf │ │ ├── EvilIcons.ttf │ │ ├── Feather.ttf │ │ ├── FontAwesome.ttf │ │ ├── FontAwesome5_Brands.ttf │ │ ├── FontAwesome5_Regular.ttf │ │ ├── FontAwesome5_Solid.ttf │ │ ├── Foundation.ttf │ │ ├── Ionicons.ttf │ │ ├── MaterialCommunityIcons.ttf │ │ ├── MaterialIcons.ttf │ │ ├── Octicons.ttf │ │ ├── SimpleLineIcons.ttf │ │ ├── Zocial.ttf │ │ └── weathericons.ttf ├── canvaskit │ ├── canvaskit.js │ ├── canvaskit.wasm │ └── profiling │ │ ├── canvaskit.js │ │ └── canvaskit.wasm ├── favicon.png ├── flutter.js ├── flutter_service_worker.js ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── index.html ├── main.dart.js ├── manifest.json ├── version.json └── web │ └── index.html ├── pkg ├── client │ └── whip.go ├── util │ └── util.go └── whip │ └── whip.go └── screenshots ├── livekit-whp-bot.jpg └── pi-zero-2w.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, built with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # Dependency directories (remove the comment below to include it) 15 | # vendor/ 16 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // 使用 IntelliSense 了解相关属性。 3 | // 悬停以查看现有属性的描述。 4 | // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Launch Package", 9 | "type": "go", 10 | "request": "launch", 11 | "mode": "auto", 12 | "cwd": "${workspaceFolder}", 13 | "program": "${workspaceFolder}/cmd/one2many/main.go" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 CloudWebRTC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # livekit-whip-bot 2 | 3 | A WHIP tool library for pushing video streams from embedded boards to livekit-server. 4 | 5 | ## Running the examples 6 | 7 | ```bash 8 | git clone https://github.com/cloudwebrtc/livekit-whip-bot 9 | cd livekit-whip-bot 10 | ``` 11 | 12 | ### Run WHIP Server 13 | 14 | Modify the config.toml file, 15 | Replace it with your own livekit server and API key/secret 16 | 17 | ```toml 18 | [livekit] 19 | server = 'http://localhost:7880' 20 | api_key = "" 21 | api_secret = "" 22 | ``` 23 | 24 | ```bash 25 | # Run server 26 | go run cmd/one2many/main.go -c config.toml 27 | ``` 28 | 29 | ### Run livekit WHIP bot 30 | 31 | Install the golang development environment on your Raspberry Pi 3B/4B or zero, and clone this repository to your Raspberry Pi linux system. 32 | 33 | ```bash 34 | # ssh pi@raspberrypi.local 35 | git clone https://github.com/cloudwebrtc/livekit-whip-bot 36 | cd livekit-whip-bot && go mod tidy 37 | go build -o livekit-whip-bot cmd/whip-client-pi/*.go 38 | ``` 39 | 40 | then publish the whip stream and you should be able to see your pi 📸️ in the livekit room 41 | 42 | ```bash 43 | ./livekit-whip-bot --url http://192.168.1.141:8080/whip/publish/live/my-pi-cam 44 | ``` 45 | 46 | Note: Please replace `live` with the actual room name of your livekit server, replace `192.168.1.141:8080` with the IP:port of your WHIP server 47 | 48 | 49 | ### Screenshots 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /cmd/one2many/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "encoding/json" 5 | "flag" 6 | "fmt" 7 | "io/ioutil" 8 | "log" 9 | "net/http" 10 | "os" 11 | "sync" 12 | "time" 13 | 14 | "github.com/cloudwebrtc/livekit-whip-go/pkg/util" 15 | "github.com/cloudwebrtc/livekit-whip-go/pkg/whip" 16 | lksdk "github.com/livekit/server-sdk-go" 17 | 18 | "github.com/gorilla/mux" 19 | "github.com/pion/rtcp" 20 | "github.com/pion/webrtc/v3" 21 | "github.com/spf13/viper" 22 | ) 23 | 24 | var ( 25 | livekitServerAddr = "http://localhost:7880" 26 | livekitAPIKey = "" 27 | livekitAPISecret = "" 28 | conf whip.Config 29 | cfgFile = "config.toml" 30 | whipBindAddr = "" 31 | whipWebAppRoot = "" 32 | listLock sync.RWMutex 33 | conns = make(map[string]*whipState) 34 | ) 35 | 36 | func addTrack(w *whipState, t *webrtc.TrackRemote) *webrtc.TrackLocalStaticRTP { 37 | listLock.Lock() 38 | defer func() { 39 | listLock.Unlock() 40 | }() 41 | 42 | // Create a new TrackLocal with the same codec as our incoming 43 | trackLocal, err := webrtc.NewTrackLocalStaticRTP(t.Codec().RTPCodecCapability, t.ID(), t.StreamID()) 44 | if err != nil { 45 | panic(err) 46 | } 47 | 48 | w.pubTracks[t.ID()] = trackLocal 49 | return trackLocal 50 | } 51 | 52 | func removeTrack(w *whipState, t *webrtc.TrackLocalStaticRTP) { 53 | listLock.Lock() 54 | defer func() { 55 | listLock.Unlock() 56 | }() 57 | 58 | delete(w.pubTracks, t.ID()) 59 | } 60 | 61 | type whipState struct { 62 | stream string 63 | room string 64 | publish bool 65 | whipConn *whip.WHIPConn 66 | pubTracks map[string]*webrtc.TrackLocalStaticRTP 67 | } 68 | 69 | func showHelp() { 70 | fmt.Printf("Usage:%s {params}\n", os.Args[0]) 71 | fmt.Println(" -c {config file}") 72 | fmt.Println(" -whip-bind-addr {whip bind listen addr}") 73 | fmt.Println(" -whip-web-app-root {whip web app root directory}") 74 | fmt.Println(" -livekit-server {livekit server host url}") 75 | fmt.Println(" -livekit-key {livekit server api key}") 76 | fmt.Println(" -livekit-secret {livekit server api secret}") 77 | fmt.Println(" -h (show help info)") 78 | } 79 | 80 | func load(file string) bool { 81 | _, err := os.Stat(file) 82 | if err != nil { 83 | return false 84 | } 85 | 86 | viper.SetConfigFile(file) 87 | viper.SetConfigType("toml") 88 | 89 | err = viper.ReadInConfig() 90 | if err != nil { 91 | log.Print("config file read failed ", err, " file", file) 92 | return false 93 | } 94 | err = viper.GetViper().Unmarshal(&conf) 95 | if err != nil { 96 | log.Print("whip config file loaded failed ", err, " file", file) 97 | return false 98 | } 99 | return true 100 | } 101 | 102 | func printWhipState() { 103 | log.Printf("State for whip:") 104 | for key, conn := range conns { 105 | streamType := "\tpublisher" 106 | if !conn.publish { 107 | streamType = "\tsubscriber" 108 | } 109 | log.Printf("%v: room: %v, stream: %v, resourceId: [%v]", streamType, conn.room, conn.stream, key) 110 | } 111 | } 112 | 113 | func main() { 114 | flag.StringVar(&cfgFile, "c", "config.toml", "config file") 115 | flag.StringVar(&whipBindAddr, "whip-bind-addr", "", "http listening address") 116 | flag.StringVar(&whipWebAppRoot, "whip-web-app-root", "", "html root directory for web server") 117 | flag.StringVar(&livekitServerAddr, "livekit-server", "", "livekit server url, e.g. http://localhost:7880") 118 | flag.StringVar(&livekitAPIKey, "livekit-key", "", "livekit server api key") 119 | flag.StringVar(&livekitAPISecret, "livekit-secret", "", "livekit server api secret") 120 | help := flag.Bool("h", false, "help info") 121 | flag.Parse() 122 | 123 | if !load(cfgFile) { 124 | return 125 | } 126 | 127 | if *help { 128 | showHelp() 129 | return 130 | } 131 | 132 | if whipBindAddr != "" { 133 | conf.WHIP.Addr = whipBindAddr 134 | } 135 | 136 | if whipWebAppRoot != "" { 137 | conf.WHIP.HtmlRoot = whipWebAppRoot 138 | } 139 | 140 | if livekitAPIKey != "" { 141 | conf.LiveKitServer.APIKey = livekitAPIKey 142 | } 143 | 144 | if livekitAPISecret != "" { 145 | conf.LiveKitServer.APISecret = livekitAPISecret 146 | } 147 | 148 | if livekitServerAddr != "" { 149 | conf.LiveKitServer.Server = livekitServerAddr 150 | } 151 | 152 | if conf.LiveKitServer.Server == "" || conf.LiveKitServer.APIKey == "" || conf.LiveKitServer.APISecret == "" { 153 | log.Print("livekit server address, api key and secret must be set\n") 154 | showHelp() 155 | return 156 | } 157 | 158 | whip.Init(conf) 159 | 160 | rtcAgents := make(map[string]*lksdk.Room) 161 | 162 | r := mux.NewRouter() 163 | 164 | r.HandleFunc("/whip/{mode}/{room}/{stream}", func(w http.ResponseWriter, r *http.Request) { 165 | vars := mux.Vars(r) 166 | roomId := vars["room"] 167 | streamId := vars["stream"] 168 | mode := vars["mode"] 169 | body, err := ioutil.ReadAll(r.Body) 170 | if err != nil { 171 | panic(err) 172 | } 173 | log.Printf("Post: roomId => %v, streamId => %v, body = %v", roomId, streamId, string(body)) 174 | 175 | listLock.Lock() 176 | defer listLock.Unlock() 177 | 178 | whip, err := whip.NewWHIPConn() 179 | 180 | if err != nil { 181 | w.WriteHeader(http.StatusInternalServerError) 182 | msg := "500 - failed to create whip conn!" 183 | log.Printf("%v", msg) 184 | w.Write([]byte(msg)) 185 | return 186 | } 187 | 188 | if mode == "publish" { 189 | for _, wc := range conns { 190 | if wc.publish && wc.stream == streamId { 191 | w.WriteHeader(http.StatusInternalServerError) 192 | msg := "500 - publish conn [" + streamId + "] already exist!" 193 | log.Printf("%v", msg) 194 | w.Write([]byte(msg)) 195 | return 196 | } 197 | } 198 | } 199 | 200 | state := &whipState{ 201 | stream: streamId, 202 | room: roomId, 203 | publish: mode == "publish", 204 | whipConn: whip, 205 | pubTracks: make(map[string]*webrtc.TrackLocalStaticRTP), 206 | } 207 | 208 | if mode == "publish" { 209 | whip.OnTrack = func(pc *webrtc.PeerConnection, track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) { 210 | if track.Kind() == webrtc.RTPCodecTypeVideo { 211 | // Send a PLI on an interval so that the publisher is pushing a keyframe every rtcpPLIInterval 212 | // This is a temporary fix until we implement incoming RTCP events, then we would push a PLI only when a viewer requests it 213 | go func() { 214 | ticker := time.NewTicker(time.Second * 3) 215 | for range ticker.C { 216 | errSend := pc.WriteRTCP([]rtcp.Packet{&rtcp.PictureLossIndication{MediaSSRC: uint32(track.SSRC())}}) 217 | if errSend != nil { 218 | log.Println(errSend) 219 | return 220 | } 221 | } 222 | }() 223 | } 224 | 225 | pubTrack := addTrack(state, track) 226 | defer removeTrack(state, pubTrack) 227 | 228 | rtcAgent, ok := rtcAgents[roomId] 229 | if !ok { 230 | rtcAgent, err = createAgent(roomId, nil, "whip-bot") 231 | if err != nil { 232 | log.Println("failed to create agent", err) 233 | return 234 | } 235 | log.Println("created rtc agent for room", roomId) 236 | rtcAgents[roomId] = rtcAgent 237 | } 238 | 239 | var localTrackPublication *lksdk.LocalTrackPublication 240 | 241 | if localTrackPublication, err = rtcAgent.LocalParticipant.PublishTrack(pubTrack, &lksdk.TrackPublicationOptions{Name: streamId}); err != nil { 242 | log.Println("failed to publish rtc track", err) 243 | } else { 244 | log.Println("published rtc track", streamId) 245 | } 246 | 247 | defer func(sid string) { 248 | if err := rtcAgent.LocalParticipant.UnpublishTrack(sid); err != nil { 249 | log.Println("failed to unpublish ", sid, " rtc track", err) 250 | } else { 251 | log.Println("unpublished rtc track ", sid) 252 | } 253 | }(localTrackPublication.SID()) 254 | 255 | buf := make([]byte, 1500) 256 | for { 257 | i, _, err := track.Read(buf) 258 | if err != nil { 259 | return 260 | } 261 | 262 | if _, err = pubTrack.Write(buf[:i]); err != nil { 263 | return 264 | } 265 | } 266 | 267 | } 268 | } 269 | 270 | if mode == "subscribe" { 271 | foundPublish := false 272 | for _, wc := range conns { 273 | if wc.publish && wc.stream == streamId { 274 | for trackID := range wc.pubTracks { 275 | if _, err := whip.AddTrack(wc.pubTracks[trackID]); err != nil { 276 | return 277 | } 278 | } 279 | go func() { 280 | time.Sleep(time.Second * 1) 281 | wc.whipConn.PictureLossIndication() 282 | }() 283 | foundPublish = true 284 | } 285 | } 286 | if !foundPublish { 287 | w.WriteHeader(http.StatusInternalServerError) 288 | msg := fmt.Sprintf("Not find any publisher for room: %v, stream: %v", roomId, streamId) 289 | log.Print(msg) 290 | w.Write([]byte(msg)) 291 | return 292 | } 293 | } 294 | 295 | uniqueResourceId := mode + "-" + streamId + "-" + util.RandomString(12) 296 | 297 | conns[uniqueResourceId] = state 298 | 299 | log.Printf("got offer => %v", string(body)) 300 | answer, err := whip.Offer(webrtc.SessionDescription{Type: webrtc.SDPTypeOffer, SDP: string(body)}) 301 | if err != nil { 302 | w.WriteHeader(http.StatusInternalServerError) 303 | msg := fmt.Sprintf("failed to answer whip conn: %v", err) 304 | log.Print(msg) 305 | w.Write([]byte(msg)) 306 | return 307 | } 308 | log.Printf("send answer => %v", answer.SDP) 309 | w.Header().Set("Access-Control-Allow-Origin", "*") 310 | w.Header().Set("Content-Type", "application/sdp") 311 | w.Header().Set("Location", "/whip/"+roomId+"/"+uniqueResourceId) 312 | w.WriteHeader(http.StatusCreated) 313 | w.Write([]byte(answer.SDP)) 314 | 315 | whip.OnConnectionStateChange = func(state webrtc.PeerConnectionState) { 316 | if state == webrtc.PeerConnectionStateClosed || state == webrtc.PeerConnectionStateFailed || state == webrtc.PeerConnectionStateDisconnected { 317 | listLock.Lock() 318 | defer listLock.Unlock() 319 | if state, found := conns[uniqueResourceId]; found { 320 | state.whipConn.Close() 321 | delete(conns, uniqueResourceId) 322 | streamType := "publish" 323 | if !state.publish { 324 | streamType = "subscribe" 325 | } 326 | log.Printf("%v stream conn removed %v", streamType, streamId) 327 | } 328 | } 329 | } 330 | printWhipState() 331 | }).Methods("POST") 332 | 333 | r.HandleFunc("/whip/{room}/{stream}", func(w http.ResponseWriter, r *http.Request) { 334 | vars := mux.Vars(r) 335 | roomId := vars["room"] 336 | streamId := vars["stream"] 337 | body, err := ioutil.ReadAll(r.Body) 338 | if err != nil { 339 | panic(err) 340 | } 341 | log.Printf("Patch: roomId => %v, streamId => %v, body = %v", roomId, streamId, string(body)) 342 | listLock.Lock() 343 | defer listLock.Unlock() 344 | if state, found := conns[streamId]; found { 345 | mid := "0" 346 | index := uint16(0) 347 | state.whipConn.AddICECandidate(webrtc.ICECandidateInit{Candidate: string(body), SDPMid: &mid, SDPMLineIndex: &index}) 348 | w.Header().Set("Content-Type", "application/trickle-ice-sdpfrag") 349 | w.WriteHeader(http.StatusCreated) 350 | } 351 | }).Methods("PATCH") 352 | 353 | r.HandleFunc("/whip/{room}/{stream}", func(w http.ResponseWriter, r *http.Request) { 354 | vars := mux.Vars(r) 355 | roomId := vars["room"] 356 | streamId := vars["stream"] 357 | 358 | log.Printf("Delete: roomId => %v, streamId => %v", roomId, streamId) 359 | 360 | listLock.Lock() 361 | defer listLock.Unlock() 362 | if state, found := conns[streamId]; found { 363 | state.whipConn.Close() 364 | delete(conns, streamId) 365 | streamType := "publish" 366 | if !state.publish { 367 | streamType = "subscribe" 368 | } 369 | log.Printf("%v stream conn removed %v", streamType, streamId) 370 | printWhipState() 371 | } else { 372 | w.WriteHeader(http.StatusInternalServerError) 373 | msg := "stream " + streamId + " not found" 374 | log.Print(msg) 375 | w.Write([]byte(msg)) 376 | return 377 | } 378 | w.WriteHeader(http.StatusOK) 379 | w.Write([]byte(streamId + " deleted")) 380 | }).Methods("DELETE") 381 | 382 | r.HandleFunc("/whip/list", func(w http.ResponseWriter, r *http.Request) { 383 | listLock.Lock() 384 | defer listLock.Unlock() 385 | var list []map[string]interface{} 386 | for key, item := range conns { 387 | details := make(map[string]interface{}) 388 | 389 | connType := "publish" 390 | if !item.publish { 391 | connType = "subscribe" 392 | } 393 | details["path"] = item.room + "/" + item.stream 394 | details["type"] = connType 395 | details["uniqueID"] = key 396 | details["room"] = item.room 397 | details["stream"] = item.stream 398 | list = append(list, details) 399 | } 400 | w.Header().Set("Content-Type", "application/json") 401 | w.WriteHeader(http.StatusOK) 402 | json.NewEncoder(w).Encode(list) 403 | }).Methods("GET") 404 | 405 | r.PathPrefix("/").Handler(http.StripPrefix("/", http.FileServer(http.Dir(conf.WHIP.HtmlRoot)))) 406 | r.Headers("Access-Control-Allow-Origin", "*") 407 | 408 | log.Print("Listen whip server on: ", conf.WHIP.Addr, " web root: ", conf.WHIP.HtmlRoot) 409 | log.Print("LiveKit server: ", conf.LiveKitServer.Server, " api key: ", conf.LiveKitServer.APIKey) 410 | 411 | log.Printf("Whip publish url prefix: /whip/publish/{room}/{stream}, e.g. http://%v/whip/publish/live/stream1", conf.WHIP.Addr) 412 | log.Printf("Whip subscribe url prefix: /whip/subscribe/{room}/{stream}, e.g. http://%v/whip/subscribe/live/stream1", conf.WHIP.Addr) 413 | 414 | if e := http.ListenAndServe(conf.WHIP.Addr, r); e != nil { 415 | log.Fatal("ListenAndServe: ", e) 416 | } 417 | } 418 | 419 | func createAgent(roomName string, callback *lksdk.RoomCallback, name string) (*lksdk.Room, error) { 420 | room, err := lksdk.ConnectToRoom(conf.LiveKitServer.Server, lksdk.ConnectInfo{ 421 | APIKey: conf.LiveKitServer.APIKey, 422 | APISecret: conf.LiveKitServer.APISecret, 423 | RoomName: roomName, 424 | ParticipantIdentity: name, 425 | }, callback) 426 | if err != nil { 427 | return nil, err 428 | } 429 | return room, nil 430 | } 431 | -------------------------------------------------------------------------------- /cmd/whip-client-pi/conn.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "bytes" 5 | "crypto/tls" 6 | "io/ioutil" 7 | "net/http" 8 | "net/url" 9 | "strings" 10 | 11 | "github.com/cloudwebrtc/livekit-whip-go/pkg/client" 12 | 13 | log "github.com/pion/ion-log" 14 | "github.com/pion/mediadevices" 15 | "github.com/pion/mediadevices/pkg/prop" 16 | "github.com/pion/webrtc/v3" 17 | 18 | // If you don't like x264, you can also use vpx by importing as below 19 | // "github.com/pion/mediadevices/pkg/codec/vpx" // This is required to use VP8/VP9 video encoder 20 | // or you can also use openh264 for alternative h264 implementation 21 | // "github.com/pion/mediadevices/pkg/codec/openh264" 22 | // or if you use a raspberry pi like, you can use mmal for using its hardware encoder 23 | "github.com/pion/mediadevices/pkg/codec/mmal" 24 | 25 | //"github.com/pion/mediadevices/pkg/codec/opus" // This is required to use opus audio encoder 26 | //"github.com/pion/mediadevices/pkg/codec/x264" // This is required to use h264 video encoder 27 | 28 | // Note: If you don't have a camera or microphone or your adapters are not supported, 29 | // you can always swap your adapters with our dummy adapters below. 30 | // _ "github.com/pion/mediadevices/pkg/driver/videotest" 31 | // _ "github.com/pion/mediadevices/pkg/driver/audiotest" 32 | _ "github.com/pion/mediadevices/pkg/driver/camera" // This is required to register camera adapter 33 | //_ "github.com/pion/mediadevices/pkg/driver/microphone" // This is required to register microphone adapter 34 | ) 35 | 36 | type WhipState struct { 37 | httpClient *http.Client 38 | resourceUrl string 39 | whipCon *client.WHIPConn 40 | } 41 | 42 | func (w *WhipState) Close() { 43 | req, err := http.NewRequest(http.MethodDelete, w.resourceUrl, nil) 44 | if err != nil { 45 | log.Errorf("http.NewRequest DELETE failed %v", err) 46 | return 47 | } 48 | _, err = w.httpClient.Do(req) 49 | if err != nil { 50 | log.Errorf("whipCon DELETE failed %v", err) 51 | return 52 | } 53 | } 54 | 55 | func (w *WhipState) Connect(whipServer string) error { 56 | 57 | log.Infof("Publish to whip server: %s", whipServer) 58 | 59 | // Create a new RTCPeerConnection 60 | mmalParams, err := mmal.NewParams() 61 | if err != nil { 62 | panic(err) 63 | } 64 | 65 | mmalParams.BitRate = 500_000 // 500kbps 66 | 67 | codecSelector := mediadevices.NewCodecSelector( 68 | mediadevices.WithVideoEncoders(&mmalParams), 69 | ) 70 | 71 | s, err := mediadevices.GetUserMedia(mediadevices.MediaStreamConstraints{ 72 | Video: func(c *mediadevices.MediaTrackConstraints) { 73 | c.Width = prop.Int(640) 74 | c.Height = prop.Int(480) 75 | }, 76 | Codec: codecSelector, 77 | }) 78 | if err != nil { 79 | log.Errorf("GetUserMedia: %v", err) 80 | return err 81 | } 82 | 83 | whipCon, err := client.NewWHIPConn() 84 | w.whipCon = whipCon 85 | if err != nil { 86 | log.Errorf("New WHIPConn failed %v", err) 87 | return err 88 | } 89 | 90 | transceiver, err := whipCon.AddTrack(s.GetVideoTracks()[0]) 91 | if err != nil { 92 | log.Errorf("whipConn.AddTrack (videoTrack) failed %v", err) 93 | return err 94 | } 95 | 96 | w.whipCon.HandleRtcpFb(transceiver.Sender()) 97 | 98 | offer, err := whipCon.CreateOffer() 99 | if err != nil { 100 | log.Errorf("whipCon.CreateOffer failed %v", err) 101 | return err 102 | } 103 | 104 | tr := &http.Transport{ 105 | TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, 106 | } 107 | client := &http.Client{Transport: tr} 108 | w.httpClient = client 109 | 110 | log.Infof("offer: %v", offer.SDP) 111 | 112 | resp, err := client.Post(whipServer, "application/sdp", bytes.NewBuffer([]byte(offer.SDP))) 113 | if err != nil { 114 | log.Errorf("whipCon POST offer/sdp failed %v", err) 115 | return err 116 | } 117 | 118 | resourceUrl := resp.Header.Get("Location") 119 | 120 | if resourceUrl == "" { 121 | resourceUrl = whipServer 122 | } else { 123 | if strings.HasPrefix(resourceUrl, "/") { 124 | r, err := url.Parse(whipServer) 125 | if err != nil { 126 | log.Errorf("parse url [%v] failed!", whipServer) 127 | } 128 | resourceUrl = r.Scheme + "://" + r.Host + resourceUrl 129 | } 130 | } 131 | 132 | log.Infof("whipCon resourceUrl %v", resourceUrl) 133 | w.resourceUrl = resourceUrl 134 | 135 | defer resp.Body.Close() 136 | bodyBytes, _ := ioutil.ReadAll(resp.Body) 137 | bodyString := string(bodyBytes) 138 | log.Infof("answer: %v", bodyString) 139 | whipCon.SetRemoteDescription(webrtc.SessionDescription{Type: webrtc.SDPTypeAnswer, SDP: string(bodyString)}) 140 | 141 | return nil 142 | } 143 | -------------------------------------------------------------------------------- /cmd/whip-client-pi/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | 10 | log "github.com/pion/ion-log" 11 | ) 12 | 13 | var ( 14 | whipURL = "" 15 | whipState *WhipState 16 | ) 17 | 18 | func showHelp() { 19 | fmt.Printf("Usage:%s {params}\n", os.Args[0]) 20 | fmt.Printf("Params:\n") 21 | fmt.Println(" -url {whip url, e.g http://localhost:8080/whip/publish/live/stream1}") 22 | } 23 | 24 | func main() { 25 | flag.StringVar(&whipURL, "url", "", "whip url") 26 | flag.Parse() 27 | 28 | if whipURL == "" { 29 | showHelp() 30 | return 31 | } 32 | 33 | whipState = &WhipState{} 34 | log.Warnf("start whip publish %v", whipURL) 35 | whipState.Connect(whipURL) 36 | 37 | sigc := make(chan os.Signal, 1) 38 | signal.Notify(sigc, 39 | syscall.SIGHUP, 40 | syscall.SIGINT, 41 | syscall.SIGTERM, 42 | syscall.SIGQUIT) 43 | 44 | go func() { 45 | <-sigc 46 | fmt.Println("Ctrl+C pressed") 47 | if whipState != nil { 48 | log.Warnf("stop whip connect") 49 | whipState.Close() 50 | whipState = nil 51 | } 52 | os.Exit(0) 53 | }() 54 | 55 | select {} 56 | } 57 | -------------------------------------------------------------------------------- /cmd/whip-client/conn.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "bytes" 5 | "crypto/tls" 6 | "io/ioutil" 7 | "net/http" 8 | "net/url" 9 | "strings" 10 | 11 | "github.com/cloudwebrtc/livekit-whip-go/pkg/client" 12 | 13 | log "github.com/pion/ion-log" 14 | "github.com/pion/mediadevices" 15 | "github.com/pion/mediadevices/pkg/prop" 16 | "github.com/pion/webrtc/v3" 17 | 18 | // If you don't like x264, you can also use vpx by importing as below 19 | // "github.com/pion/mediadevices/pkg/codec/vpx" // This is required to use VP8/VP9 video encoder 20 | // or you can also use openh264 for alternative h264 implementation 21 | // "github.com/pion/mediadevices/pkg/codec/openh264" 22 | // or if you use a raspberry pi like, you can use mmal for using its hardware encoder 23 | //"github.com/pion/mediadevices/pkg/codec/mmal" 24 | "github.com/pion/mediadevices/pkg/codec/opus" // This is required to use opus audio encoder 25 | "github.com/pion/mediadevices/pkg/codec/x264" // This is required to use h264 video encoder 26 | 27 | // Note: If you don't have a camera or microphone or your adapters are not supported, 28 | // you can always swap your adapters with our dummy adapters below. 29 | // _ "github.com/pion/mediadevices/pkg/driver/videotest" 30 | // _ "github.com/pion/mediadevices/pkg/driver/audiotest" 31 | _ "github.com/pion/mediadevices/pkg/driver/camera" // This is required to register camera adapter 32 | _ "github.com/pion/mediadevices/pkg/driver/microphone" // This is required to register microphone adapter 33 | ) 34 | 35 | type WhipState struct { 36 | httpClient *http.Client 37 | resourceUrl string 38 | whipCon *client.WHIPConn 39 | } 40 | 41 | func (w *WhipState) Close() { 42 | req, err := http.NewRequest(http.MethodDelete, w.resourceUrl, nil) 43 | if err != nil { 44 | log.Errorf("http.NewRequest DELETE failed %v", err) 45 | return 46 | } 47 | _, err = w.httpClient.Do(req) 48 | if err != nil { 49 | log.Errorf("whipCon DELETE failed %v", err) 50 | return 51 | } 52 | } 53 | 54 | func (w *WhipState) Connect(whipServer string) error { 55 | 56 | log.Infof("Publish to whip server: %s", whipServer) 57 | 58 | // Create a new RTCPeerConnection 59 | x264Params, err := x264.NewParams() 60 | if err != nil { 61 | panic(err) 62 | } 63 | 64 | x264Params.BitRate = 500_000 // 500kbps 65 | 66 | opusParams, err := opus.NewParams() 67 | if err != nil { 68 | panic(err) 69 | } 70 | 71 | codecSelector := mediadevices.NewCodecSelector( 72 | mediadevices.WithVideoEncoders(&x264Params), 73 | mediadevices.WithAudioEncoders(&opusParams), 74 | ) 75 | 76 | s, err := mediadevices.GetUserMedia(mediadevices.MediaStreamConstraints{ 77 | Video: func(c *mediadevices.MediaTrackConstraints) { 78 | c.Width = prop.Int(640) 79 | c.Height = prop.Int(480) 80 | }, 81 | Audio: func(c *mediadevices.MediaTrackConstraints) { 82 | }, 83 | Codec: codecSelector, 84 | }) 85 | if err != nil { 86 | log.Errorf("GetUserMedia: %v", err) 87 | return err 88 | } 89 | 90 | whipCon, err := client.NewWHIPConn() 91 | w.whipCon = whipCon 92 | if err != nil { 93 | log.Errorf("New WHIPConn failed %v", err) 94 | return err 95 | } 96 | 97 | _, err = whipCon.AddTrack(s.GetAudioTracks()[0]) 98 | if err != nil { 99 | log.Errorf("whipConn.AddTrack (audioTrack) failed %v", err) 100 | return err 101 | } 102 | 103 | transceiver, err := whipCon.AddTrack(s.GetVideoTracks()[0]) 104 | if err != nil { 105 | log.Errorf("whipConn.AddTrack (videoTrack) failed %v", err) 106 | return err 107 | } 108 | 109 | w.whipCon.HandleRtcpFb(transceiver.Sender()) 110 | 111 | offer, err := whipCon.CreateOffer() 112 | if err != nil { 113 | log.Errorf("whipCon.CreateOffer failed %v", err) 114 | return err 115 | } 116 | 117 | tr := &http.Transport{ 118 | TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, 119 | } 120 | client := &http.Client{Transport: tr} 121 | w.httpClient = client 122 | 123 | log.Infof("offer: %v", offer.SDP) 124 | 125 | resp, err := client.Post(whipServer, "application/sdp", bytes.NewBuffer([]byte(offer.SDP))) 126 | if err != nil { 127 | log.Errorf("whipCon POST offer/sdp failed %v", err) 128 | return err 129 | } 130 | 131 | resourceUrl := resp.Header.Get("Location") 132 | 133 | if resourceUrl == "" { 134 | resourceUrl = whipServer 135 | } else { 136 | if strings.HasPrefix(resourceUrl, "/") { 137 | r, err := url.Parse(whipServer) 138 | if err != nil { 139 | log.Errorf("parse url [%v] failed!", whipServer) 140 | } 141 | resourceUrl = r.Scheme + "://" + r.Host + resourceUrl 142 | } 143 | } 144 | 145 | log.Infof("whipCon resourceUrl %v", resourceUrl) 146 | w.resourceUrl = resourceUrl 147 | 148 | defer resp.Body.Close() 149 | bodyBytes, _ := ioutil.ReadAll(resp.Body) 150 | bodyString := string(bodyBytes) 151 | log.Infof("answer: %v", bodyString) 152 | whipCon.SetRemoteDescription(webrtc.SessionDescription{Type: webrtc.SDPTypeAnswer, SDP: string(bodyString)}) 153 | 154 | return nil 155 | } 156 | -------------------------------------------------------------------------------- /cmd/whip-client/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | "fmt" 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | 10 | log "github.com/pion/ion-log" 11 | ) 12 | 13 | var ( 14 | whipURL = "" 15 | whipState *WhipState 16 | ) 17 | 18 | func showHelp() { 19 | fmt.Printf("Usage:%s {params}\n", os.Args[0]) 20 | fmt.Printf("Params:\n") 21 | fmt.Println(" -url {whip url, e.g http://localhost:8080/whip/publish/live/stream1}") 22 | } 23 | 24 | func main() { 25 | flag.StringVar(&whipURL, "url", "", "whip url") 26 | flag.Parse() 27 | 28 | if whipURL == "" { 29 | showHelp() 30 | return 31 | } 32 | 33 | whipState = &WhipState{} 34 | log.Warnf("start whip publish %v", whipURL) 35 | whipState.Connect(whipURL) 36 | 37 | sigc := make(chan os.Signal, 1) 38 | signal.Notify(sigc, 39 | syscall.SIGHUP, 40 | syscall.SIGINT, 41 | syscall.SIGTERM, 42 | syscall.SIGQUIT) 43 | 44 | go func() { 45 | <-sigc 46 | fmt.Println("Ctrl+C pressed") 47 | if whipState != nil { 48 | log.Warnf("stop whip connect") 49 | whipState.Close() 50 | whipState = nil 51 | } 52 | os.Exit(0) 53 | }() 54 | 55 | select {} 56 | } 57 | -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- 1 | [whip] 2 | # Port that whip listens on 3 | addr = ":8080" 4 | 5 | # web app root 6 | html_root = 'html' 7 | 8 | 9 | [livekit] 10 | server = 'http://localhost:7880' 11 | api_key = "APIrkjkQaVQJ5DE" 12 | api_secret = "TMRxvde2Y6eUTMIXBoLLdQoRJ4f1rL6uxbdZPDd1x3iB" 13 | 14 | 15 | [webrtc] 16 | # Single port, portrange will not work if you enable this 17 | # singleport = 45670 18 | 19 | # Range of ports that ion accepts WebRTC traffic on 20 | # Format: [min, max] and max - min >= 100 21 | # portrange = [5000, 5200] 22 | # if sfu behind nat, set iceserver 23 | # [[webrtc.iceserver]] 24 | # urls = ["stun:stun.stunprotocol.org:3478"] 25 | # [[webrtc.iceserver]] 26 | # urls = ["turn:turn.awsome.org:3478"] 27 | # username = "awsome" 28 | # credential = "awsome" 29 | 30 | [webrtc.candidates] 31 | #nat1to1 = ["169.254.199.87"] 32 | # icelite = true 33 | 34 | 35 | [log] 36 | # 0 - INFO 1 - DEBUG 2 - TRACE 37 | level = 1 38 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/cloudwebrtc/livekit-whip-go 2 | 3 | go 1.19 4 | 5 | require ( 6 | github.com/gorilla/mux v1.8.0 7 | github.com/livekit/server-sdk-go v1.0.8 8 | github.com/pion/interceptor v0.1.12 9 | github.com/pion/ion-log v1.2.2 10 | github.com/pion/mediadevices v0.4.0 11 | github.com/pion/rtcp v1.2.10 12 | github.com/pion/webrtc/v3 v3.1.58 13 | github.com/spf13/viper v1.15.0 14 | ) 15 | 16 | require ( 17 | github.com/beorn7/perks v1.0.1 // indirect 18 | github.com/bep/debounce v1.2.1 // indirect 19 | github.com/blackjack/webcam v0.0.0-20220329180758-ba064708e165 // indirect 20 | github.com/cespare/xxhash/v2 v2.2.0 // indirect 21 | github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect 22 | github.com/eapache/channels v1.1.0 // indirect 23 | github.com/eapache/queue v1.1.0 // indirect 24 | github.com/frostbyte73/go-throttle v0.0.0-20210621200530-8018c891361d // indirect 25 | github.com/fsnotify/fsnotify v1.6.0 // indirect 26 | github.com/gen2brain/malgo v0.11.10 // indirect 27 | github.com/go-logr/logr v1.2.3 // indirect 28 | github.com/go-logr/stdr v1.2.2 // indirect 29 | github.com/golang/protobuf v1.5.2 // indirect 30 | github.com/google/uuid v1.3.0 // indirect 31 | github.com/gorilla/websocket v1.5.0 // indirect 32 | github.com/hashicorp/hcl v1.0.0 // indirect 33 | github.com/jxskiss/base62 v1.1.0 // indirect 34 | github.com/lithammer/shortuuid/v4 v4.0.0 // indirect 35 | github.com/livekit/mediatransportutil v0.0.0-20230130133657-96cfb115473a // indirect 36 | github.com/livekit/protocol v1.4.2 // indirect 37 | github.com/mackerelio/go-osstat v0.2.3 // indirect 38 | github.com/magefile/mage v1.14.0 // indirect 39 | github.com/magiconair/properties v1.8.7 // indirect 40 | github.com/mattn/go-colorable v0.1.12 // indirect 41 | github.com/mattn/go-isatty v0.0.14 // indirect 42 | github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect 43 | github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect 44 | github.com/mitchellh/mapstructure v1.5.0 // indirect 45 | github.com/pelletier/go-toml/v2 v2.0.6 // indirect 46 | github.com/pion/datachannel v1.5.5 // indirect 47 | github.com/pion/dtls/v2 v2.2.6 // indirect 48 | github.com/pion/ice/v2 v2.3.1 // indirect 49 | github.com/pion/logging v0.2.2 // indirect 50 | github.com/pion/mdns v0.0.7 // indirect 51 | github.com/pion/randutil v0.1.0 // indirect 52 | github.com/pion/rtp v1.7.13 // indirect 53 | github.com/pion/sctp v1.8.6 // indirect 54 | github.com/pion/sdp/v3 v3.0.6 // indirect 55 | github.com/pion/srtp/v2 v2.0.12 // indirect 56 | github.com/pion/stun v0.4.0 // indirect 57 | github.com/pion/transport/v2 v2.0.2 // indirect 58 | github.com/pion/turn/v2 v2.1.0 // indirect 59 | github.com/pion/udp/v2 v2.0.1 // indirect 60 | github.com/prometheus/client_golang v1.14.0 // indirect 61 | github.com/prometheus/client_model v0.3.0 // indirect 62 | github.com/prometheus/common v0.37.0 // indirect 63 | github.com/prometheus/procfs v0.8.0 // indirect 64 | github.com/redis/go-redis/v9 v9.0.2 // indirect 65 | github.com/sirupsen/logrus v1.8.1 // indirect 66 | github.com/spf13/afero v1.9.3 // indirect 67 | github.com/spf13/cast v1.5.0 // indirect 68 | github.com/spf13/jwalterweatherman v1.1.0 // indirect 69 | github.com/spf13/pflag v1.0.5 // indirect 70 | github.com/subosito/gotenv v1.4.2 // indirect 71 | github.com/thoas/go-funk v0.9.3 // indirect 72 | github.com/twitchtv/twirp v8.1.3+incompatible // indirect 73 | go.uber.org/atomic v1.10.0 // indirect 74 | go.uber.org/multierr v1.8.0 // indirect 75 | go.uber.org/zap v1.24.0 // indirect 76 | golang.org/x/crypto v0.6.0 // indirect 77 | golang.org/x/image v0.2.0 // indirect 78 | golang.org/x/net v0.7.0 // indirect 79 | golang.org/x/sys v0.5.0 // indirect 80 | golang.org/x/term v0.5.0 // indirect 81 | golang.org/x/text v0.7.0 // indirect 82 | google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect 83 | google.golang.org/grpc v1.53.0 // indirect 84 | google.golang.org/protobuf v1.28.1 // indirect 85 | gopkg.in/ini.v1 v1.67.0 // indirect 86 | gopkg.in/square/go-jose.v2 v2.6.0 // indirect 87 | gopkg.in/yaml.v3 v3.0.1 // indirect 88 | ) 89 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 3 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 4 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 5 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 6 | cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 7 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 8 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 9 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= 10 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= 11 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= 12 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= 13 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= 14 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= 15 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= 16 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= 17 | cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= 18 | cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= 19 | cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= 20 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= 21 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= 22 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= 23 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= 24 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= 25 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= 26 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= 27 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= 28 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= 29 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= 30 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= 31 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= 32 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= 33 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 34 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= 35 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= 36 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= 37 | cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= 38 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= 39 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 40 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= 41 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 42 | github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 43 | github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 44 | github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 45 | github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= 46 | github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= 47 | github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= 48 | github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= 49 | github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= 50 | github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= 51 | github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= 52 | github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= 53 | github.com/blackjack/webcam v0.0.0-20220329180758-ba064708e165 h1:QsIbRyO2tn5eSJZ/skuDqSTo0GWI5H4G1AT7Mm2H0Nw= 54 | github.com/blackjack/webcam v0.0.0-20220329180758-ba064708e165/go.mod h1:G0X+rEqYPWSq0dG8OMf8M446MtKytzpPjgS3HbdOJZ4= 55 | github.com/bsm/ginkgo/v2 v2.5.0 h1:aOAnND1T40wEdAtkGSkvSICWeQ8L3UASX7YVCqQx+eQ= 56 | github.com/bsm/gomega v1.20.0 h1:JhAwLmtRzXFTx2AkALSLa8ijZafntmhSoU63Ok18Uq8= 57 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 58 | github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 59 | github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 60 | github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= 61 | github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 62 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= 63 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= 64 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= 65 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 66 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 67 | github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= 68 | github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= 69 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 70 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 71 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 72 | github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= 73 | github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= 74 | github.com/eapache/channels v1.1.0 h1:F1taHcn7/F0i8DYqKXJnyhJcVpp2kgFcNePxXtnyu4k= 75 | github.com/eapache/channels v1.1.0/go.mod h1:jMm2qB5Ubtg9zLd+inMZd2/NUvXgzmWXsDaLyQIGfH0= 76 | github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc= 77 | github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= 78 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 79 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 80 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 81 | github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= 82 | github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= 83 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 84 | github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= 85 | github.com/frostbyte73/go-throttle v0.0.0-20210621200530-8018c891361d h1:rvSueMilKro0jF+VfxoVR42wazKPl+cUBL3rFbiBGso= 86 | github.com/frostbyte73/go-throttle v0.0.0-20210621200530-8018c891361d/go.mod h1:jhHJXDlUaWA2g15qvWdleCmRe0Z3noWIQQvjbTZOhGY= 87 | github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= 88 | github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= 89 | github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= 90 | github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= 91 | github.com/gen2brain/malgo v0.11.10 h1:u41QchDBS7Z2rwEVPu7uycK6HA8IyzKoUOhLU7IvYW4= 92 | github.com/gen2brain/malgo v0.11.10/go.mod h1:f9TtuN7DVrXMiV/yIceMeWpvanyVzJQMlBecJFVMxww= 93 | github.com/gen2brain/shm v0.0.0-20200228170931-49f9650110c5/go.mod h1:uF6rMu/1nvu+5DpiRLwusA6xB8zlkNoGzKn8lmYONUo= 94 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= 95 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 96 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 97 | github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 98 | github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 99 | github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= 100 | github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= 101 | github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= 102 | github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= 103 | github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= 104 | github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= 105 | github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= 106 | github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= 107 | github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= 108 | github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= 109 | github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= 110 | github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= 111 | github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= 112 | github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= 113 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= 114 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 115 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 116 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 117 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 118 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 119 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= 120 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 121 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 122 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 123 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= 124 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 125 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 126 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 127 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 128 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 129 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= 130 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= 131 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= 132 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= 133 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 134 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= 135 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= 136 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 137 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 138 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= 139 | github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= 140 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 141 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 142 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 143 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 144 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 145 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 146 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 147 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 148 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 149 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 150 | github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 151 | github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 152 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 153 | github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= 154 | github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= 155 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= 156 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= 157 | github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= 158 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 159 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 160 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 161 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 162 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 163 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 164 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 165 | github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= 166 | github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= 167 | github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= 168 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 169 | github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 170 | github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= 171 | github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 172 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= 173 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= 174 | github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= 175 | github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= 176 | github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= 177 | github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= 178 | github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 179 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 180 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 181 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= 182 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= 183 | github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= 184 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= 185 | github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= 186 | github.com/jezek/xgb v0.0.0-20210312150743-0e0f116e1240/go.mod h1:3P4UH/k22rXyHIJD2w4h2XMqPX4Of/eySEZq9L6wqc4= 187 | github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= 188 | github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= 189 | github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 190 | github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 191 | github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= 192 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= 193 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 194 | github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= 195 | github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= 196 | github.com/jxskiss/base62 v1.1.0 h1:A5zbF8v8WXx2xixnAKD2w+abC+sIzYJX+nxmhA6HWFw= 197 | github.com/jxskiss/base62 v1.1.0/go.mod h1:HhWAlUXvxKThfOlZbcuFzsqwtF5TcqS9ru3y5GfjWAc= 198 | github.com/kbinani/screenshot v0.0.0-20210720154843-7d3a670d8329/go.mod h1:2VPVQDR4wO7KXHwP+DAypEy67rXf+okUx2zjgpCxZw4= 199 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 200 | github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 201 | github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 202 | github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= 203 | github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= 204 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 205 | github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= 206 | github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= 207 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 208 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 209 | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= 210 | github.com/lithammer/shortuuid/v4 v4.0.0 h1:QRbbVkfgNippHOS8PXDkti4NaWeyYfcBTHtw7k08o4c= 211 | github.com/lithammer/shortuuid/v4 v4.0.0/go.mod h1:Zs8puNcrvf2rV9rTH51ZLLcj7ZXqQI3lv67aw4KiB1Y= 212 | github.com/livekit/mediatransportutil v0.0.0-20230130133657-96cfb115473a h1:5UkGQpskXp7HcBmyrCwWtO7ygDWbqtjN09Yva4l/nyE= 213 | github.com/livekit/mediatransportutil v0.0.0-20230130133657-96cfb115473a/go.mod h1:1Dlx20JPoIKGP45eo+yuj0HjeE25zmyeX/EWHiPCjFw= 214 | github.com/livekit/protocol v1.4.2 h1:XmobZ9eQmTSThWUmkko48tGf0AWfPMVWzpWzt3uoj+4= 215 | github.com/livekit/protocol v1.4.2/go.mod h1:mVzmVesPCIgk2gg/jMr6PWtHu8dfRdhaAJ6okFs5nQw= 216 | github.com/livekit/server-sdk-go v1.0.8 h1:qyB2o69HobaQlXIip1hrQOiykV4Y9pBMu/Fd4hvY7fg= 217 | github.com/livekit/server-sdk-go v1.0.8/go.mod h1:89OksdP3goYFRB01ysX44xDX9k2Q+U3yL5LA2qoZwNU= 218 | github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk= 219 | github.com/mackerelio/go-osstat v0.2.3 h1:jAMXD5erlDE39kdX2CU7YwCGRcxIO33u/p8+Fhe5dJw= 220 | github.com/mackerelio/go-osstat v0.2.3/go.mod h1:DQbPOnsss9JHIXgBStc/dnhhir3gbd3YH+Dbdi7ptMA= 221 | github.com/magefile/mage v1.14.0 h1:6QDX3g6z1YvJ4olPhT1wksUcSa/V0a1B+pJb73fBjyo= 222 | github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= 223 | github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= 224 | github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= 225 | github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= 226 | github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= 227 | github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= 228 | github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= 229 | github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= 230 | github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= 231 | github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= 232 | github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= 233 | github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI= 234 | github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= 235 | github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= 236 | github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= 237 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 238 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 239 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 240 | github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 241 | github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= 242 | github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 243 | github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 244 | github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= 245 | github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= 246 | github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= 247 | github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= 248 | github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= 249 | github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= 250 | github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= 251 | github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= 252 | github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= 253 | github.com/pelletier/go-toml/v2 v2.0.6 h1:nrzqCb7j9cDFj2coyLNLaZuJTLjWjlaz6nvTvIwycIU= 254 | github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= 255 | github.com/pion/datachannel v1.5.5 h1:10ef4kwdjije+M9d7Xm9im2Y3O6A6ccQb0zcqZcJew8= 256 | github.com/pion/datachannel v1.5.5/go.mod h1:iMz+lECmfdCMqFRhXhcA/219B0SQlbpoR2V118yimL0= 257 | github.com/pion/dtls/v2 v2.1.5/go.mod h1:BqCE7xPZbPSubGasRoDFJeTsyJtdD1FanJYL0JGheqY= 258 | github.com/pion/dtls/v2 v2.2.6 h1:yXMxKr0Skd+Ub6A8UqXTRLSywskx93ooMRHsQUtd+Z4= 259 | github.com/pion/dtls/v2 v2.2.6/go.mod h1:t8fWJCIquY5rlQZwA2yWxUS1+OCrAdXrhVKXB5oD/wY= 260 | github.com/pion/ice/v2 v2.2.12/go.mod h1:z2KXVFyRkmjetRlaVRgjO9U3ShKwzhlUylvxKfHfd5A= 261 | github.com/pion/ice/v2 v2.3.1 h1:FQCmUfZe2Jpe7LYStVBOP6z1DiSzbIateih3TztgTjc= 262 | github.com/pion/ice/v2 v2.3.1/go.mod h1:aq2kc6MtYNcn4XmMhobAv6hTNJiHzvD0yXRz80+bnP8= 263 | github.com/pion/interceptor v0.1.11/go.mod h1:tbtKjZY14awXd7Bq0mmWvgtHB5MDaRN7HV3OZ/uy7s8= 264 | github.com/pion/interceptor v0.1.12 h1:CslaNriCFUItiXS5o+hh5lpL0t0ytQkFnUcbbCs2Zq8= 265 | github.com/pion/interceptor v0.1.12/go.mod h1:bDtgAD9dRkBZpWHGKaoKb42FhDHTG2rX8Ii9LRALLVA= 266 | github.com/pion/ion-log v1.2.2 h1:aA2JlPtkpJYLFzq2gH4sEIkN/+flXE1d3YH84Gh0h34= 267 | github.com/pion/ion-log v1.2.2/go.mod h1:oUlvCy7LZNPzOxmCZVraaMhcS/hB9XFog4m1A8QpVgM= 268 | github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY= 269 | github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= 270 | github.com/pion/mdns v0.0.5/go.mod h1:UgssrvdD3mxpi8tMxAXbsppL3vJ4Jipw1mTCW+al01g= 271 | github.com/pion/mdns v0.0.7 h1:P0UB4Sr6xDWEox0kTVxF0LmQihtCbSAdW0H2nEgkA3U= 272 | github.com/pion/mdns v0.0.7/go.mod h1:4iP2UbeFhLI/vWju/bw6ZfwjJzk0z8DNValjGxR/dD8= 273 | github.com/pion/mediadevices v0.4.0 h1:3jrSD7JHY6Ec6K2ThLYOZ3M5gaE8EWsHNWza1nrrz7Y= 274 | github.com/pion/mediadevices v0.4.0/go.mod h1:QNQfZZuejssdULEXPB+uMdzvY7N19k2PLQuBiyXsd+k= 275 | github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA= 276 | github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8= 277 | github.com/pion/rtcp v1.2.9/go.mod h1:qVPhiCzAm4D/rxb6XzKeyZiQK69yJpbUDJSF7TgrqNo= 278 | github.com/pion/rtcp v1.2.10 h1:nkr3uj+8Sp97zyItdN60tE/S6vk4al5CPRR6Gejsdjc= 279 | github.com/pion/rtcp v1.2.10/go.mod h1:ztfEwXZNLGyF1oQDttz/ZKIBaeeg/oWbRYqzBM9TL1I= 280 | github.com/pion/rtp v1.7.13 h1:qcHwlmtiI50t1XivvoawdCGTP4Uiypzfrsap+bijcoA= 281 | github.com/pion/rtp v1.7.13/go.mod h1:bDb5n+BFZxXx0Ea7E5qe+klMuqiBrP+w8XSjiWtCUko= 282 | github.com/pion/sctp v1.8.5/go.mod h1:SUFFfDpViyKejTAdwD1d/HQsCu+V/40cCs2nZIvC3s0= 283 | github.com/pion/sctp v1.8.6 h1:CUex11Vkt9YS++VhLf8b55O3VqKrWL6W3SDwX4jAqsI= 284 | github.com/pion/sctp v1.8.6/go.mod h1:SUFFfDpViyKejTAdwD1d/HQsCu+V/40cCs2nZIvC3s0= 285 | github.com/pion/sdp/v3 v3.0.6 h1:WuDLhtuFUUVpTfus9ILC4HRyHsW6TdugjEX/QY9OiUw= 286 | github.com/pion/sdp/v3 v3.0.6/go.mod h1:iiFWFpQO8Fy3S5ldclBkpXqmWy02ns78NOKoLLL0YQw= 287 | github.com/pion/srtp/v2 v2.0.10/go.mod h1:XEeSWaK9PfuMs7zxXyiN252AHPbH12NX5q/CFDWtUuA= 288 | github.com/pion/srtp/v2 v2.0.12 h1:WrmiVCubGMOAObBU1vwWjG0H3VSyQHawKeer2PVA5rY= 289 | github.com/pion/srtp/v2 v2.0.12/go.mod h1:C3Ep44hlOo2qEYaq4ddsmK5dL63eLehXFbHaZ9F5V9Y= 290 | github.com/pion/stun v0.3.5/go.mod h1:gDMim+47EeEtfWogA37n6qXZS88L5V6LqFcf+DZA2UA= 291 | github.com/pion/stun v0.4.0 h1:vgRrbBE2htWHy7l3Zsxckk7rkjnjOsSM7PHZnBwo8rk= 292 | github.com/pion/stun v0.4.0/go.mod h1:QPsh1/SbXASntw3zkkrIk3ZJVKz4saBY2G7S10P3wCw= 293 | github.com/pion/transport v0.12.2/go.mod h1:N3+vZQD9HlDP5GWkZ85LohxNsDcNgofQmyL6ojX5d8Q= 294 | github.com/pion/transport v0.13.0/go.mod h1:yxm9uXpK9bpBBWkITk13cLo1y5/ur5VQpG22ny6EP7g= 295 | github.com/pion/transport v0.13.1/go.mod h1:EBxbqzyv+ZrmDb82XswEE0BjfQFtuw1Nu6sjnjWCsGg= 296 | github.com/pion/transport v0.14.1 h1:XSM6olwW+o8J4SCmOBb/BpwZypkHeyM0PGFCxNQBr40= 297 | github.com/pion/transport v0.14.1/go.mod h1:4tGmbk00NeYA3rUa9+n+dzCCoKkcy3YlYb99Jn2fNnI= 298 | github.com/pion/transport/v2 v2.0.0/go.mod h1:HS2MEBJTwD+1ZI2eSXSvHJx/HnzQqRy2/LXxt6eVMHc= 299 | github.com/pion/transport/v2 v2.0.2 h1:St+8o+1PEzPT51O9bv+tH/KYYLMNR5Vwm5Z3Qkjsywg= 300 | github.com/pion/transport/v2 v2.0.2/go.mod h1:vrz6bUbFr/cjdwbnxq8OdDDzHf7JJfGsIRkxfpZoTA0= 301 | github.com/pion/turn/v2 v2.0.8/go.mod h1:+y7xl719J8bAEVpSXBXvTxStjJv3hbz9YFflvkpcGPw= 302 | github.com/pion/turn/v2 v2.1.0 h1:5wGHSgGhJhP/RpabkUb/T9PdsAjkGLS6toYz5HNzoSI= 303 | github.com/pion/turn/v2 v2.1.0/go.mod h1:yrT5XbXSGX1VFSF31A3c1kCNB5bBZgk/uu5LET162qs= 304 | github.com/pion/udp v0.1.1/go.mod h1:6AFo+CMdKQm7UiA0eUPA8/eVCTx8jBIITLZHc9DWX5M= 305 | github.com/pion/udp/v2 v2.0.1 h1:xP0z6WNux1zWEjhC7onRA3EwwSliXqu1ElUZAQhUP54= 306 | github.com/pion/udp/v2 v2.0.1/go.mod h1:B7uvTMP00lzWdyMr/1PVZXtV3wpPIxBRd4Wl6AksXn8= 307 | github.com/pion/webrtc/v3 v3.1.50/go.mod h1:y9n09weIXB+sjb9mi0GBBewNxo4TKUQm5qdtT5v3/X4= 308 | github.com/pion/webrtc/v3 v3.1.58 h1:husXqiKQuk6gbOqJlPHs185OskAyxUW6iAEgHghgCrc= 309 | github.com/pion/webrtc/v3 v3.1.58/go.mod h1:jJdqoqGBlZiE3y8Z1tg1fjSkyEDCZLL+foypUBn0Lhk= 310 | github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 311 | github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 312 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 313 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 314 | github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= 315 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 316 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 317 | github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= 318 | github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= 319 | github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= 320 | github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= 321 | github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= 322 | github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= 323 | github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= 324 | github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= 325 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 326 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 327 | github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 328 | github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= 329 | github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= 330 | github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 331 | github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= 332 | github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= 333 | github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= 334 | github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= 335 | github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= 336 | github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= 337 | github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 338 | github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= 339 | github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= 340 | github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= 341 | github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= 342 | github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= 343 | github.com/redis/go-redis/v9 v9.0.2 h1:BA426Zqe/7r56kCcvxYLWe1mkaz71LKF77GwgFzSxfE= 344 | github.com/redis/go-redis/v9 v9.0.2/go.mod h1:/xDTe9EF1LM61hek62Poq2nzQSGj0xSrEtEHbBQevps= 345 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 346 | github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= 347 | github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= 348 | github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= 349 | github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= 350 | github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= 351 | github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= 352 | github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= 353 | github.com/spf13/afero v1.9.3 h1:41FoI0fD7OR7mGcKE/aOiLkGreyf8ifIOQmJANWogMk= 354 | github.com/spf13/afero v1.9.3/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= 355 | github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= 356 | github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= 357 | github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= 358 | github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= 359 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= 360 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 361 | github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= 362 | github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= 363 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 364 | github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 365 | github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= 366 | github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= 367 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 368 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 369 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 370 | github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= 371 | github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 372 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 373 | github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 374 | github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= 375 | github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= 376 | github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= 377 | github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= 378 | github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= 379 | github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= 380 | github.com/thoas/go-funk v0.9.3 h1:7+nAEx3kn5ZJcnDm2Bh23N2yOtweO14bi//dvRtgLpw= 381 | github.com/thoas/go-funk v0.9.3/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q= 382 | github.com/twitchtv/twirp v8.1.3+incompatible h1:+F4TdErPgSUbMZMwp13Q/KgDVuI7HJXP61mNV3/7iuU= 383 | github.com/twitchtv/twirp v8.1.3+incompatible/go.mod h1:RRJoFSAmTEh2weEqWtpPE3vFK5YBhA6bqp2l1kfCC5A= 384 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 385 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 386 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 387 | github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 388 | github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= 389 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 390 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 391 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 392 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 393 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 394 | go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= 395 | go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= 396 | go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= 397 | go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= 398 | go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= 399 | go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= 400 | go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= 401 | go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= 402 | go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= 403 | golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 404 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 405 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 406 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 407 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 408 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 409 | golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= 410 | golang.org/x/crypto v0.0.0-20210503195802-e9a32991a82e/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= 411 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 412 | golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 413 | golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= 414 | golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= 415 | golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= 416 | golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc= 417 | golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= 418 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 419 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 420 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= 421 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= 422 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= 423 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 424 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 425 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 426 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= 427 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= 428 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= 429 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 430 | golang.org/x/image v0.2.0 h1:/DcQ0w3VHKCC5p0/P2B0JpAZ9Z++V2KOo2fyU89CXBQ= 431 | golang.org/x/image v0.2.0/go.mod h1:la7oBXb9w3YFjBqaAwtynVioc1ZvOnNteUNrifGNmAI= 432 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 433 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 434 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 435 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 436 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 437 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 438 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 439 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= 440 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 441 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 442 | golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 443 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= 444 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= 445 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 446 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= 447 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 448 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 449 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 450 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 451 | golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 452 | golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 453 | golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= 454 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 455 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 456 | golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 457 | golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 458 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 459 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 460 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 461 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 462 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 463 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 464 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 465 | golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 466 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 467 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 468 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 469 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 470 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 471 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 472 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 473 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 474 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 475 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 476 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 477 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 478 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 479 | golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 480 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 481 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 482 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 483 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 484 | golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 485 | golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 486 | golang.org/x/net v0.0.0-20201201195509-5d6afe98e0b7/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 487 | golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 488 | golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 489 | golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 490 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 491 | golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= 492 | golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 493 | golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 494 | golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 495 | golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= 496 | golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= 497 | golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= 498 | golang.org/x/net v0.0.0-20220531201128-c960675eff93/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= 499 | golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= 500 | golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= 501 | golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= 502 | golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= 503 | golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= 504 | golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= 505 | golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= 506 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 507 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 508 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 509 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 510 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 511 | golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 512 | golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 513 | golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 514 | golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 515 | golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 516 | golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= 517 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 518 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 519 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 520 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 521 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 522 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 523 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 524 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 525 | golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 526 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 527 | golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 528 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 529 | golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 530 | golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 531 | golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 532 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 533 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 534 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 535 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 536 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 537 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 538 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 539 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 540 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 541 | golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 542 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 543 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 544 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 545 | golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 546 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 547 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 548 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 549 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 550 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 551 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 552 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 553 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 554 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 555 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 556 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 557 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 558 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 559 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 560 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 561 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 562 | golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 563 | golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 564 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 565 | golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 566 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 567 | golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 568 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 569 | golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 570 | golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 571 | golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 572 | golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 573 | golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 574 | golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 575 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 576 | golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 577 | golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 578 | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 579 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 580 | golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 581 | golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 582 | golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 583 | golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 584 | golang.org/x/sys v0.0.0-20220608164250-635b8c9b7f68/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 585 | golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 586 | golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 587 | golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 588 | golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 589 | golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 590 | golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 591 | golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 592 | golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= 593 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 594 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 595 | golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= 596 | golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= 597 | golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= 598 | golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= 599 | golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= 600 | golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= 601 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 602 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 603 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 604 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 605 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 606 | golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 607 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 608 | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= 609 | golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 610 | golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 611 | golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 612 | golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= 613 | golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 614 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 615 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 616 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 617 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 618 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 619 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 620 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 621 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 622 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 623 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 624 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 625 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 626 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 627 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 628 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 629 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 630 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 631 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 632 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 633 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 634 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 635 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 636 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 637 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 638 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 639 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 640 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 641 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 642 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 643 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 644 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 645 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 646 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 647 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 648 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 649 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 650 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 651 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 652 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 653 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 654 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 655 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 656 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 657 | golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= 658 | golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 659 | golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 660 | golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 661 | golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 662 | golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 663 | golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 664 | golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= 665 | golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= 666 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 667 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 668 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 669 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 670 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= 671 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= 672 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 673 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 674 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 675 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 676 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 677 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 678 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 679 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 680 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 681 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 682 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 683 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 684 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= 685 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= 686 | google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= 687 | google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= 688 | google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= 689 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 690 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 691 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 692 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= 693 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 694 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 695 | google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 696 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 697 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 698 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 699 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 700 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 701 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 702 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 703 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= 704 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 705 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 706 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 707 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 708 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 709 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 710 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= 711 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 712 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 713 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 714 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 715 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 716 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 717 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 718 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 719 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= 720 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= 721 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= 722 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 723 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 724 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 725 | google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 726 | google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 727 | google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 728 | google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 729 | google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 730 | google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 731 | google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 732 | google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w= 733 | google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= 734 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= 735 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= 736 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 737 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 738 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 739 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 740 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 741 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 742 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= 743 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= 744 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 745 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 746 | google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 747 | google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= 748 | google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= 749 | google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= 750 | google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= 751 | google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= 752 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= 753 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= 754 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= 755 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= 756 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= 757 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 758 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 759 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 760 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= 761 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= 762 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= 763 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= 764 | google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= 765 | google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 766 | gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= 767 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 768 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 769 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 770 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= 771 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= 772 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= 773 | gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= 774 | gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= 775 | gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= 776 | gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= 777 | gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= 778 | gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 779 | gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 780 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 781 | gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 782 | gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 783 | gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 784 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= 785 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 786 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 787 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 788 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 789 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 790 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 791 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 792 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 793 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= 794 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 795 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 796 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= 797 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= 798 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= 799 | -------------------------------------------------------------------------------- /html/assets/AssetManifest.json: -------------------------------------------------------------------------------- 1 | {"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"],"packages/flutter_icons/fonts/AntDesign.ttf":["packages/flutter_icons/fonts/AntDesign.ttf"],"packages/flutter_icons/fonts/Entypo.ttf":["packages/flutter_icons/fonts/Entypo.ttf"],"packages/flutter_icons/fonts/EvilIcons.ttf":["packages/flutter_icons/fonts/EvilIcons.ttf"],"packages/flutter_icons/fonts/Feather.ttf":["packages/flutter_icons/fonts/Feather.ttf"],"packages/flutter_icons/fonts/FontAwesome.ttf":["packages/flutter_icons/fonts/FontAwesome.ttf"],"packages/flutter_icons/fonts/FontAwesome5_Brands.ttf":["packages/flutter_icons/fonts/FontAwesome5_Brands.ttf"],"packages/flutter_icons/fonts/FontAwesome5_Regular.ttf":["packages/flutter_icons/fonts/FontAwesome5_Regular.ttf"],"packages/flutter_icons/fonts/FontAwesome5_Solid.ttf":["packages/flutter_icons/fonts/FontAwesome5_Solid.ttf"],"packages/flutter_icons/fonts/Foundation.ttf":["packages/flutter_icons/fonts/Foundation.ttf"],"packages/flutter_icons/fonts/Ionicons.ttf":["packages/flutter_icons/fonts/Ionicons.ttf"],"packages/flutter_icons/fonts/MaterialCommunityIcons.ttf":["packages/flutter_icons/fonts/MaterialCommunityIcons.ttf"],"packages/flutter_icons/fonts/MaterialIcons.ttf":["packages/flutter_icons/fonts/MaterialIcons.ttf"],"packages/flutter_icons/fonts/Octicons.ttf":["packages/flutter_icons/fonts/Octicons.ttf"],"packages/flutter_icons/fonts/SimpleLineIcons.ttf":["packages/flutter_icons/fonts/SimpleLineIcons.ttf"],"packages/flutter_icons/fonts/Zocial.ttf":["packages/flutter_icons/fonts/Zocial.ttf"],"packages/flutter_icons/fonts/weathericons.ttf":["packages/flutter_icons/fonts/weathericons.ttf"]} -------------------------------------------------------------------------------- /html/assets/FontManifest.json: -------------------------------------------------------------------------------- 1 | [{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]},{"family":"packages/flutter_icons/Ionicons","fonts":[{"asset":"packages/flutter_icons/fonts/Ionicons.ttf"}]},{"family":"packages/flutter_icons/AntDesign","fonts":[{"asset":"packages/flutter_icons/fonts/AntDesign.ttf"}]},{"family":"packages/flutter_icons/FontAwesome","fonts":[{"asset":"packages/flutter_icons/fonts/FontAwesome.ttf"}]},{"family":"packages/flutter_icons/MaterialIcons","fonts":[{"asset":"packages/flutter_icons/fonts/MaterialIcons.ttf"}]},{"family":"packages/flutter_icons/Entypo","fonts":[{"asset":"packages/flutter_icons/fonts/Entypo.ttf"}]},{"family":"packages/flutter_icons/EvilIcons","fonts":[{"asset":"packages/flutter_icons/fonts/EvilIcons.ttf"}]},{"family":"packages/flutter_icons/Feather","fonts":[{"asset":"packages/flutter_icons/fonts/Feather.ttf"}]},{"family":"packages/flutter_icons/Foundation","fonts":[{"asset":"packages/flutter_icons/fonts/Foundation.ttf"}]},{"family":"packages/flutter_icons/MaterialCommunityIcons","fonts":[{"asset":"packages/flutter_icons/fonts/MaterialCommunityIcons.ttf"}]},{"family":"packages/flutter_icons/Octicons","fonts":[{"asset":"packages/flutter_icons/fonts/Octicons.ttf"}]},{"family":"packages/flutter_icons/SimpleLineIcons","fonts":[{"asset":"packages/flutter_icons/fonts/SimpleLineIcons.ttf"}]},{"family":"packages/flutter_icons/Zocial","fonts":[{"asset":"packages/flutter_icons/fonts/Zocial.ttf"}]},{"family":"packages/flutter_icons/FontAwesome5","fonts":[{"asset":"packages/flutter_icons/fonts/FontAwesome5_Regular.ttf"}]},{"family":"packages/flutter_icons/FontAwesome5_Brands","fonts":[{"asset":"packages/flutter_icons/fonts/FontAwesome5_Brands.ttf"}]},{"family":"packages/flutter_icons/FontAwesome5_Solid","fonts":[{"asset":"packages/flutter_icons/fonts/FontAwesome5_Solid.ttf"}]},{"family":"packages/flutter_icons/WeatherIcons","fonts":[{"asset":"packages/flutter_icons/fonts/weathericons.ttf"}]}] -------------------------------------------------------------------------------- /html/assets/fonts/MaterialIcons-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/fonts/MaterialIcons-Regular.otf -------------------------------------------------------------------------------- /html/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Entypo.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Feather.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Foundation.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Octicons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/Zocial.ttf -------------------------------------------------------------------------------- /html/assets/packages/flutter_icons/fonts/weathericons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/assets/packages/flutter_icons/fonts/weathericons.ttf -------------------------------------------------------------------------------- /html/canvaskit/canvaskit.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/canvaskit/canvaskit.wasm -------------------------------------------------------------------------------- /html/canvaskit/profiling/canvaskit.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/canvaskit/profiling/canvaskit.wasm -------------------------------------------------------------------------------- /html/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/html/favicon.png -------------------------------------------------------------------------------- /html/flutter.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | /** 6 | * This script installs service_worker.js to provide PWA functionality to 7 | * application. For more information, see: 8 | * https://developers.google.com/web/fundamentals/primers/service-workers 9 | */ 10 | 11 | if (!_flutter) { 12 | var _flutter = {}; 13 | } 14 | _flutter.loader = null; 15 | 16 | (function() { 17 | "use strict"; 18 | class FlutterLoader { 19 | // TODO: Move the below methods to "#private" once supported by all the browsers 20 | // we support. In the meantime, we use the "revealing module" pattern. 21 | 22 | // Watchdog to prevent injecting the main entrypoint multiple times. 23 | _scriptLoaded = null; 24 | 25 | // Resolver for the pending promise returned by loadEntrypoint. 26 | _didCreateEngineInitializerResolve = null; 27 | 28 | /** 29 | * Initializes the main.dart.js with/without serviceWorker. 30 | * @param {*} options 31 | * @returns a Promise that will eventually resolve with an EngineInitializer, 32 | * or will be rejected with the error caused by the loader. 33 | */ 34 | loadEntrypoint(options) { 35 | const { 36 | entrypointUrl = "main.dart.js", 37 | serviceWorker, 38 | } = (options || {}); 39 | return this._loadWithServiceWorker(entrypointUrl, serviceWorker); 40 | } 41 | 42 | /** 43 | * Resolves the promise created by loadEntrypoint. Called by Flutter. 44 | * Needs to be weirdly bound like it is, so "this" is preserved across 45 | * the JS <-> Flutter jumps. 46 | * @param {*} engineInitializer 47 | */ 48 | didCreateEngineInitializer = (function(engineInitializer) { 49 | if (typeof this._didCreateEngineInitializerResolve != "function") { 50 | console.warn("Do not call didCreateEngineInitializer by hand. Start with loadEntrypoint instead."); 51 | } 52 | this._didCreateEngineInitializerResolve(engineInitializer); 53 | // Remove this method after it's done, so Flutter Web can hot restart. 54 | delete this.didCreateEngineInitializer; 55 | }).bind(this); 56 | 57 | _loadEntrypoint(entrypointUrl) { 58 | if (!this._scriptLoaded) { 59 | this._scriptLoaded = new Promise((resolve, reject) => { 60 | let scriptTag = document.createElement("script"); 61 | scriptTag.src = entrypointUrl; 62 | scriptTag.type = "application/javascript"; 63 | this._didCreateEngineInitializerResolve = resolve; // Cache the resolve, so it can be called from Flutter. 64 | scriptTag.addEventListener("error", reject); 65 | document.body.append(scriptTag); 66 | }); 67 | } 68 | 69 | return this._scriptLoaded; 70 | } 71 | 72 | _waitForServiceWorkerActivation(serviceWorker, entrypointUrl) { 73 | if (!serviceWorker || serviceWorker.state == "activated") { 74 | if (!serviceWorker) { 75 | console.warn("Cannot activate a null service worker. Falling back to plain 103 | 104 | 105 | -------------------------------------------------------------------------------- /html/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flutter_whip_example_app", 3 | "short_name": "flutter_whip_example_app", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | }, 22 | { 23 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /html/version.json: -------------------------------------------------------------------------------- 1 | {"app_name":"flutter_whip_example_app","version":"1.0.0","build_number":"1","package_name":"flutter_whip_example_app"} -------------------------------------------------------------------------------- /html/web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 16 | 17 | 20 | 23 | 26 | 27 | WHIP to RTMP 28 | 29 | 30 | 31 | 34 |
35 |
36 |
37 | URL: 38 | /(room) 39 | /(stream)

40 |
41 |
42 | 45 | 48 |
49 |
50 | 51 |
52 |
53 | Local 55 | 57 | 87 |
88 |
89 | Remotes 91 |
92 |
93 |
94 | 95 | 96 | 214 | 215 | 216 | -------------------------------------------------------------------------------- /pkg/client/whip.go: -------------------------------------------------------------------------------- 1 | package client 2 | 3 | import ( 4 | "net" 5 | 6 | "github.com/pion/interceptor" 7 | log "github.com/pion/ion-log" 8 | "github.com/pion/rtcp" 9 | "github.com/pion/webrtc/v3" 10 | ) 11 | 12 | var ( 13 | webrtcSettings webrtc.SettingEngine 14 | ) 15 | 16 | const ( 17 | mimeTypeH264 = "video/h264" 18 | mimeTypeOpus = "audio/opus" 19 | mimeTypeVP8 = "video/vp8" 20 | mimeTypeVP9 = "video/vp9" 21 | mineTypePCMA = "audio/PCMA" 22 | ) 23 | 24 | func init() { 25 | webrtcSettings = webrtc.SettingEngine{} 26 | udpListener, err := net.ListenUDP("udp", &net.UDPAddr{ 27 | IP: net.IP{0, 0, 0, 0}, 28 | Port: 50160, 29 | }) 30 | if err != nil { 31 | panic(err) 32 | } 33 | webrtcSettings.SetICEUDPMux(webrtc.NewICEUDPMux(nil, udpListener)) 34 | } 35 | 36 | type WHIPConn struct { 37 | pc *webrtc.PeerConnection 38 | OnTrack func(pc *webrtc.PeerConnection, track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) 39 | } 40 | 41 | func NewWHIPConn() (*WHIPConn, error) { 42 | 43 | // Create a MediaEngine object to configure the supported codec 44 | m := &webrtc.MediaEngine{} 45 | 46 | for _, codec := range []webrtc.RTPCodecParameters{ 47 | { 48 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mimeTypeOpus, ClockRate: 48000, Channels: 2, SDPFmtpLine: "minptime=10;useinbandfec=1", RTCPFeedback: nil}, 49 | PayloadType: 111, 50 | }, 51 | } { 52 | if err := m.RegisterCodec(codec, webrtc.RTPCodecTypeAudio); err != nil { 53 | return nil, err 54 | } 55 | } 56 | 57 | videoRTCPFeedback := []webrtc.RTCPFeedback{{"goog-remb", ""}, {"ccm", "fir"}, {"nack", ""}, {"nack", "pli"}} 58 | 59 | for _, codec := range []webrtc.RTPCodecParameters{ 60 | { 61 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mimeTypeH264, ClockRate: 90000, SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f", RTCPFeedback: videoRTCPFeedback}, 62 | PayloadType: 125, 63 | }, 64 | } { 65 | if err := m.RegisterCodec(codec, webrtc.RTPCodecTypeVideo); err != nil { 66 | return nil, err 67 | } 68 | } 69 | 70 | // Create a InterceptorRegistry. This is the user configurable RTP/RTCP Pipeline. 71 | // This provides NACKs, RTCP Reports and other features. If you use `webrtc.NewPeerConnection` 72 | // this is enabled by default. If you are manually managing You MUST create a InterceptorRegistry 73 | // for each PeerConnection. 74 | i := &interceptor.Registry{} 75 | 76 | // Use the default set of Interceptors 77 | if err := webrtc.RegisterDefaultInterceptors(m, i); err != nil { 78 | panic(err) 79 | } 80 | 81 | // Create the API object with the MediaEngine 82 | api := webrtc.NewAPI(webrtc.WithMediaEngine(m) /*webrtc.WithSettingEngine(webrtcSettings),*/, webrtc.WithInterceptorRegistry(i)) 83 | 84 | // Prepare the configuration 85 | config := webrtc.Configuration{ 86 | ICEServers: []webrtc.ICEServer{}, 87 | SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback, 88 | //RTCPMuxPolicy: webrtc.RTCPMuxPolicyRequire, 89 | BundlePolicy: webrtc.BundlePolicyBalanced, 90 | } 91 | // Create a new RTCPeerConnection 92 | peerConnection, err := api.NewPeerConnection(config) 93 | if err != nil { 94 | panic(err) 95 | } 96 | 97 | whip := &WHIPConn{ 98 | pc: peerConnection, 99 | } 100 | /* 101 | // Accept one audio and one video track incoming 102 | for _, typ := range []webrtc.RTPCodecType{webrtc.RTPCodecTypeVideo, webrtc.RTPCodecTypeAudio} { 103 | if _, err := peerConnection.AddTransceiverFromKind(typ, webrtc.RTPTransceiverInit{ 104 | Direction: webrtc.RTPTransceiverDirectionRecvonly, 105 | }); err != nil { 106 | log.Infof("%v", err) 107 | } 108 | }*/ 109 | 110 | peerConnection.OnTrack(func(track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) { 111 | log.Infof("Track has started, of type %d: %s \n", track.PayloadType(), track.Codec().MimeType) 112 | 113 | if whip.OnTrack != nil { 114 | go whip.OnTrack(peerConnection, track, receiver) 115 | } 116 | }) 117 | 118 | peerConnection.OnConnectionStateChange(func(s webrtc.PeerConnectionState) { 119 | log.Infof("Peer Connection State has changed: %s\n", s.String()) 120 | }) 121 | 122 | return whip, nil 123 | } 124 | 125 | func (w *WHIPConn) AddTrack(track webrtc.TrackLocal) (*webrtc.RTPTransceiver, error) { 126 | return w.pc.AddTransceiverFromTrack(track, webrtc.RTPTransceiverInit{ 127 | Direction: webrtc.RTPTransceiverDirectionSendonly, 128 | }) 129 | } 130 | 131 | func (w *WHIPConn) CreateOffer() (*webrtc.SessionDescription, error) { 132 | // Create an offer 133 | offer, err := w.pc.CreateOffer(nil) 134 | if err != nil { 135 | log.Infof("CreateOffer err %v ", err) 136 | w.pc.Close() 137 | return nil, err 138 | } 139 | 140 | // Create channel that is blocked until ICE Gathering is complete 141 | gatherComplete := webrtc.GatheringCompletePromise(w.pc) 142 | 143 | // Sets the LocalDescription, and starts our UDP listeners 144 | if err = w.pc.SetLocalDescription(offer); err != nil { 145 | log.Infof("SetLocalDescription err %v ", err) 146 | w.pc.Close() 147 | return nil, err 148 | } 149 | 150 | <-gatherComplete 151 | 152 | return w.pc.LocalDescription(), nil 153 | } 154 | 155 | func (w *WHIPConn) SetRemoteDescription(desc webrtc.SessionDescription) error { 156 | // Set the remote SessionDescription 157 | err := w.pc.SetRemoteDescription(desc) 158 | if err != nil { 159 | log.Infof("SetRemoteDescription err %v ", err) 160 | w.pc.Close() 161 | return err 162 | } 163 | return nil 164 | } 165 | 166 | func (w *WHIPConn) Answer(offer webrtc.SessionDescription) (*webrtc.SessionDescription, error) { 167 | // Set the remote SessionDescription 168 | err := w.pc.SetRemoteDescription(offer) 169 | if err != nil { 170 | log.Infof("SetRemoteDescription err %v ", err) 171 | w.pc.Close() 172 | return nil, err 173 | } 174 | 175 | // Create an answer 176 | answer, err := w.pc.CreateAnswer(nil) 177 | if err != nil { 178 | log.Infof("CreateAnswer err %v ", err) 179 | w.pc.Close() 180 | return nil, err 181 | } 182 | 183 | // Create channel that is blocked until ICE Gathering is complete 184 | gatherComplete := webrtc.GatheringCompletePromise(w.pc) 185 | 186 | // Sets the LocalDescription, and starts our UDP listeners 187 | if err = w.pc.SetLocalDescription(answer); err != nil { 188 | log.Infof("SetLocalDescription err %v ", err) 189 | w.pc.Close() 190 | return nil, err 191 | } 192 | 193 | <-gatherComplete 194 | 195 | return w.pc.LocalDescription(), nil 196 | } 197 | 198 | func (w *WHIPConn) AddICECandidate(candidate webrtc.ICECandidateInit) error { 199 | return w.pc.AddICECandidate(candidate) 200 | } 201 | 202 | func (w *WHIPConn) Close() { 203 | if w.pc != nil && w.pc.ConnectionState() != webrtc.PeerConnectionStateClosed { 204 | if cErr := w.pc.Close(); cErr != nil { 205 | log.Infof("cannot close peerConnection: %v\n", cErr) 206 | } 207 | } 208 | } 209 | 210 | func (w *WHIPConn) HandleRtcpFb(rtpSender *webrtc.RTPSender) { 211 | 212 | // Read incoming RTCP packets 213 | // Before these packets are returned they are processed by interceptors. For things 214 | // like NACK this needs to be called. 215 | go func() { 216 | rtcpBuf := make([]byte, 1500) 217 | for { 218 | n, _, rtcpErr := rtpSender.Read(rtcpBuf) 219 | if rtcpErr != nil { 220 | return 221 | } 222 | bytes := rtcpBuf[:n] 223 | pkts, err := rtcp.Unmarshal(bytes) 224 | if err != nil { 225 | log.Errorf("Unmarshal rtcp receiver packets err %v", err) 226 | } 227 | 228 | var fwdPkts []rtcp.Packet 229 | pliOnce := true 230 | firOnce := true 231 | var ( 232 | maxRatePacketLoss uint8 233 | expectedMinBitrate uint64 234 | ) 235 | for _, pkt := range pkts { 236 | switch p := pkt.(type) { 237 | case *rtcp.PictureLossIndication: 238 | if pliOnce { 239 | fwdPkts = append(fwdPkts, p) 240 | log.Infof("PictureLossIndication") 241 | //TODO: hi.CameraSendKeyFrame() 242 | pliOnce = false 243 | } 244 | case *rtcp.FullIntraRequest: 245 | if firOnce { 246 | fwdPkts = append(fwdPkts, p) 247 | //log.Infof("FullIntraRequest") 248 | firOnce = false 249 | } 250 | case *rtcp.ReceiverEstimatedMaximumBitrate: 251 | if expectedMinBitrate == 0 || expectedMinBitrate > uint64(p.Bitrate) { 252 | expectedMinBitrate = uint64(p.Bitrate) 253 | //TODO: hi.CameraUpdateBitrate(uint32(expectedMinBitrate / 1024)) 254 | log.Infof("ReceiverEstimatedMaximumBitrate %d", expectedMinBitrate) 255 | } 256 | case *rtcp.ReceiverReport: 257 | for _, r := range p.Reports { 258 | if maxRatePacketLoss == 0 || maxRatePacketLoss < r.FractionLost { 259 | maxRatePacketLoss = r.FractionLost 260 | //log.Infof("maxRatePacketLoss %d", maxRatePacketLoss) 261 | } 262 | } 263 | case *rtcp.TransportLayerNack: 264 | } 265 | } 266 | } 267 | }() 268 | } 269 | -------------------------------------------------------------------------------- /pkg/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import ( 4 | "math/rand" 5 | "time" 6 | ) 7 | 8 | var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") 9 | 10 | func RandomString(n int) string { 11 | rand.Seed(time.Now().UnixNano()) 12 | b := make([]rune, n) 13 | for i := range b { 14 | b[i] = letterRunes[rand.Intn(len(letterRunes))] 15 | } 16 | return string(b) 17 | } 18 | -------------------------------------------------------------------------------- /pkg/whip/whip.go: -------------------------------------------------------------------------------- 1 | package whip 2 | 3 | import ( 4 | "log" 5 | "net" 6 | 7 | "github.com/pion/interceptor" 8 | "github.com/pion/rtcp" 9 | "github.com/pion/webrtc/v3" 10 | ) 11 | 12 | type WHIPConfig struct { 13 | HtmlRoot string `mapstructure:"html_root"` 14 | Addr string `mapstructure:"addr"` 15 | } 16 | 17 | type LiveKitServerConfig struct { 18 | Server string `mapstructure:"server"` 19 | APIKey string `mapstructure:"api_key"` 20 | APISecret string `mapstructure:"api_secret"` 21 | } 22 | 23 | type Candidates struct { 24 | IceLite bool `mapstructure:"icelite"` 25 | NAT1To1IPs []string `mapstructure:"nat1to1"` 26 | } 27 | 28 | // ICEServerConfig defines parameters for ice servers 29 | type ICEServerConfig struct { 30 | URLs []string `mapstructure:"urls"` 31 | Username string `mapstructure:"username"` 32 | Credential string `mapstructure:"credential"` 33 | } 34 | 35 | // WebRTCConfig defines parameters for ice 36 | type WebRTCConfig struct { 37 | ICESinglePort int `mapstructure:"singleport"` 38 | ICEPortRange []uint16 `mapstructure:"portrange"` 39 | ICEServers []ICEServerConfig `mapstructure:"iceserver"` 40 | Candidates Candidates `mapstructure:"candidates"` 41 | } 42 | 43 | type LogConfig struct { 44 | Level int `mapstructure:"level"` 45 | } 46 | 47 | // Config for base SFU 48 | type Config struct { 49 | WebRTC WebRTCConfig `mapstructure:"webrtc"` 50 | WHIP WHIPConfig `mapstructure:"whip"` 51 | LiveKitServer LiveKitServerConfig `mapstructure:"livekit"` 52 | Log LogConfig `mapstructure:"log"` 53 | } 54 | 55 | var ( 56 | webrtcSettings webrtc.SettingEngine 57 | ) 58 | 59 | const ( 60 | mimeTypeH264 = "video/h264" 61 | mimeTypeOpus = "audio/opus" 62 | mimeTypeVP8 = "video/vp8" 63 | mimeTypeVP9 = "video/vp9" 64 | mineTypePCMA = "audio/PCMA" 65 | ) 66 | 67 | func Init(c Config) { 68 | webrtcSettings = webrtc.SettingEngine{} 69 | 70 | if c.WebRTC.ICESinglePort != 0 { 71 | log.Print("Listen ice on single-port: ", c.WebRTC.ICESinglePort) 72 | udpListener, err := net.ListenUDP("udp", &net.UDPAddr{ 73 | IP: net.IP{0, 0, 0, 0}, 74 | Port: c.WebRTC.ICESinglePort, 75 | }) 76 | if err != nil { 77 | panic(err) 78 | } 79 | webrtcSettings.SetICEUDPMux(webrtc.NewICEUDPMux(nil, udpListener)) 80 | } else { 81 | var icePortStart, icePortEnd uint16 82 | 83 | if len(c.WebRTC.ICEPortRange) == 2 { 84 | icePortStart = c.WebRTC.ICEPortRange[0] 85 | icePortEnd = c.WebRTC.ICEPortRange[1] 86 | } 87 | if icePortStart != 0 || icePortEnd != 0 { 88 | if err := webrtcSettings.SetEphemeralUDPPortRange(icePortStart, icePortEnd); err != nil { 89 | panic(err) 90 | } 91 | } 92 | } 93 | 94 | var iceServers []webrtc.ICEServer 95 | if c.WebRTC.Candidates.IceLite { 96 | webrtcSettings.SetLite(c.WebRTC.Candidates.IceLite) 97 | } else { 98 | for _, iceServer := range c.WebRTC.ICEServers { 99 | s := webrtc.ICEServer{ 100 | URLs: iceServer.URLs, 101 | Username: iceServer.Username, 102 | Credential: iceServer.Credential, 103 | } 104 | iceServers = append(iceServers, s) 105 | } 106 | } 107 | 108 | if len(c.WebRTC.Candidates.NAT1To1IPs) > 0 { 109 | webrtcSettings.SetNAT1To1IPs(c.WebRTC.Candidates.NAT1To1IPs, webrtc.ICECandidateTypeHost) 110 | } 111 | } 112 | 113 | type WHIPConn struct { 114 | pc *webrtc.PeerConnection 115 | OnTrack func(pc *webrtc.PeerConnection, track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) 116 | OnConnectionStateChange func(s webrtc.PeerConnectionState) 117 | tracks []*webrtc.TrackRemote 118 | } 119 | 120 | func NewWHIPConn() (*WHIPConn, error) { 121 | 122 | // Create a MediaEngine object to configure the supported codec 123 | m := &webrtc.MediaEngine{} 124 | 125 | for _, codec := range []webrtc.RTPCodecParameters{ 126 | { 127 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mineTypePCMA, ClockRate: 8000}, 128 | PayloadType: 8, 129 | }, 130 | { 131 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mimeTypeOpus, ClockRate: 48000, Channels: 2, SDPFmtpLine: "minptime=10;useinbandfec=1", RTCPFeedback: nil}, 132 | PayloadType: 111, 133 | }, 134 | } { 135 | if err := m.RegisterCodec(codec, webrtc.RTPCodecTypeAudio); err != nil { 136 | return nil, err 137 | } 138 | } 139 | 140 | videoRTCPFeedback := []webrtc.RTCPFeedback{{"goog-remb", ""}, {"ccm", "fir"}, {"nack", ""}, {"nack", "pli"}} 141 | 142 | for _, codec := range []webrtc.RTPCodecParameters{ 143 | { 144 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mimeTypeVP8, ClockRate: 90000, RTCPFeedback: videoRTCPFeedback}, 145 | PayloadType: 96, 146 | }, 147 | { 148 | RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: mimeTypeH264, ClockRate: 90000, SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f", RTCPFeedback: videoRTCPFeedback}, 149 | PayloadType: 102, 150 | }, 151 | } { 152 | if err := m.RegisterCodec(codec, webrtc.RTPCodecTypeVideo); err != nil { 153 | return nil, err 154 | } 155 | } 156 | 157 | // Create a InterceptorRegistry. This is the user configurable RTP/RTCP Pipeline. 158 | // This provides NACKs, RTCP Reports and other features. If you use `webrtc.NewPeerConnection` 159 | // this is enabled by default. If you are manually managing You MUST create a InterceptorRegistry 160 | // for each PeerConnection. 161 | i := &interceptor.Registry{} 162 | 163 | // Use the default set of Interceptors 164 | if err := webrtc.RegisterDefaultInterceptors(m, i); err != nil { 165 | panic(err) 166 | } 167 | 168 | // Create the API object with the MediaEngine 169 | api := webrtc.NewAPI(webrtc.WithMediaEngine(m), webrtc.WithSettingEngine(webrtcSettings), webrtc.WithInterceptorRegistry(i)) 170 | 171 | // Prepare the configuration 172 | config := webrtc.Configuration{ 173 | ICEServers: []webrtc.ICEServer{}, 174 | SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback, 175 | //RTCPMuxPolicy: webrtc.RTCPMuxPolicyRequire, 176 | BundlePolicy: webrtc.BundlePolicyBalanced, 177 | } 178 | // Create a new RTCPeerConnection 179 | peerConnection, err := api.NewPeerConnection(config) 180 | if err != nil { 181 | panic(err) 182 | } 183 | 184 | whip := &WHIPConn{ 185 | pc: peerConnection, 186 | } 187 | 188 | // Accept one audio and one video track incoming 189 | for _, typ := range []webrtc.RTPCodecType{webrtc.RTPCodecTypeVideo, webrtc.RTPCodecTypeAudio} { 190 | if _, err := peerConnection.AddTransceiverFromKind(typ, webrtc.RTPTransceiverInit{ 191 | Direction: webrtc.RTPTransceiverDirectionRecvonly, 192 | }); err != nil { 193 | log.Print(err) 194 | } 195 | } 196 | 197 | peerConnection.OnTrack(func(track *webrtc.TrackRemote, receiver *webrtc.RTPReceiver) { 198 | log.Printf("Track has started, of type %d: %s \n", track.PayloadType(), track.Codec().MimeType) 199 | whip.tracks = append(whip.tracks, track) 200 | if whip.OnTrack != nil { 201 | go whip.OnTrack(peerConnection, track, receiver) 202 | } 203 | }) 204 | 205 | peerConnection.OnConnectionStateChange(func(s webrtc.PeerConnectionState) { 206 | log.Printf("Peer Connection State has changed: %s\n", s.String()) 207 | if whip.OnConnectionStateChange != nil { 208 | go whip.OnConnectionStateChange(s) 209 | } 210 | }) 211 | 212 | return whip, nil 213 | } 214 | 215 | func (w *WHIPConn) AddTrack(track webrtc.TrackLocal) (*webrtc.RTPSender, error) { 216 | return w.pc.AddTrack(track) 217 | } 218 | 219 | func (w *WHIPConn) Offer(offer webrtc.SessionDescription) (*webrtc.SessionDescription, error) { 220 | // Set the remote SessionDescription 221 | err := w.pc.SetRemoteDescription(offer) 222 | if err != nil { 223 | log.Printf("SetRemoteDescription err %v ", err) 224 | w.pc.Close() 225 | return nil, err 226 | } 227 | 228 | // Create an answer 229 | answer, err := w.pc.CreateAnswer(nil) 230 | if err != nil { 231 | log.Printf("CreateAnswer err %v ", err) 232 | w.pc.Close() 233 | return nil, err 234 | } 235 | 236 | // Create channel that is blocked until ICE Gathering is complete 237 | gatherComplete := webrtc.GatheringCompletePromise(w.pc) 238 | 239 | // Sets the LocalDescription, and starts our UDP listeners 240 | if err = w.pc.SetLocalDescription(answer); err != nil { 241 | log.Printf("SetLocalDescription err %v ", err) 242 | w.pc.Close() 243 | return nil, err 244 | } 245 | 246 | <-gatherComplete 247 | 248 | // Output the answer in base64 so we can paste it in browser 249 | return w.pc.LocalDescription(), nil 250 | } 251 | 252 | func (w *WHIPConn) AddICECandidate(candidate webrtc.ICECandidateInit) error { 253 | return w.pc.AddICECandidate(candidate) 254 | } 255 | 256 | func (w *WHIPConn) PictureLossIndication() { 257 | for _, track := range w.tracks { 258 | if track.Kind() == webrtc.RTPCodecTypeVideo { 259 | errSend := w.pc.WriteRTCP([]rtcp.Packet{&rtcp.PictureLossIndication{MediaSSRC: uint32(track.SSRC())}}) 260 | if errSend != nil { 261 | log.Println(errSend) 262 | return 263 | } 264 | } 265 | } 266 | } 267 | 268 | func (w *WHIPConn) Close() { 269 | if w.pc != nil && w.pc.ConnectionState() != webrtc.PeerConnectionStateClosed { 270 | if cErr := w.pc.Close(); cErr != nil { 271 | log.Printf("cannot close peerConnection: %v\n", cErr) 272 | } 273 | } 274 | } 275 | -------------------------------------------------------------------------------- /screenshots/livekit-whp-bot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/screenshots/livekit-whp-bot.jpg -------------------------------------------------------------------------------- /screenshots/pi-zero-2w.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudwebrtc/livekit-whip-bot/0086753ebcc41e157c666b6ee640467b0f4ac31f/screenshots/pi-zero-2w.jpg --------------------------------------------------------------------------------