UCIUROP2015 / UCI_OmletRTC

WebRTC app for Omlet chat
MIT License
15 stars 4 forks source link

Log(Success) #3

Open sungjk opened 9 years ago

sungjk commented 9 years ago

This code is committed about 2:32 pm in dbh3099-rhcloud.

  1. Caller receive userJoin message from Callee.
  2. Caller runs createOffer() and setLocalDescription(offerSDP) and send offerSDP to Callee. then starts ice process(onicecandidate which send a candidate to the other party if any candidate found)
  3. Callee receive offerSDP. and setRemoteDescription(offerSDP) and add a successCallback to setRemoteDescription which makes a answer.
  4. If setRemoteDescription is success and peerConnection.remoteDescription.type == 'offer', Callee runs createAnswer() and send answerSDP to Caller. then start ice process
  5. Caller receive answerSDP and setRemoteDescription(answerSDP)
2015-08-12 2 49 33 2015-08-12 2 49 57 2015-08-12 2 50 45

Caller

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: D2CF631E2C21CA9C
[+] Jeremy creates the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: chase, message: userJoin
[+] createOffer.
[+] setLocalSessionDescription.
[+] onicecandidate
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[-] handleIceCandidate event.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: chase, message: answer
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Answer.
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] Remote stream added.
[+] Remote stream attached.
[+] iceGatheringState: complete, iceConnectionState: checking
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] iceGatheringState: complete, iceConnectionState: completed
[+] iceGatheringState: complete, iceConnectionState: completed

Callee

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: D2CF631E2C21CA9C
[+] chase joins the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: candidate:829852397 1 udp 2122260223 192.168.1.31 42770 typ host generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Offer.
[+] createAnswer.
[+] Remote stream added.
[+] Remote stream attached.
[+] setLocalSessionDescription.
[+] onicecandidate
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] iceGatheringState: gathering, iceConnectionState: checking
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[-] handleIceCandidate event.
[+] iceGatheringState: complete, iceConnectionState: connected
sungjk commented 9 years ago

This code is committed about 2:32 pm in dbh3099-rhcloud.

Caller

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: F455D5BD23036F22
[+] Jeremy creates the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: chase, message: userJoin
[+] createOffer.
[+] setLocalSessionDescription.
[+] onicecandidate
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] sender: Jeremy, message: offer
[-] handleIceCandidate event.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: chase, message: answer
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Answer.
[+] Remote stream added.
[+] Remote stream attached.
[+] iceGatheringState: complete, iceConnectionState: checking
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] iceGatheringState: complete, iceConnectionState: completed
[+] iceGatheringState: complete, iceConnectionState: completed

Callee

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: F455D5BD23036F22
[+] chase joins the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: candidate:829852397 1 udp 2122260223 192.168.1.31 44455 typ host generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Offer.
[+] createAnswer.
[+] Remote stream added.
[+] Remote stream attached.
[+] setLocalSessionDescription.
[+] onicecandidate
[+] sender: Jeremy, message: candidate:3345412921 2 udp 1686052606 169.234.178.32 57023 typ srflx raddr 192.168.1.31 rport 57023 generation 0
[+] addIceCandidate.
[+] iceGatheringState: gathering, iceConnectionState: checking
[+] handleIceCandidate event.
[+] sender: Jeremy, message: candidate:3345412921 2 udp 1686052606 169.234.178.32 57023 typ srflx raddr 192.168.1.31 rport 57023 generation 0
[+] addIceCandidate.
[+] sender: Jeremy, message: candidate:3345412921 2 udp 1686052606 169.234.178.32 57023 typ srflx raddr 192.168.1.31 rport 57023 generation 0
[+] addIceCandidate.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[-] handleIceCandidate event.
[+] iceGatheringState: complete, iceConnectionState: connected
sungjk commented 9 years ago

This code is committed about 2:32 pm in dbh3099-rhcloud.

Caller

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: D04B5A9D48179AFD
[+] Jeremy creates the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: chase, message: userJoin
[+] createOffer.
[+] setLocalSessionDescription.
[+] onicecandidate
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[-] handleIceCandidate event.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: offer
[+] sender: chase, message: answer
[+] sender: chase, message: candidate:918459911 1 udp 2122260223 192.168.1.18 53204 typ host generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Answer.
[+] Remote stream added.
[+] Remote stream attached.
[+] iceGatheringState: complete, iceConnectionState: checking
[+] sender: chase, message: candidate:918459911 1 udp 2122260223 192.168.1.18 53204 typ host generation 0
[+] addIceCandidate.
[+] iceGatheringState: complete, iceConnectionState: completed
[+] iceGatheringState: complete, iceConnectionState: completed
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: chase, message: candidate:2017290999 1 tcp 1518280447 192.168.1.18 0 typ host tcptype active generation 0
[+] addIceCandidate.

Callee

 This appears to be Chrome
[+] Omlet is Ready.
UA
[+] Initializing DocumentAPI.
[+] Loading document
[+] Get documentReference id: D04B5A9D48179AFD
[+] chase joins the room.
[+] getUserMedia.
[+] attachMediaStream(localVideo, stream)
[+] createPeerConnection()
[+] Attach local Stream.
[+] sender: Jeremy, message: offer
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] setRemoteSDP_Offer.
[+] createAnswer.
[+] setLocalSessionDescription.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] onicecandidate
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] Remote stream added.
[+] Remote stream attached.
[+] handleIceCandidate event.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] sender: Jeremy, message: candidate:2146792989 2 tcp 1518280446 192.168.1.31 0 typ host tcptype active generation 0
[+] addIceCandidate.
[+] handleIceCandidate event.
[+] handleIceCandidate event.
[-] handleIceCandidate event.
[+] iceGatheringState: complete, iceConnectionState: connected