Atlante45
|
ab76e6a00c
|
Merge branch 'master' of https://github.com/highfidelity/hifi into removed_gettimeofday
Conflicts:
interface/src/Audio.cpp
|
2014-04-21 12:19:19 -07:00 |
|
ZappoMan
|
7798c6eb09
|
some debugging
|
2014-04-21 11:48:58 -07:00 |
|
ZappoMan
|
59cbda20c6
|
added some threading and event debugging
|
2014-04-20 19:48:17 -07:00 |
|
ZappoMan
|
50f7db8fe1
|
quiet some debugging
|
2014-04-18 15:02:10 -07:00 |
|
ZappoMan
|
2c02178802
|
Merge branch 'master' of https://github.com/worklist/hifi into shared_and_weak_pointers
Conflicts:
assignment-client/src/AssignmentClient.cpp
assignment-client/src/AssignmentClient.h
libraries/shared/src/NodeList.cpp
|
2014-04-18 14:28:54 -07:00 |
|
Stephen Birarda
|
6adfb91e93
|
rename AvatarHash to AvatarList
|
2014-04-18 09:40:35 -07:00 |
|
Stephen Birarda
|
77202af20d
|
add debug for erase from AvatarHashMap, repair check for display name
|
2014-04-17 18:05:22 -07:00 |
|
Stephen Birarda
|
75f35c5858
|
optionally add an AvatarHashMap instance to the ScriptEngine
|
2014-04-17 17:55:16 -07:00 |
|
Stephen Birarda
|
f8106e5063
|
add an AvatarHashMap to the Agent
|
2014-04-17 17:49:55 -07:00 |
|
Andrzej Kapolka
|
6251b6b819
|
Merge fix.
|
2014-04-17 13:55:16 -07:00 |
|
Andrzej Kapolka
|
599b472cf7
|
Merge branch 'master' of https://github.com/highfidelity/hifi into animate
Conflicts:
assignment-client/src/Agent.cpp
|
2014-04-17 13:51:32 -07:00 |
|
Stephen Birarda
|
a137dd0362
|
grab URL for script from payload if it exists
|
2014-04-17 10:18:42 -07:00 |
|
Andrzej Kapolka
|
0f69bbe23f
|
More work on animation loading.
|
2014-04-16 20:39:55 -07:00 |
|
Atlante45
|
dd8a0e3550
|
Removed gettimeofday in AudioMixer
|
2014-04-16 12:16:49 -07:00 |
|
Stephen Birarda
|
7cef2def66
|
remove Syssocket which is from our pre-Qt days
|
2014-04-10 10:34:31 -07:00 |
|
Stephen Birarda
|
d5d52f804f
|
add a networking library and link from appropriate targets
|
2014-04-10 09:32:17 -07:00 |
|
Stephen Birarda
|
1c861fbecb
|
resolve conflicts on merge with upstream master
|
2014-04-09 15:36:15 -07:00 |
|
Stephen Birarda
|
ae4b8348a2
|
fix header include guards via regex
|
2014-04-09 12:03:17 -07:00 |
|
Stephen Birarda
|
2d755adfc0
|
repairs to good code blown away by regex
|
2014-04-09 10:46:20 -07:00 |
|
Stephen Birarda
|
684c6b5372
|
run regex header replacement on all cpp files
|
2014-04-09 09:35:42 -07:00 |
|
Stephen Birarda
|
974d8c0427
|
prepare header files for regex run against cpp
|
2014-04-09 09:35:05 -07:00 |
|
Stephen Birarda
|
7ce91b3f96
|
fix headers who had their comments removed
|
2014-04-08 17:43:35 -07:00 |
|
Stephen Birarda
|
6a51df9e38
|
initial regex replacement of headers
|
2014-04-08 17:30:36 -07:00 |
|
Stephen Birarda
|
6681754994
|
Merge branch 'master' of https://github.com/highfidelity/hifi into authentication
|
2014-04-08 14:26:10 -07:00 |
|
Stephen Birarda
|
02e2135a2e
|
allow setting of expected DTLS cert hostname from AC
|
2014-04-07 12:52:26 -07:00 |
|
Stephen Birarda
|
69504b0a9d
|
proper cleanup of CA credentials on DTLSClientSession side
|
2014-04-07 09:47:51 -07:00 |
|
Stephen Birarda
|
fd8e32190e
|
perform cleanup of GnuTLS structures across targets
|
2014-04-04 11:08:53 -07:00 |
|
Stephen Birarda
|
e1cae6d295
|
initial handshaking for DTLS sessions between DS and clients
|
2014-04-02 17:29:14 -07:00 |
|
Andrzej Kapolka
|
40844d2000
|
Working on ability to set a region of the metavoxel data directly.
|
2014-04-02 12:40:01 -07:00 |
|
ZappoMan
|
dc7e2dbe1b
|
more debugging
|
2014-04-01 20:14:38 -07:00 |
|
ZappoMan
|
97b2e68988
|
more debugging
|
2014-04-01 14:05:05 -07:00 |
|
ZappoMan
|
b7695ba050
|
more debugging
|
2014-04-01 13:55:25 -07:00 |
|
Stephen Birarda
|
62041d91a8
|
rename NodeList DomainInfo to DomainHandler
|
2014-04-01 13:09:35 -07:00 |
|
Stephen Birarda
|
caf2473df8
|
add a DTLSSession object to handle GnuTLS DTLS sessions
|
2014-04-01 13:08:00 -07:00 |
|
ZappoMan
|
124619f8d9
|
more debugging
|
2014-04-01 12:51:34 -07:00 |
|
ZappoMan
|
6cb44a4d0c
|
more debugging
|
2014-04-01 12:33:59 -07:00 |
|
ZappoMan
|
916a5d2da0
|
more debugging
|
2014-04-01 12:24:03 -07:00 |
|
ZappoMan
|
f504569655
|
more debugging
|
2014-04-01 11:49:49 -07:00 |
|
ZappoMan
|
58a52cf5e1
|
more debugging
|
2014-04-01 11:45:29 -07:00 |
|
ZappoMan
|
30ff4a1d19
|
more debugging
|
2014-04-01 11:32:35 -07:00 |
|
ZappoMan
|
1aa05c4de5
|
more debugging
|
2014-04-01 11:26:55 -07:00 |
|
ZappoMan
|
9e445098f1
|
more debugging
|
2014-04-01 11:22:44 -07:00 |
|
ZappoMan
|
193e237285
|
tweaks
|
2014-04-01 10:58:20 -07:00 |
|
ZappoMan
|
9d757434ab
|
testing tweak
|
2014-04-01 10:47:25 -07:00 |
|
ZappoMan
|
ce8a599b16
|
tweak
|
2014-04-01 10:38:21 -07:00 |
|
ZappoMan
|
64c7a6a440
|
testing, remove create sending thread and processing of query
|
2014-04-01 10:25:32 -07:00 |
|
ZappoMan
|
ff17c6a071
|
quiet some debugging
|
2014-04-01 10:08:46 -07:00 |
|
ZappoMan
|
21e0bc119b
|
moved OctreeServer::stopTrackingThread() to destructor instead of setIsShuttingDown()
|
2014-04-01 09:50:10 -07:00 |
|
ZappoMan
|
20d944a43b
|
removed some debug
|
2014-04-01 09:31:40 -07:00 |
|
ZappoMan
|
6ed9b968b0
|
removed some extra debugging
|
2014-04-01 09:23:19 -07:00 |
|
ZappoMan
|
9df315d889
|
removed dead debug code
|
2014-03-31 20:54:58 -07:00 |
|
ZappoMan
|
7cd39d3ef0
|
add forceNodeShutdown() to handle forced shutdown of nodes in case of server shutdown
|
2014-03-31 20:53:34 -07:00 |
|
ZappoMan
|
b5c538b051
|
added some debugging
|
2014-03-31 18:22:06 -07:00 |
|
ZappoMan
|
9d60be9773
|
cleanup some debugging
|
2014-03-31 17:57:48 -07:00 |
|
ZappoMan
|
ef68f164c9
|
tweak shutdown
|
2014-03-31 17:05:31 -07:00 |
|
ZappoMan
|
dc302e7126
|
tweak shutdown
|
2014-03-31 16:51:00 -07:00 |
|
ZappoMan
|
7a683b177d
|
added some debugging, and reordered some shutdown logic
|
2014-03-31 16:43:25 -07:00 |
|
ZappoMan
|
5c37a79378
|
cleanup of debuggin
|
2014-03-31 15:42:16 -07:00 |
|
ZappoMan
|
b3734d870b
|
cleanup
|
2014-03-31 15:39:12 -07:00 |
|
ZappoMan
|
1eb15b0d12
|
cleanup
|
2014-03-31 15:37:53 -07:00 |
|
ZappoMan
|
a9d153054f
|
remove _process mutex since it's no longer needed
|
2014-03-31 15:28:13 -07:00 |
|
ZappoMan
|
27f42b5b86
|
clean up headers
|
2014-03-31 15:15:54 -07:00 |
|
ZappoMan
|
514f43c6cc
|
revert tweaks
|
2014-03-31 15:10:36 -07:00 |
|
ZappoMan
|
a82a583030
|
cleanup
|
2014-03-31 14:59:28 -07:00 |
|
ZappoMan
|
6601a0d4e9
|
cleaning up nodeKilled()
|
2014-03-31 14:54:39 -07:00 |
|
ZappoMan
|
6df3ff57c4
|
cleanup isNull() usage
|
2014-03-31 14:30:25 -07:00 |
|
ZappoMan
|
226274e98b
|
cleaning up SharedNodePointer usage
|
2014-03-31 14:24:08 -07:00 |
|
ZappoMan
|
0f9df4a8ee
|
clean up includes
|
2014-03-31 14:11:47 -07:00 |
|
ZappoMan
|
faa062f8ab
|
use single instance of SharedAssignmentPointer for assignment client so we actually get reference counting
|
2014-03-31 14:08:19 -07:00 |
|
ZappoMan
|
7c8295dd94
|
Merge branch 'master' of https://github.com/worklist/hifi into shared_and_weak_pointers
|
2014-03-28 11:06:02 -07:00 |
|
ZappoMan
|
640dbaacab
|
migration to shared pointers
|
2014-03-28 11:05:54 -07:00 |
|
Stephen Birarda
|
eb35b63651
|
use a shared pointer for more elegant cleanup at assignment conclusion
|
2014-03-28 10:48:44 -07:00 |
|
ZappoMan
|
8856a609a4
|
first cut at migrating to SharedOctreeServerPointer for ref count management of OctreeServer
|
2014-03-28 09:46:23 -07:00 |
|
ZappoMan
|
0cb9bec1aa
|
keep SharedNodePointer in the OctreeSendThread
|
2014-03-27 19:29:18 -07:00 |
|
ZappoMan
|
c540427b9e
|
tweaks to _processLock to reduce time it's locked
|
2014-03-27 15:03:46 -07:00 |
|
Stephen Birarda
|
0fc83d81fd
|
Merge pull request #2555 from ZappoMan/backtotrylockanduuid
added back use of nodeWithUUID() instead of sharedpointer
|
2014-03-27 13:55:17 -07:00 |
|
ZappoMan
|
bda96ef935
|
added back use of nodeWithUUID() instead of sharedpointer
|
2014-03-27 13:35:22 -07:00 |
|
Stephen Birarda
|
21eef6c15e
|
make sure VoxelServer and ParticleServer are in Agent interest list
|
2014-03-27 13:10:03 -07:00 |
|
ZappoMan
|
9fdfa4a7a8
|
switch to using SharedNodePointer instead of UUID in octree server send thread
|
2014-03-27 02:33:32 -07:00 |
|
AndrewMeadows
|
cec3f944d7
|
Merge pull request #2525 from ZappoMan/scaling_work
Voxel/Particle Server Scaling Work
|
2014-03-26 15:16:22 -07:00 |
|
ZappoMan
|
c56efb9e4c
|
formatting tweaks
|
2014-03-26 13:41:49 -07:00 |
|
ZappoMan
|
0451ce455f
|
added --statusHost config option to allow us to specify the host name of the status page
|
2014-03-26 13:25:38 -07:00 |
|
Stephen Birarda
|
28f962ea2b
|
fix for AudioMixer kill and re-add and no sound load in bot
|
2014-03-26 13:19:20 -07:00 |
|
ZappoMan
|
18eda50118
|
added thread counts to json stats
|
2014-03-26 13:13:55 -07:00 |
|
ZappoMan
|
7a3e19eb0f
|
Merge branch 'master' of https://github.com/worklist/hifi into scaling_work
|
2014-03-26 12:18:08 -07:00 |
|
ZappoMan
|
bc68ed1300
|
moved stopTrackingThread() to setIsShuttingDown() to reduce chance of object conflict
|
2014-03-26 11:59:55 -07:00 |
|
Stephen Birarda
|
962c7350f3
|
wait on broadcastThread before destroying AvatarMixer, closes #2499
|
2014-03-26 11:53:57 -07:00 |
|
ZappoMan
|
c3aab7337f
|
added more performance stats tracking to octree server
|
2014-03-26 11:36:35 -07:00 |
|
Stephen Birarda
|
e2b230445f
|
add a method to Agent for last read frame loudness
|
2014-03-26 10:28:59 -07:00 |
|
Stephen Birarda
|
34634af975
|
add mutex header to NodeData
|
2014-03-25 16:05:51 -07:00 |
|
Stephen Birarda
|
c8b3ae0c40
|
add a mutex to NodeData and leverage in AvatarMixer threads
|
2014-03-25 15:49:47 -07:00 |
|
Stephen Birarda
|
6f4f55038b
|
add back selective inclusion of Avatars based on distance
|
2014-03-25 15:31:53 -07:00 |
|
Stephen Birarda
|
6b8c60e964
|
remove waitForBytesWritten for initial tests
|
2014-03-25 15:10:53 -07:00 |
|
Stephen Birarda
|
292fb51b43
|
use performance throttling instead of distance to decide when to send
|
2014-03-25 15:05:17 -07:00 |
|
Stephen Birarda
|
269615bc40
|
thread broadcast of avatar data in AvatarMixer
|
2014-03-25 14:02:24 -07:00 |
|
Stephen Birarda
|
0407c6d324
|
use QTimer to clock broadcastAvatarData method
|
2014-03-25 13:50:22 -07:00 |
|
Stephen Birarda
|
4e77afb4b2
|
block and wait for bytes to be written during broadcastAvatarData loop
|
2014-03-25 13:38:02 -07:00 |
|
Stephen Birarda
|
9d6dac6a76
|
suppress sleep time debug in favour of stats in AvatarMixer
|
2014-03-25 12:18:28 -07:00 |
|
Stephen Birarda
|
1fe01f3e61
|
increment framesSinceCutoffEvent in mixers to enable recovery
|
2014-03-25 12:16:07 -07:00 |
|
Stephen Birarda
|
ff788a340b
|
add stat for average billboard and identity packets per frame
|
2014-03-25 11:38:00 -07:00 |
|
Stephen Birarda
|
786d9ce404
|
force sending of identity and billboard packets changed in last frame
|
2014-03-25 10:56:06 -07:00 |
|
Stephen Birarda
|
e6b83ac52d
|
send mesh and billboard on receiver's first connect
|
2014-03-25 10:34:38 -07:00 |
|
Stephen Birarda
|
e8b9594758
|
spread out billboard and identity fallbacks
|
2014-03-25 09:39:43 -07:00 |
|
Stephen Birarda
|
ce214bc439
|
use the performance tuning ratio in avatar mixer to send less
|
2014-03-24 16:48:23 -07:00 |
|
Stephen Birarda
|
b01b2a3311
|
use explicit float casts where appropriate
|
2014-03-24 16:35:36 -07:00 |
|
Stephen Birarda
|
ba338cb7bc
|
at minimum send packet rate stats for ThreadedAssignment subclasses
|
2014-03-24 16:06:25 -07:00 |
|
Stephen Birarda
|
3db8386743
|
suppress trailing sleep ratio debug
|
2014-03-24 15:46:02 -07:00 |
|
Stephen Birarda
|
e7f9acd945
|
add trailing sleep and performance throttling logic to AvatarMixer
|
2014-03-24 15:42:57 -07:00 |
|
Stephen Birarda
|
638e9eae48
|
add some basic stat collection to avatar-mixer
|
2014-03-24 15:38:01 -07:00 |
|
Stephen Birarda
|
8dbe4dfdde
|
collect packet rate stats in NodeList
|
2014-03-24 15:06:53 -07:00 |
|
Stephen Birarda
|
40fa4bfbd2
|
fix octree server HTTPRequestHandler for url handling
|
2014-03-24 14:15:38 -07:00 |
|
Stephen Birarda
|
f8279c1f5b
|
handle query params in HTTPManager, display stats table from DS
|
2014-03-24 14:14:26 -07:00 |
|
Stephen Birarda
|
1fffda674a
|
send extra stats from audio-mixer to domain-server
|
2014-03-24 13:14:22 -07:00 |
|
Stephen Birarda
|
5f93e44ff7
|
abstract stats packet sending to NodeList
|
2014-03-24 12:33:00 -07:00 |
|
Stephen Birarda
|
8f403609e7
|
hook JSON stats sending from domain-server
|
2014-03-24 11:56:16 -07:00 |
|
Stephen Birarda
|
c0da215a60
|
correctly output trailing sleep time
|
2014-03-24 10:39:10 -07:00 |
|
Stephen Birarda
|
d0fbf4953a
|
change back off strategy, output trailing sleep
|
2014-03-24 10:27:46 -07:00 |
|
Stephen Birarda
|
5567d9acb9
|
change audio-mixer struggle behaviour
|
2014-03-24 09:24:13 -07:00 |
|
ZappoMan
|
d63acfc46f
|
revert
|
2014-03-23 18:12:02 -07:00 |
|
ZappoMan
|
d962387c75
|
revert
|
2014-03-23 18:11:40 -07:00 |
|
ZappoMan
|
9c7ffffbae
|
fix some windows issues
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
|
2014-03-23 18:10:22 -07:00 |
|
Stephen Birarda
|
c5b0288c12
|
remove numClientsMixedInFrame since it is no longer used
|
2014-03-21 18:49:46 -07:00 |
|
Stephen Birarda
|
af4fb26031
|
floats are important
|
2014-03-21 18:44:59 -07:00 |
|
Stephen Birarda
|
abd6c8a747
|
fix trailing average on ring buffer, remove unused constant
|
2014-03-21 18:28:12 -07:00 |
|
Stephen Birarda
|
88348b12d2
|
fix a divide by zero and output number of clients mixed in last frame
|
2014-03-21 18:16:47 -07:00 |
|
Stephen Birarda
|
42de3047ab
|
Merge pull request #2442 from birarda/master
change delta to 2%, don't hit 1 for cutoff
|
2014-03-21 17:17:47 -07:00 |
|
Stephen Birarda
|
88b91b9eb7
|
change an int to a float
|
2014-03-21 17:17:11 -07:00 |
|
Stephen Birarda
|
8ecd9aa0c0
|
change audibility delta to 2%, don't hit 1.0
|
2014-03-21 17:16:54 -07:00 |
|
Stephen Birarda
|
e3b65f4949
|
Merge pull request #2441 from birarda/master
linear change to audability ratio
|
2014-03-21 16:48:01 -07:00 |
|
Stephen Birarda
|
34f9075980
|
use a linear change to audability ratio
|
2014-03-21 16:47:41 -07:00 |
|
Stephen Birarda
|
949aefac62
|
Merge pull request #2439 from birarda/master
check for an audio cutoff change only every TRAILING_AVERAGE_FRAMES
|
2014-03-21 16:21:26 -07:00 |
|
Stephen Birarda
|
dc2d050187
|
remove sleep time debug now that the audio-mixer reports struggle
|
2014-03-21 15:47:21 -07:00 |
|
ZappoMan
|
438e5bd235
|
fix crash on domain restart in Agent, also have Agent properly shutdown on call to Script.stop()
|
2014-03-21 15:46:06 -07:00 |
|
Stephen Birarda
|
50007d7f4b
|
fix a debug message for audability threshold
|
2014-03-21 15:43:39 -07:00 |
|
Stephen Birarda
|
75bc640104
|
fix some indentation is audio mixer cutoff code
|
2014-03-21 15:42:58 -07:00 |
|
Stephen Birarda
|
4661553acb
|
check for cutoff change only every TRAILING_AVERAGE_FRAMES
|
2014-03-21 15:40:08 -07:00 |
|
Stephen Birarda
|
4bde0e6844
|
Merge pull request #2436 from ZappoMan/vscrashfix
fixes to voxel server crashes on client shutdown
|
2014-03-21 15:24:45 -07:00 |
|
Stephen Birarda
|
c99f5a4ae6
|
int to float conversion in the constructor
|
2014-03-21 14:38:01 -07:00 |
|
Stephen Birarda
|
98f014d13d
|
add another check to avoid any mixing for a silent frame
|
2014-03-21 14:37:31 -07:00 |
|
Stephen Birarda
|
3d9aa6cc9f
|
fix a spelling mistake and convert some ints to floats
|
2014-03-21 14:36:44 -07:00 |
|
Stephen Birarda
|
18e5637976
|
remove some extra spaces
|
2014-03-21 14:33:11 -07:00 |
|
Stephen Birarda
|
2575b33662
|
reinstate a cutoff when the audio-mixer is struggling
|
2014-03-21 14:29:57 -07:00 |
|
ZappoMan
|
3cb3cb81c4
|
fixes to voxel server crashes on client shutdown
|
2014-03-21 14:15:02 -07:00 |
|
Stephen Birarda
|
c1cbc79807
|
move debug for no reply domain checkins to ThreadedAssignment
|
2014-03-21 10:26:09 -07:00 |
|
Stephen Birarda
|
0105029d9c
|
output number of no reply domain checkins when finished
|
2014-03-21 10:10:25 -07:00 |
|
Stephen Birarda
|
24e9446814
|
remove mixer cutoff strategy for testing
|
2014-03-21 09:52:07 -07:00 |
|
Stephen Birarda
|
5ae63c5b0f
|
use a trailing average for sleep time, move loudness to RB
|
2014-03-20 17:10:24 -07:00 |
|
Stephen Birarda
|
5515141792
|
use a trailing average for _nextOutputLoudness
|
2014-03-20 16:50:20 -07:00 |
|
Stephen Birarda
|
7f96c71793
|
actually require minRequiredLoudness for a stream to be mixed in
|
2014-03-20 16:17:09 -07:00 |
|
Philip Rosedale
|
a30af08062
|
Merge pull request #2407 from ZappoMan/voxel_server_crash_fixes
fix voxel server crash/pure virtual call on shutdown of client
|
2014-03-20 15:33:59 -07:00 |
|