1. 12 Nov, 2016 2 commits
  2. 06 Jul, 2016 1 commit
  3. 20 Mar, 2016 1 commit
    • Jörg Krause's avatar
      Fix musl build · 9692a213
      Jörg Krause authored
      Defining _GNU_SOURCE is required to get proper member names in `struct udphdr`
      when building against musl. Build error:
      
        util.c: In function 'RawFillHeaders':
        util.c:481:9: error: 'struct udphdr' has no member named 'source'
             udph->source = htons(portsrc);
                 ^
        util.c:482:9: error: 'struct udphdr' has no member named 'dest'
             udph->dest   = htons(portdst);
                 ^
        util.c:483:9: error: 'struct udphdr' has no member named 'len'
             udph->len    = htons(sizeof(struct udphdr) + len);
                 ^
        util.c:484:9: error: 'struct udphdr' has no member named 'check'
             udph->check  = 0;
      
      Including <sys/types.h> in needed for mode_t, otherwise musl build fails:
        util.h:91:1: error: unknown type name 'mode_t'
      Signed-off-by: 's avatarJörg Krause <joerg.krause@embedded.rocks>
      9692a213
  4. 17 Jul, 2015 2 commits
  5. 15 Jul, 2015 1 commit
  6. 18 Sep, 2014 1 commit
    • Christophe Massiot's avatar
      Use SO_BINDTODEVICE to bind to a specific interface. · 0564613d
      Christophe Massiot authored
      Under Linux, the socket will receive all packets for a given multicast
      address, from any interface, even if the interface address is specified.
      SO_BINDTODEVICE requires the CAP_NET_ADMIN capability.
      
      Patch courtesy of Benjamin Cohen bcohen AT openheadend DOT tv.
      0564613d
  7. 09 Aug, 2014 1 commit
  8. 16 Feb, 2014 1 commit
  9. 13 Jan, 2014 1 commit
  10. 30 Nov, 2013 1 commit
  11. 06 Mar, 2013 1 commit
  12. 05 Mar, 2013 1 commit
  13. 19 Oct, 2012 1 commit
  14. 19 Jan, 2012 1 commit
  15. 03 Jan, 2012 1 commit
  16. 28 Dec, 2011 1 commit
  17. 17 Nov, 2011 1 commit
  18. 15 Nov, 2011 1 commit
  19. 01 Sep, 2011 1 commit
    • Christophe Massiot's avatar
      * reordertp.c: Renamed desaggregartp to reordertp · 4df8003c
      Christophe Massiot authored
       * multicat.c, aggregartp.c, reordertp.c, util.c: Support for TCP sockets (/tcp)
       * aggregartp.c, reordertp.c: Support for packet retransmission over UDP or TCP
       * ALL: Use biTStream instead of util.h' parsing functions
       * aggregartp.c, reordertp.c: Remove limits on number of inputs/outputs
       * multicat.c: Fix segfault on non-existant aux file
       * reordertp.c: Packets with too much jitter are not taken into account for
         clock ("space packets")
       * reordertp.c: Add options to configure gap, jitter and clock recovery
         thresholds
       * ingests.c: Fix a major timestamping bug where first packets would be sent
         too fast, and the rest of the timestamps are off
       * util.c: Merge IPv4 and IPv6 functions
       * multicat.c, aggregartp.c, reordertp.c: Add an option to specify the RTP
         header size.
      4df8003c
  20. 14 Jul, 2011 1 commit
  21. 12 Jul, 2011 1 commit
    • Christophe Massiot's avatar
      Major overhaul to support a new input/output format: directories with · 7aa24e77
      Christophe Massiot authored
      round-robin recording of chunks with seemless transition.
      
       * util.c: New set of clock functions to access the real time clock;
       * util.c: Split OpenFile and OpenAuxFile into several helper functions;
       * util.c: New function LookupAuxFile to find a position in an aux file;
       * util.c: New set of functions for directory input/output;
       * util.h: Fix a bug in the RTP header size calculation;
       * offsets.c: Moved functionality to multicat (util.c); offsets is still
         supported with the same scope, but is deprecated;
       * ingests.c: Reflect util.c API changes;
       * multicat.c: Modular input/output init functions;
       * multicat.c: Use poll() so that signals and duration option (-d) be taken
         into account even in the absence of an input stream;
       * multicat.c: New functions for directory output;
       * multicat.c: New options -k (initial seek into file or dir, possibly
         negative for 'NOW - value'), -r (round-robin chunk size of directory
         input/output) and -f (output packets as fast as possible without
         sleeping).
      
      Typical usage for record:
      $ mkdir test
      $ multicat @239.255.255.255:5004 test &
      
      For playout with one-minute timeshift:
      $ multicat -k -$((27000000*60)) test 239.255.255.254:5004
      
      Please note that expiration is not performed by multicat.
      7aa24e77
  22. 20 Feb, 2011 1 commit
  23. 17 Feb, 2011 1 commit
  24. 20 Oct, 2010 1 commit
  25. 07 Jan, 2010 1 commit