117cb68b9d
Major additions to the NIP specification: - Gift wrap expiration: documented that outer gift wraps MUST include expiration tags so relays can garbage-collect signaling - Event structures: added full JSON examples with all required fields (pubkey, id, sig, expiration, alt tags) - ICE candidate buffering: documented that candidates MUST be buffered while ringing and NOT cleared on accept - Staleness and deduplication: documented 20s staleness check and event ID dedup as spam prevention requirements - NAT traversal: added TURN server guidance for same-WiFi and restrictive network fallback (~20% of cases) - Audio routing: documented MODE_IN_COMMUNICATION, earpiece/ speaker/Bluetooth SCO cycling, ringback tone, ringtone - Platform integration: foreground service (microphone type), proximity wake lock, PiP mode, runtime permissions - Error handling: SDP creation failures, ICE_CONNECTION_FAILED, session creation errors - JSON escaping: noted that ICE candidate SDP strings MUST be properly escaped in the content JSON https://claude.ai/code/session_017hZm7yu7CzmcQgZGSaqSXS