4. Interface (Interfaccia)
4. Interface (Interfaccia)
Questa sezione descrive in dettaglio le operazioni di base che devono essere presenti per implementare la funzionalità JSEP. L'API effettiva esposta nell'API W3C può avere una sintassi leggermente diversa, ma dovrebbe mappare facilmente a questi concetti.
Sottosezioni
- 4.1. PeerConnection
- 4.1.1. Constructor (Costruttore)
- 4.1.2. addTrack
- 4.1.3. removeTrack
- 4.1.4. addTransceiver
- 4.1.5. onaddtrack Event (Evento)
- 4.1.6. createDataChannel
- 4.1.7. ondatachannel Event (Evento)
- 4.1.8. createOffer
- 4.1.9. createAnswer
- 4.1.10. SessionDescriptionType
- 4.1.11. setLocalDescription
- 4.1.12. setRemoteDescription
- 4.1.13. currentLocalDescription
- 4.1.14. pendingLocalDescription
- 4.1.15. currentRemoteDescription
- 4.1.16. pendingRemoteDescription
- 4.1.17. canTrickleIceCandidates
- 4.1.18. setConfiguration
- 4.1.19. addIceCandidate
- 4.1.20. onicecandidate Event (Evento)
- 4.2. RtpTransceiver