зеркало из https://github.com/nextcloud/spreed.git
Родитель
65ffc79ce0
Коммит
50b8fc6f5c
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<info>
|
||||
<id>spreedme</id>
|
||||
<name>Spreed.Me</name>
|
||||
<id>spreed</id>
|
||||
<name>Spreed.ME video calls</name>
|
||||
<description>Voice over IP conferencing using WebRTC</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Lukas Reschke</author>
|
||||
<licence>AGPLv3+</licence>
|
||||
<author>Lukas Reschke, Jan-Christoph Borchardt</author>
|
||||
<default_enable/>
|
||||
<version>1.0.6</version>
|
||||
<dependencies>
|
||||
<owncloud min-version="9.1" max-version="9.2" />
|
||||
</dependencies>
|
||||
<namespace>SpreedMe</namespace>
|
||||
<namespace>Spreed</namespace>
|
||||
</info>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
OCA.SpreedMe.Rooms = {
|
||||
create: function(roomName) {
|
||||
$.post(
|
||||
OC.generateUrl('/apps/spreedme/api/room'),
|
||||
OC.generateUrl('/apps/spreed/api/room'),
|
||||
{
|
||||
roomName: roomName
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
list: function() {
|
||||
$.ajax({
|
||||
url: OC.generateUrl('/apps/spreedme/api/room'),
|
||||
url: OC.generateUrl('/apps/spreed/api/room'),
|
||||
success: function(data) {
|
||||
$('#app-navigation ul').html('');
|
||||
data.forEach(function(element) {
|
||||
|
@ -35,12 +35,12 @@
|
|||
},
|
||||
peers: function(roomId) {
|
||||
return $.ajax({
|
||||
url: OC.generateUrl('/apps/spreedme/api/room/{roomId}/peers', {roomId: roomId})
|
||||
url: OC.generateUrl('/apps/spreed/api/room/{roomId}/peers', {roomId: roomId})
|
||||
});
|
||||
},
|
||||
ping: function() {
|
||||
$.post(
|
||||
OC.generateUrl('/apps/spreedme/api/ping'),
|
||||
OC.generateUrl('/apps/spreed/api/ping'),
|
||||
{
|
||||
currentRoom: OCA.SpreedMe.Rooms.currentRoom()
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ webrtc = new SimpleWebRTC({
|
|||
function openEventSource() {
|
||||
|
||||
// Connect to the messages endpoint and pull for new messages
|
||||
var messageEventSource = new OC.EventSource(OC.generateUrl('/apps/spreedme/messages'));
|
||||
var messageEventSource = new OC.EventSource(OC.generateUrl('/apps/spreed/messages'));
|
||||
var previousUsersInRoom = [];
|
||||
Array.prototype.diff = function(a) {
|
||||
return this.filter(function(i) {return a.indexOf(i) < 0;});
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
on: function(ev, fn) {
|
||||
var self = this;
|
||||
|
||||
$.post(OC.generateUrl('/apps/spreedme/signalling'), {ev: ev}, function(data) {
|
||||
$.post(OC.generateUrl('/apps/spreed/signalling'), {ev: ev}, function(data) {
|
||||
self.emit(fn, data);
|
||||
});
|
||||
},
|
||||
|
@ -30,7 +30,7 @@
|
|||
// their signalling information.
|
||||
var callback = arguments[2];
|
||||
$.post(
|
||||
OC.generateUrl('/apps/spreedme/api/room/{roomId}/join', {roomId: data}),
|
||||
OC.generateUrl('/apps/spreed/api/room/{roomId}/join', {roomId: data}),
|
||||
function() {
|
||||
|
||||
OCA.SpreedMe.Rooms.peers(data).then(function(result) {
|
||||
|
@ -52,7 +52,7 @@
|
|||
);
|
||||
break;
|
||||
case 'message':
|
||||
$.post(OC.generateUrl('/apps/spreedme/signalling'), {ev: fn, fn: JSON.stringify(data)});
|
||||
$.post(OC.generateUrl('/apps/spreed/signalling'), {ev: fn, fn: JSON.stringify(data)});
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\SpreedMe\Controller;
|
||||
namespace OCA\Spreed\Controller;
|
||||
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\SpreedMe\Controller;
|
||||
namespace OCA\Spreed\Controller;
|
||||
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace OCA\SpreedMe\Controller;
|
||||
namespace OCA\Spreed\Controller;
|
||||
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
|
|
Загрузка…
Ссылка в новой задаче