Media/WebRTC/Architecture: Difference between revisions

Jump to navigation Jump to search
Line 206: Line 206:
=== Signaling System: SetLocal(Callee) ===
=== Signaling System: SetLocal(Callee) ===


http://www.websequencediagrams.com/?lz=dGl0bGUgU2lnbmFsaW5nIFRocmVhZHMgKENhbGxlZTogU2V0TG9jYWxEZXNjcmlwdGlvbikKCnBhcnRpY2lwYW50ICJET00AMQciIGFzIERPTQATDVBDIGFzIFBDACcOQ0NBUFBfVGFzawAwBQAKBQBKDUdTTVRhc2sgYXMgR1MARA5TVFMgYXMgU1RTCgpET00gLT4gUEM6IERpc3BhdGNoKACBHxVQQyAtPgBiBjogSVBDKEZFQVRVUkVfU0VUTE9DQUxFU0MpCgCBEgUgLT4gR1NNACEGQ0NfTVNHAB0JRAAiBQoKR1MAcwUAIgVDb21wYXJlIFNEUCB0byBBbnN3ZXIgU0RQAB4JAHAHAIEYCnRhdGU9RXJyb3IgPwAzBSE9ADEHKSAAewoAgUgOACoKAIFGCERPTQAJGACBFA1jcmVhdGUgd2VicnRjLm9yZyBmbG93cwAQFG10cmFuc3BvcnQAHQcAgSUeQ29ubmVjdGVkAIEYHwAeCgCBIBtBY3RpdmUpCgpub3RlIHJpZ2h0IG9mIFNUUzogSUNFL0RUTFMgY29tcGxldGUKU1RTAIMcDU1lZGlhIACBNQpyZWFkeSkARgZvdmVyAINNBlN0YXJ0IHNlbmRpbmcvcmVjZWl2aW5nIG1lZGlhCg&s=default
http://www.websequencediagrams.com/?lz=dGl0bGUgU2lnbmFsaW5nIFRocmVhZHMgKENhbGxlZTogU2V0TG9jYWxEZXNjcmlwdGlvbikKCnBhcnRpY2lwYW50ICJET00AMQciIGFzIERPTQATDVBDIGFzIFBDACcOQ0NBUFBfVGFzawAwBQAKBQBKDUdTTVRhc2sgYXMgR1MARA5TVFMgYXMgU1RTCgpET00gLT4gUEM6IERpc3BhdGNoKACBHxVQQyAtPgBiBjogSVBDKEZFQVRVUkVfU0VUTE9DQUxFU0MpCgCBEgUgLT4gR1NNACEGQ0NfTVNHAB0JRAAiBQpHUwByBQAhBUNvbXBhcmUgU0RQIHRvIEFuc3dlciBTRFAAHgkAawtTdGF0ZT1Db25uZWN0ZWQpIABpCgCBNg4AGQ8AgTkHRE9NABQRQWN0aXZlKQoKbm90ZSByaWdodCBvZiBTVFM6IElDRS9EVExTIGNvbXBsZXRlClNUUwCBUw1NZWRpYSB0cmFuc3BvcnQgcmVhZHkpAEYGb3ZlcgCCBAZTdGFydCBzZW5kaW5nL3JlY2VpdmluZyBtZWRpYQo&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.  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.
43

edits

Navigation menu