add init and deinit generic function for the peer structure
They are defined as global variable initialized as:peer_deinit = peer_deinit_data;peer_init = peer_init_data;
Refactor peer structure
peer.h now exports two metadata pointers to upper layers, one forgossiping data and the other for ancillary, user-defined data.
Remove static sender nodeID from signalling module
This allows sending signalling traffic from different originators (nodeIDs)
remove static global sending nodeID variable from signaling module
remove cb_size and capacity attribute from peer structadd a void pointer to metadata
general bug fixings
- add destroy function to peersamplers, so to avoid memory leaks in case of multiple instances- fix initialization bug in the chunk_buffer constructor- fix peerset_clear reallocation for the case size is set to 0 (destruction)
add RTP refactoring removing strict dependency from PJLIB
Fix build on OS/X
Fix some warnings
Merge branch 'baldesi-next'
Conflicts: src/Chunkiser/Makefile src/Chunkiser/input-stream-avf.c src/Chunkiser/input-stream.c src/Chunkiser/output-stream-avf.c src/Chunkiser/output-stream-play.c src/Makefile src/PeerSampler/ncast.c
Merge branch 'baldesi'
Conflicts: include/peer.h src/Cache/topo_proto.c src/Cache/topocache.c src/Cache/topocache.h src/ChunkTrading/chunk_delivery.c src/Chunkiser/Makefile src/Chunkiser/input-stream-avf.c src/Chunkiser/libav-compat.h src/Chunkiser/output-stream-avf.c...
refactor rtp module code
Merge RTP (de)chunkiser module in the development branch
fix warning alert on peerset_for_eachfix peers comparison crash bugfix nodeid comparison crash bug
fix node_ip bug in the net_helper
this bug will affect nodeids with invalid AF family
fix compilation warning and suppress fprintf
export configuration structure files.
configuration tool has changed its name into grapes_config and it's now available as a public interface of the GRAPES library
add peerset destroy and for each peerset functions
Added the rtp_log logging option for the chunkiser
add peerset_push and peerset_pop function
fix wild pointer bug
minor changes to the Chunkiser Makefile
add RTP [de]chunkiser
Tidying up before upstream merge
Small Makefile modifications [in PJproject compilation]
fix comparison bug. Modify nodeid_cmp in a way to obtain an absolute order
interface refactoring introducing const
fix nodeid compare function bug
Fixed compilation issue when PJPROJECT is not available
Fixes in the RTP chunkiser
Close-to-definitive Makefiles for RTP Chunkiser
RTP support added to RTP chunkiser via PJSIP
First tests with pjlib
RTP chunkiser: fixes for importing RTP library
RTP chuinkiser small fixes
RTP basic multiplexing chunkiser and dechunkiser implemented and working.
Still missing RTP support
RTP basic chunkiser (only multiplexing) implemented and roughly tested.
Next steps: dechunkiser, then smart chunkiser
Little fix in test Makefile. More generic fix required.
It seems to me the problem I have found with the chunkiser test is common to all the others: a more general fix is probably required
Working structure for RTP input chunkiser support.
At this stage everything compiles, but the RTP chunkiser is an exact copy of the UDP one.
Minor fix to return a default IPv4 or IPv6 loopback address
remove obsolet inet_aton
Minor fix in Tests
Introducing inet_test file to test inet functions
Minor fix adding include
Minor fix for error check
Introducing IPv6 support for Windows.Adding inet_pton and inet_ntop functions
Cleaning code net_helper
Adding IPv6 to chunk_sending_test
Introducing IPv6 support in Tests
Portable IPv4-IPv6 code
Fix a "res set but not used" warning
The "res" variable is actually not used in this case (it would indicateif the default value has been used, but such an information is notinteresting in this particular situation)
Merge branch 'fixes'
Merge commit 'dabdae6c7d016fbcec8559dbca5f9227998e10ec'
Merge commit '729826c9111d2d1d4fa735ed99d34e2780c9df7b'
Merge remote-tracking branch 'abeni/master' into next
Merge commit '729826c9111d2d1d4fa735ed99d34e2780c9df7b' into next
chunk: header size is used externally for malloc, declare in .h
chunk_encoding: use define for position of the data field
chunkiser: rename UDP_CHUNK to UDP_PAYLOAD
Fix audio-only streams in the chunkiser test
Merge branch 'net_helper-ml' into next
net_helper-ml never really belonged here.
adding gitignore file to Tests folder
Revert "Remove static structures"
This reverts commit 09f6f5efef02c55ec685eed7d5c723df431eeb1f.
fixed input default to a/v
Merge remote branch 'cskiraly/next'
Merge remote branch 'origin/next'
Merge remote-tracking branch 'origin/new_nethelper'
chunkiser: changing default media in avf chunkiser to audio/video from video only
earlier this was set to video to simplify experiments
Move shared objects in their own directory
Switch to new libav crap
Resistence is futile.
NOTE: the compatibility layer is currently disabled, and needs to be re-enabledto have compatibility with the good old API
Even more correct cloudcast dependencies
refactor cloudcast dependencies
Remove includes from header files
This makes the dependencies explicit, and should help in fixing the currentdependency mess.
Fix crash in case of failure of the h264_mp4toannexb filter
Merge remote branch 'abeni/multiframe' into next
0 is not a pointer, NULL is
Move win32 stuff to its own file
Remove static structures
Add an include file needed by win32 non-standard headers
Merge remote-tracking branch 'csaba/net-helper'
net_helper-udp: replace inet_ntop in case of Win32 with inet_ntoa
net_helper-udp: remove code duplicates from node_addr, node_ip, node_port
I never seen malloc actually returning NULL, however better safe thansorry :-)
net_helper: add win32 compatibility code
changing net_helper to use a more complex header
3 byte header allows for more controls on incoming packets
Initial handling of sendmsg failed errors
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/WinestreamerHRC@2568 c54fac2e-1815-407e-9b96-088d06743913
Fix another stupid syntax error
Really fix the win32 build
Merge branch 'multiframe'
Remove useless includes
Do not use socket funcions on files
output-avf: fix decoding of multi-frame chunks
order of headers was wrong, e.g. a 3 frame chunkwas Hhhhfff instead of Hhfhfhf
input-avf: fix vframes/aframes parameter initialization
input-avf: implement multi-frame chunks