W3C home > Mailing lists > Public > public-orca@w3.org > August 2013

setXxxxxDescription() vs setters/properties [via ORCA - Object-RTC API Community Group]

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 28 Aug 2013 08:54:47 +0000
To: public-orca@w3.org
Message-ID: <6bd96fee91a93e69215b9b911af735dc@www.w3.org>
Current API defines some methods that expect an Object as argument, or that
return an Object. For example, when Alice needs to signal Bob that she will send
an Opus audio track with payload-id=98 and SSRC=1234, something like this should
be coded: // Alice gets her sending track description/details and signals them
to Bob: var rtcTrack = rtcConnection.track(audioMediaStreamTrack);
signalingChannel.send(JSON.stringify({ [...]


This post sent on ORCA - Object-RTC API Community Group

'setXxxxxDescription() vs setters/properties'


Learn more about the ORCA - Object-RTC API Community Group: 

Received on Wednesday, 28 August 2013 08:54:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:39:21 UTC