Package Exports
- surflion-service
- surflion-service/surflion.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (surflion-service) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SurfLion Service
🚀 High-performance WebRTC communication library with integrated JsSIP protocol stack, providing complete real-time communication solutions.
✨ Features
- 🎯 WebRTC Communication: Support for peer-to-peer audio and video calls
- 📞 SIP Protocol: Complete SIP protocol stack support
- 🔊 Audio/Video Calls: High-quality audio and video communication
- 💬 Real-time Messaging: Support for real-time text messaging
- 🛡️ Secure Connection: Built-in security mechanisms
- 📱 Cross-platform: Support for browser and Node.js environments
📦 Installation
npm install surflion-service🔧 Usage
ES6 Module (Recommended)
import SurfLion from 'surflion-service';
console.log(SurfLion);CommonJS
const SurfLion = require('surflion-service');
console.log(SurfLion);Browser Environment (Script Tag)
<script src="node_modules/surflion-service/dist/surflion.min.js"></script>
<script>
// SurfLion is now available globally
console.log(SurfLion);
</script>TypeScript Support
import SurfLion from 'surflion-service';
// Full TypeScript support with intellisense
SurfLion.sipRegister({
uri: 'sip:user@domain.com',
password: 'password',
ws_servers: 'wss://server.com'
});📚 Documentation
For detailed API documentation and usage examples, please visit our GitHub repository.
📄 License
MIT License
🤝 Contributing
Issues and Pull Requests are welcome!
SurfLion Team - Making real-time communication easier 🚀