mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 10:53:22 +00:00
Fix datachannel name to match service pool
Changed channel name from 'chat' to 'rondevu-service' to match the channel name created by the service pool. This fixes the connection failure where the offerer's channel and answerer's channel had different names and couldn't connect. The service pool creates a channel named 'rondevu-service', so clients must use the same name to receive that channel. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -337,8 +337,8 @@ export default function App() {
|
||||
maxReconnectAttempts: 5
|
||||
});
|
||||
|
||||
// Create data channel
|
||||
const channel = connection.createChannel('chat');
|
||||
// Create data channel (must match service pool's channel name)
|
||||
const channel = connection.createChannel('rondevu-service');
|
||||
|
||||
// Listen for connection events
|
||||
connection.on('connected', () => {
|
||||
|
||||
Reference in New Issue
Block a user