Skip to content

Conversation

@Regani
Copy link
Collaborator

@Regani Regani commented Aug 4, 2025

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 5, 2025

Deploying opensips-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: bb4645e
Status: ✅  Deploy successful!
Preview URL: https://78a5cc7e.opensips-js.pages.dev
Branch Preview URL: https://develop.opensips-js.pages.dev

View logs

serhii.ku and others added 30 commits October 18, 2025 02:30
Added readme for noice reduction
…and introduce SIP status codes for improved audio module handling.
Added msrpWs and msrpDomain to configuration
Changed registration refresh strategy for expires <= 64 seconds to use
50% of expiration time instead of (expires - 5s). This ensures better
alignment with server expectations for re-registration timing.

Previously:
- expires = 60s -> refresh at 55s (only 5s before expiration)

Now:
- expires = 60s -> refresh at 30s (30s before expiration)

Changes:
- Updated both src/helpers/Registrator.js and src/lib/janus/Registrator.js
- Set demo register_expires to 60s for testing
- Uses Math.floor() for clean integer millisecond values

Benefits:
- Meets typical server expectations (20s buffer before expiration)
- Maintains RFC 3261 compliance (refresh before expiration)
- Provides consistent behavior across all expiration values
- Better reliability for real-time communication systems

Version bump: 0.1.28 -> 0.1.29
Adjusted data for rtc connection emit
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

Successfully merging this pull request may close these issues.

4 participants