Note: sinceThis page shows how to integrate the SMeeting SDK with C on Windows.1.0.0-alpha.7,SMeeting_C.h/SMeetingEngineGlobalhave been ported to the split engine-level / meeting-level interfaces, matching the newISMeetingEngine/ISMeetingChannelstructure, so they can be used normally. Since1.0.0-alpha.8, the release package (meeting_dll/include/) already shipsSMeeting_C.h, so#include "SMeeting_C.h"just works.
Basic concepts
- SMeetingEngine: the SDK core engine. Bind your callbacks with
SMeetingEngine_setEventHandler. - Basic settings are made through the
SMeetingEngine_setXxxfamily of functions. - Some APIs can only be called after you have entered the meeting.
Initialize the SDK
Implement the event callback function
Set the language
Log in and log out
Log in
Log out
Create a meeting
Enter a meeting
Configure SDK settings
Enter the room
Exit the meeting
End the meeting (host)
Cancel a meeting (outside the meeting)
Get room and member info
Update your nickname
Get the device list
Camera operations
Turn on the camera
Switch cameras
Turn off the camera
Remote video playback
Start playback
Stop playback
Microphone operations
Turn on the microphone
Switch microphones
Turn off the microphone
Speaker operations
Turn on the speaker
Switch speakers
Turn off the speaker
Screen sharing
Start sharing
Stop sharing
Chat messages
Send a chat message
Host management APIs
Ask a member to turn on the camera
Turn off a member’s camera
Ask a member to turn on the microphone
Turn off a member’s microphone
Remove a member
Set the room’s microphone permissions
MCU composite video
Play the composite stream
Stop playback
Local recording
Set the recording options
Start recording
Pause / resume recording
Stop recording
Status code handling
Get the text of a status code
Common status codes
Complete example
Callback event reference
Connection state events
User events
Room events
See
SMeeting_C.h for the full list of event constants.
Notes
- Callbacks are asynchronous: most APIs return their result through a callback rather than the return value.
- Thread safety: callbacks may be invoked on different threads—take care when touching shared state.
- Initialization order: you must call
SMeetingEngine_Init_C()before any other API. - UTF-8 encoding: all string parameters are UTF-8.