Chimera Publisher
Main component for connecting and publishing streams
Chimera Publisher
The ChimeraPublisherComponent is the core component for connecting to a room and publishing audio/video streams.
Properties
| Property | Type | Description |
|---|---|---|
RoomUrl | FString | Server WebSocket URL |
Token | FString | JWT access token |
Role | EChimeraClientRole | Client role (Auto/Publisher/Subscriber/Both) |
bReceiveAudio | bool | Enable receiving audio (required for lip sync) |
SampleRate | int32 | Audio sample rate (default: 48000) |
Channels | int32 | Audio channels (1 = mono recommended) |
Events
OnConnected
Fired when successfully connected to a room.
OnDisconnected
Fired when disconnected from the room.
OnAudioDataReceived
Fired when audio data is received from the room. Use this for lip sync integration or feeding AEC.
Methods
Connect
Connect to the room using configured URL and token.
Disconnect
Disconnect from the current room.
SendAudioData
Send audio data to the room.
Blueprint Usage
- Add the component to your Actor
- Set the
Room URLandTokenproperties - Call
Connect()to join the room - Bind to
OnAudioDataReceivedfor incoming audio