Commit Graph

22 Commits

Author SHA1 Message Date
niels
c31f40fcdf fix many compile warnings 2014-12-21 17:05:25 +01:00
niels
a73ff71780 fix possible segfault in yuv encoders -
added lzo self test if compiled with STRICT_CHECKING -
align lzo work buffer -
fix offsets for lzo headers -
added scaler to network receiver (tcp/unicast) -
added utility function to libvevo to set string arrays
refactored low level network send/receive message (vims) -
changed vj_client_read_i -
fallback to sending raw frames if compression fails (tcp/unicast) -
added VEEJAY_SERVER_RECEIVE_BUFFER_SIZE to customize raw send and recv window sizes -
fixed possible queue overload (vims) -
increased maximum message in vims queue (768) -
handle EAGAIN in server net i/o  -
added message on CAPS-LOCK modifier space bar -
refactored sending (un)compressed video frames -
2013-05-17 00:04:28 +02:00
niels
1a641da8db drop debug message
fix no-send bug when compiled with -DSTRICT_CHECKING
2011-09-11 21:28:38 +02:00
niels
846bfa1d40 merge new vj-client
added threadsafe gethostbyname
fix bug in reloaded set keyframes
drop vj_client_send_buf* functions
drop vj_client_setup_timeout
keep thread local buffer to store incoming frame (unicast stream)
recover gracefully when lock or unlock fails (unicast stream)
adapt poll frequency to find acceptable delay times
recover gracefully from network errors
retry to create connection when it fails while playing
destroy thread when locking functions fail
simpler get_frame for tag
dropped multicast stream for now
fix veejay_strncpy, null terminate string
drop use of bzero, use memset instead
rewrite part of cmd, socket peer-to-peer
rewrite VIMS verify message
rewrite VIMS parsing message
2011-09-11 00:48:18 +02:00
niels
4881749568 fix connection re-use in stream type unicast 2011-09-10 00:27:37 +02:00
niels
3751c864a8 use MSG_NOSIGNAL flag to send() to prevent SIGPIPE signal
fixed all network problems
2011-09-09 22:39:01 +02:00
niels
27d76d713b reloaded:
on invalid status message, restart reloaded

veejay:
stream 'unicast': moved all net io into thread
validation to libvjnet, assigns invalid fd after close
fix possible segfault
fix accidental closing of connections
clear fd after new connection. read in next step
fix track listing event (causes hang in reloaded)
fix bundles event (causes hang in reloaded)
removed debug lines from previous run
2011-09-09 00:00:23 +02:00
niels
ffe28500b7 <pre>
reloaded:
added (temporary) row of buttons to auto-connect local running veejays in VIMS/Veejay tab (samplebank)

veejay:
delete some logging statements
fixes to peer-to-peer streaming (tcp/ip unicast)
negotiate format in peer-to-peer streaming
added stream type 'Splitter' (do not use yet)
major bugfixes to network handling code
killed bug that caused first client connecting to freeze
added lines to read network stream from LiVES (inactive)
major bugfix to shutdown
re-arrangment of veejay server startup (as late as possible)

plugins:
shm_id can be negative, fix lvd_shmin

</pre>
2011-09-06 23:36:44 +02:00
niels
bab8be059e added HOST_shmid for lvd_shmin (optional, old method still works)
added VIMS event to create new generator tag by .so name
added VIMS event to auto-connect to a shared resource
added VIMS event to create new splitter (dont use yet)
added VIMS event for enforce playback-modes for offline editing
 070:;  #enforce SAMPLE
 071;;  #enforce STREAM
 072:;  #reset behaviour to default

added splitter for loop/play recorder
added code for vj-share
added code for vj-splitter
2011-08-30 21:34:11 +02:00
niels
be5029a5c1 allow 8 connections to receive a frame in one step,
do not return error when select returns 0
start sending frames earlier
2011-08-05 21:13:30 +02:00
niels
8f43336b80 add net io logger (only enabled if compiled STRICT_CHECKING and env var VEEJAY_LOG_NET_IO="on" )
fixed corrupted header in tag type network for unicast/mcast
fixed segfault on listing v4l2 devices when there is none
2011-08-03 19:49:22 +02:00
Niels Elburg
076458d104 bugfixes
git-svn-id: svn://code.dyne.org/veejay/trunk@1402 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-28 17:56:38 +00:00
Niels Elburg
5156646bfc refactor libvjnet
git-svn-id: svn://code.dyne.org/veejay/trunk@1400 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-28 17:20:25 +00:00
Niels Elburg
6172b2c0b8 fix REG_RIP, fix preview locking veejay, fix jumping quick select
git-svn-id: svn://code.dyne.org/veejay/trunk@1393 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-22 21:09:46 +00:00
Niels Elburg
39389bc3e4 reverted non blocking send of large data blobs
git-svn-id: svn://code.dyne.org/veejay/trunk@1380 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-06 13:05:35 +00:00
Niels Elburg
c415a1b697 fixing bugs eeh
git-svn-id: svn://code.dyne.org/veejay/trunk@1376 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-05 21:22:32 +00:00
Niels Elburg
68950d6010 use timeout instead of wait. this hopefully resolves a freezing issue between server and client where client is pulling data and receiving nothing. this happens when veejay is sending so much output that the device queue overflows. timeout for read should be ideally 1.0/fps , however we use 1-2 seconds max for sending and resp. receiving.
git-svn-id: svn://code.dyne.org/veejay/trunk@1374 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-03 22:25:39 +00:00
Niels Elburg
b6268dc9fb fix floating point exception in raster fx, added timed-out receive to libvjnet. active when configured with --enable-strict
git-svn-id: svn://code.dyne.org/veejay/trunk@1372 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-02-03 18:28:45 +00:00
Niels Elburg
e6f03f0742 sync
git-svn-id: svn://code.dyne.org/veejay/trunk@1355 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2010-01-24 21:12:58 +00:00
Niels Elburg
18f4239eb3 track geo stat through veejayhq.net
git-svn-id: svn://code.dyne.org/veejay/trunk@1354 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2009-11-29 20:25:59 +00:00
Niels Elburg
b6ef249042 add geo stat
git-svn-id: svn://code.dyne.org/veejay/trunk@1252 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2008-12-11 18:12:29 +00:00
Niels Elburg
d8e6f98d53 Initial checkin of veejay 1.4
git-svn-id: svn://code.dyne.org/veejay/trunk@1172 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2008-11-10 20:16:24 +00:00