});
});
+ $rootScope.$on('call.recovering', function(event){
+ console.log('Our current call is recovering, clear the participant list.');
+ $scope.members = [];
+ });
+
function findMemberByUUID(uuid) {
var found = false;
for (var idx in $scope.members) {
$rootScope.$emit('call.incoming', number);
}
+ function recoveringCall() {
+ $rootScope.$emit('call.recovering');
+ }
+
function getVideoParams() {
var maxWidth, maxHeight;
data.callState = 'active';
calling();
break;
+ case "recovering":
+ console.debug('We are recovering a call!');
+ recoveringCall();
+ break;
case "active":
console.debug('Talking to:', d.cidString());
data.callState = 'active';