mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
grpc version
This commit is contained in:
parent
fb22b8bba5
commit
a2f3677784
@ -1,7 +1,5 @@
|
|||||||
package open_im_media
|
package open_im_media
|
||||||
|
|
||||||
import "github.com/livekit/protocol/livekit"
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MediaAddress = "ws://43.128.5.63:7880"
|
MediaAddress = "ws://43.128.5.63:7880"
|
||||||
ApiKey = "APIGPW3gnFTzqHH"
|
ApiKey = "APIGPW3gnFTzqHH"
|
||||||
@ -42,7 +40,7 @@ func init() {
|
|||||||
//roomClient = lksdk.NewRoomServiceClient(MediaAddress, ApiKey, ApiSecret)
|
//roomClient = lksdk.NewRoomServiceClient(MediaAddress, ApiKey, ApiSecret)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Media) CreateRoom(roomName string) (*livekit.Room, error) {
|
func (m *Media) CreateRoom(roomName string) (error, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
//return roomClient.CreateRoom(context.Background(), &livekit.CreateRoomRequest{
|
//return roomClient.CreateRoom(context.Background(), &livekit.CreateRoomRequest{
|
||||||
// Name: roomName,
|
// Name: roomName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user