WebRTC/Test Plan/Peer Connection: Difference between revisions

Line 16: Line 16:
=== Smoke ===
=== Smoke ===


* Creation of a peer connection with a valid STUN server should result in:
* Creation of a peer connection with a valid STUN server should result in the valid post peer connection creation state
** A signalingState of stable
* Typical handshake 1:1 between two peers with different gUM streams added at the start of the handshake should result:
** An iceConnectionState of new
** An iceGatheringState of new
* Typical handshake 1:1 between two peers with gUM streams added at the start of the handshake should result:
** Each peer has a single local and remote stream set correctly
** Each peer has a single local and remote stream set correctly
** onaddstream callback fires with the correct stream that generates media flow after the remote session description is set
** onaddstream callback fires with the correct stream that generates media flow after the remote session description is set
Line 26: Line 23:
=== Basic Functional ===
=== Basic Functional ===


* Two typical handshakes between two peers
* Creation of a peer connection with a valid STUN server that requires credentials and has valid credentials provided should result in a valid post peer connection creation state
* Two typical handshakes between two peers with different gUM streams added at the start of the handshakes should result:
*  
*  


Line 34: Line 32:


=== Definitions ===
=== Definitions ===
==== Post Peer Connection Creation State ====
* A signalingState of stable
* An iceConnectionState of new
* An iceGatheringState of new


==== Typical Handshake ====
==== Typical Handshake ====
Confirmed users
2,959

edits