ionorg / ion-sdk-go

ion sdk for golang
MIT License
55 stars 46 forks source link

engine client sid issue #37

Closed manishiitg closed 2 years ago

manishiitg commented 3 years ago

Your environment.

What did you do?

when we create new client using sdk.NewClient, it automatically adds the client to engline but at this stage there no sid assigned to the client.

the clients map in engine has all nil keys?

Add client should be done on Join() instead when creating new client?

https://github.com/pion/ion-sdk-go/blob/26d31be8c6027b86740a34f12838c053b1270abd/client.go#L78 https://github.com/pion/ion-sdk-go/blob/master/engine.go#L43

What did you expect?

What happened?

adwpc commented 2 years ago

new version del engine. move to ion-sfu load tool