mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-16 06:49:02 +08:00
grpc version
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user