Commit Graph
92 Commits
Author SHA1 Message Date
Mike Brady 139c18bf3e Add avahi code to look for the rmeote control information for the client and get the port number from it. 2017-10-05 17:39:32 +01:00
Mike Brady 3001f39bc5 3.1.2 pretty-print using clang-format 2017-09-07 12:02:00 +01:00
Mike Brady 965d9f63b1 Quieten some debug messages. 2017-08-27 17:01:18 +01:00
Mike Brady d3148eb464 Improve handling of player lock and simplify handling of loss of connection and improve some debug messages 2017-08-27 12:43:42 +01:00
Mike Brady 15ba732458 Change behaviour when TEARDOWN is received -- don't close down the RTSP conversation, but wait for it to be closed. Add more debug messages. 2017-08-25 10:33:17 +01:00
Mike Brady ee8629be2b Add more thread numbers 2017-08-23 12:45:57 +01:00
Mike Brady abd342553a Add index numbers for each RTSP conversation thread, to help figure debug messages out better. 2017-08-21 18:08:41 +02:00
Mike Brady e513e5330c Tidy up source using clang-format 2017-07-31 11:57:57 +02:00
Mike Brady 555c0c738b Fix off-by-one error in enumatering UDP ports in the port_range. Make the error message a little more useful. 2017-04-16 17:09:59 +01:00
Mike Brady 9a8a0f0764 Make this threadsafe and modify the clock drift diagnostics 2017-04-07 18:37:44 +01:00
Mike Brady 672c84c728 Make rtp stuff thread-safe -- remove all globals 2017-03-16 15:47:07 +00:00
Mike Brady 04cb1d0998 deglobalise sockets and reference timestamp 2017-03-16 15:29:16 +00:00
Mike Brady 9efeefdda7 deglobalise self_scope_id for ipv6 2017-03-16 15:09:03 +00:00
Mike Brady 4fdc9d70eb deglobalise client_ip_string and self_ip_string 2017-03-16 15:05:55 +00:00
Mike Brady f3d85bc71a Deglobalise rtp_running, make rtp timing sender use the conn data strucutre 2017-03-16 15:01:08 +00:00
Mike Brady e4d5570eee Add rtp init and terminate, mirror all globals in the conn data structure 2017-03-16 13:19:38 +00:00
Mike Brady 728d3d4956 add conn to many procedure calls 2017-03-16 12:33:56 +00:00
Mike Brady 755e95904c De globalise everything except ab_read and ab_write and the volume control stuff 2017-03-10 17:44:50 +00:00
Mike Brady 05305e1581 De-globalise input_bytes_per_frame,output_bytes_per_frame,output_sample_ratio,max_frame_size_change,decoder_info,shutdown_requested,connection_state_to_output,player_thread_please_stop 2017-03-09 16:10:39 +00:00
Mike Brady 7d672bcf56 Untested, probably not working 2017-03-07 22:42:23 +00:00
Mike Brady 9e43f8a7d6 Move to version 3.0 2017-02-24 21:39:02 +00:00
Mike BradyandGitHub 71e7dc0e93 Fix small bug
Thanks to @jief666 for the fix.
2017-01-21 17:30:11 +00:00
Jief 21025440af clock_drift could be left uninitialized.
clock_drift redeclared instead of initialized with "uint64_t clock_drift
= 0".
I think this is the correction.
2016-11-11 19:16:47 +01:00
Jief cf56dc3707 Using Macro instead of LL to make it portable. 2016-11-02 14:58:02 +01:00
Jief d6f1b35748 constant 0x100000000 should be 0x100000000LL to avoid warning 2016-11-01 13:52:38 +01:00
Mike Brady 064bd293c5 Tidy up with a clang-format 2016-09-11 10:35:53 +01:00
Mike Brady ef851a927b Enable 64-bit monotonic rtptime calculations 2016-09-02 16:53:52 +01:00
Edward Barnard f2c784c74d Ensure scope_id is set correctly for ipv6 timing and control sockets 2016-07-09 18:38:36 +02:00
Mike Brady 284dfb94bf Add scope_id to information used to bind an outgoing IPv6 port. Makes it work with link-local addresses. 2016-05-13 16:32:13 +00:00
Mike Brady 76724fd06d Fix omitted line.
Thanks to https://github.com/ejurgensen
2016-05-02 21:46:08 +01:00
Mike Brady bbff2d1efb Get IPv6 working properly 2016-05-02 13:58:17 +01:00
Mike Brady 1fd794af71 tidy up diagnostic messages 2016-05-02 09:45:44 +01:00
Mike Brady 5028cd1f9f Add information about local ip address so we can send back connections to the client from the same ip number it used to contact us 2016-05-01 22:37:57 +01:00
Mike Brady a7682415f1 Comment out the use of the delay() function, and update is to the new signature anyway. 2016-03-29 16:08:15 +00:00
Mike Brady 1dde99daff demote debug info about network 2016-03-27 16:32:24 +00:00
Mike Brady 1805fdb867 Get packet stats at debug level 1 2016-03-26 22:26:52 +00:00
Mike Brady b608655c71 Add comment that get_reference_timestamp_stuff is okay type-wise 2016-03-26 21:42:14 +00:00
Mike Brady 95f1689858 Quieten an out-of-sequence message 2016-02-29 15:15:55 +00:00
Mike Brady c235dc3031 Add debug message calculating packet arrival and disperal times 2016-02-29 15:06:38 +00:00
Mike Brady c2949b0ff5 Add proper data structure for passing parameters between threads. Add some debug messages. 2016-02-02 09:08:19 +00:00
Mike Brady 45061e993e Turn on extra debugging 2016-01-24 13:36:16 +00:00
Mke Brady 28198c6984 Quieten some debug messages. 2016-01-23 17:58:03 +00:00
Mike Brady 21fb39d22f Begin to clean up the 'stop' signalling among the threads -- try to remove as many globals as possible 2016-01-22 17:47:25 +00:00
Mike Brady 8eed253c98 Comment out the IPv6 public stuff -- OpenWrt doesnt like it 2015-12-30 19:33:56 +00:00
Mike Brady b8b5b7fa1e Restore ability to compile in FreeBSD 2015-12-28 20:38:51 +00:00
Mike Brady 4d73fa23b3 Prefer to use a public ipv6 number where privacy extensions are enabled 2015-12-28 15:18:09 +00:00
Mke Brady de6fee22d7 Fix typo which could have become a bug 2015-11-29 09:18:18 +00:00
Mike Brady 2a6071e9ce Fix a misspelling and quieten a debug message. 2015-10-17 11:11:57 +01:00
Mke Brady 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mike Brady 8776f84e86 Initial debug and exploratory code 2015-09-25 16:47:58 +01:00