Media/WebRTC/Architecture: Difference between revisions

Jump to navigation Jump to search
Line 208: Line 208:
http://www.websequencediagrams.com/?lz=dGl0bGUgU2lnbmFsaW5nIFRocmVhZHMgKENhbGxlZTogU2V0TG9jYWxEZXNjcmlwdGlvbikKCnBhcnRpY2lwYW50ICJET00AMQciIGFzIERPTQATDVBDIGFzIFBDACcOQ0NBUFBfVGFzawAwBQAKBQBKDUdTTVRhc2sgYXMgR1MARA5TVFMgYXMgU1RTCgpET00gLT4gUEM6IERpc3BhdGNoKACBHxVQQyAtPgBiBjogSVBDKEZFQVRVUkVfU0VUTE9DQUxFU0MpCgCBEgUgLT4gR1NNACEGQ0NfTVNHAB0JRAAiBQpHUwByBQAhBXZlcmlmeSBTRFAACg1Db21wYXJlIGlucHV0IFNEUCB0byBBbnN3ZXIAJwUAPAgAgQgLU3RhdGU9Q29ubmVjdGVkKSAAgQYKAIFTDgAZDwCBVgdET00AFBFBY3RpdmUpCgpub3RlIHJpZ2h0IG9mIFNUUzogSUNFL0RUTFMgY29tcGxldGUKU1RTAIFwDU1lZGlhIHRyYW5zcG9ydCByZWFkeSkARgZvdmVyAIIhBlN0YXJ0IHNlbmRpbmcvcmVjZWl2aW5nIG1lZGlhCg&s=default
http://www.websequencediagrams.com/?lz=dGl0bGUgU2lnbmFsaW5nIFRocmVhZHMgKENhbGxlZTogU2V0TG9jYWxEZXNjcmlwdGlvbikKCnBhcnRpY2lwYW50ICJET00AMQciIGFzIERPTQATDVBDIGFzIFBDACcOQ0NBUFBfVGFzawAwBQAKBQBKDUdTTVRhc2sgYXMgR1MARA5TVFMgYXMgU1RTCgpET00gLT4gUEM6IERpc3BhdGNoKACBHxVQQyAtPgBiBjogSVBDKEZFQVRVUkVfU0VUTE9DQUxFU0MpCgCBEgUgLT4gR1NNACEGQ0NfTVNHAB0JRAAiBQpHUwByBQAhBXZlcmlmeSBTRFAACg1Db21wYXJlIGlucHV0IFNEUCB0byBBbnN3ZXIAJwUAPAgAgQgLU3RhdGU9Q29ubmVjdGVkKSAAgQYKAIFTDgAZDwCBVgdET00AFBFBY3RpdmUpCgpub3RlIHJpZ2h0IG9mIFNUUzogSUNFL0RUTFMgY29tcGxldGUKU1RTAIFwDU1lZGlhIHRyYW5zcG9ydCByZWFkeSkARgZvdmVyAIIhBlN0YXJ0IHNlbmRpbmcvcmVjZWl2aW5nIG1lZGlhCg&s=default


Invoked by the JS SetLocalDescription must be called after CreateAnswer and takes as input the answer SDP which is passed down to the GSMTask thread.  Here the SDP is compared to the insernal answer SDP, if there is a difference an error is reported back to the DOM Thread.  If there are no errors then the webrtc.org streams can be created along with the mtransport flows. Following this if ICE completes processing successfuly then the media can start sending and receiving.
Invoked by the JS SetLocalDescription must be called after CreateAnswer and takes as input the answer SDP which is passed down to the GSMTask thread.  Here the SDP is compared to the insernal answer SDP, if there is a difference an error is reported back to the DOM Thread. Following this if ICE completes processing successfuly then the media can start sending and receiving on the webrtc.org flows that were created in CreateAnswer.
 
[Question: Enda.  I am not sure what the interaction looks like for creating the webrtc.org flows and the mtransport flows.]


=== Signaling System: SetRemote(Caller) ===
=== Signaling System: SetRemote(Caller) ===
43

edits

Navigation menu