Author: ygrego Date: 2015-03-26 15:49:01 +0000 (Thu, 26 Mar 2015) New Revision: 971 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/971 Log: -Deletion of argument for the method "createVideoBroadcastObject". -Addition of a parameter at creation of VideoBroadcastObject, which has type "ChannelService". Modified: oipf/js/impl/OipfObjectFactory.js Modified: oipf/js/impl/OipfObjectFactory.js =================================================================== --- oipf/js/impl/OipfObjectFactory.js 2015-03-26 10:19:58 UTC (rev 970) +++ oipf/js/impl/OipfObjectFactory.js 2015-03-26 15:49:01 UTC (rev 971) @@ -175,11 +175,11 @@ * so instantiation shall never fail if the object type is supported. The * allocationMethod property SHALL be set to DYNAMIC_ALLOCATION . */ - createVideoBroadcastObject: function(requiredCapabilities) { + createVideoBroadcastObject: function() { console.log("[INFO] createVideoBroadcastObject() of OipfObjectFactory class called."); if (this.isObjectSupported("video/broadcast")) { - return new VideoBroadcastObject(requiredCapabilities); + return new VideoBroadcastObject(new ChannelService()); } else { throw new TypeError("This object type is not supported."); }
participants (1)
-
ygregoï¼ users.nuiton.org