Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-[RTCConfiguration setSdpSemantics:]: unrecognized selector sent to instance 0x283 #153

Closed
leeqiangzi opened this issue Oct 26, 2022 · 1 comment

Comments

@leeqiangzi
Copy link

Error message:
2022-10-26 16:40:09.750388+0800 JL[18221:962080] -[RTCConfiguration setSdpSemantics:]: unrecognized selector sent to instance 0x283560600

Initialized according to the official website prompt
@objc class KSLiveKitManager: NSObject {

lazy var room = Room(delegate: self)

/// 链接
@objc
func connect(url: String, token: String) {
    room.connect(url, token);
}

/// 离开房间,断开链接
@objc
func disconnect() {
    room.disconnect();
}

}

extension KSLiveKitManager: RoomDelegate {

func room(_ room: Room, localParticipant: LocalParticipant, didPublish publication: LocalTrackPublication) {
}

func room(_ room: Room, participant: RemoteParticipant, didSubscribe publication: RemoteTrackPublication, track: Track) {
}

}

@davidzhao davidzhao mentioned this issue Oct 27, 2022
@hiroshihorie
Copy link
Member

Closing duplicate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants