Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/stasel/WebRTC-iOS
A simple native WebRTC demo iOS app using swift.
This demo app's purpose is to demonstrate the bare minimum required to establish peer to peer connection with WebRTC. This is not a production ready code! In order to have a production VoIP app you will need to have a real signaling server (not a simple broadcast server like in this example), deploy your own Turn server(s) and probably integrate CallKit and push notifications.
Legacy xcode support:
WebRTC-Demo-app
folderWebRTC-Demo.xcworkspace
Config.swift
and set the defaultSignalingServerUrl
variable to your signaling server ip/host. Don't use localhost
or 127.0.0.1
if you plan to connect other devices in your network to your mac.1. Navigate to the `signaling/NodeJS` folder.
2. Run `npm install` to install all dependencies.
3. Run `node app.js` to start the server.
Note: This step requires MacOS 10.15
1. Navigate to the `signaling/Swift` folder.
2. Run `make`
3. Run `./server` to start the server
Alternative method: Open WebRTC-Demo.xcworkspace
and run the SignalingServer
scheme.
Disclaimer: I am not sure if this is the best way doing it but this has worked for me so far:
RTCAudioSession.sharedInstance().useManualAudio = true
RTCAudioSession.sharedInstance().isAudioEnabled = false
CXProvider
delegate's provider(CXProvider, didActivate: AVAudioSession)
method:
RTCAudioSession.sharedInstance().audioSessionDidActivate
with the AVAudioSession
from the CXProvider
RTCAudioSession.sharedInstance().isAudioEnabled = true
CXProvider
delegate's provider(CXProvider, didDeactivate: AVAudioSession)
call RTCAudioSession.sharedInstance().audioSessionDidDeactivate
with the AVAudioSession
from the CXProvider
WebRTC and CallKit talk from 2016: https://youtu.be/JB2MdcY1MKs?t=6m23s
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.