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 |
|
Mike Brady
|
38a10e1490
|
Quieten some diagnostics and add a brief comment about the diagrnosticsi nthe timing code in rtp.c
|
2015-07-10 15:15:00 +00:00 |
|
Mike Brady
|
8a7647bdc3
|
Add timing request turnaround time to diagnostics
|
2015-07-02 19:37:27 +01:00 |
|
Mike Brady
|
0c5584cbef
|
Correct the calculation of source DAV drift
|
2015-07-01 10:22:26 +00:00 |
|
Mike Brady
|
fcec637340
|
Add buffer size to diagnostics
|
2015-06-29 18:25:39 +00:00 |
|
Mike Brady
|
513cc31c76
|
Invert sense of clock drift figure. A positive number now means the source clock (i.e. the remote clock) is running faster than the local clock.
|
2015-06-29 09:11:59 +00:00 |
|
Mike Brady
|
a61e6d319e
|
Use smoothed time differences
|
2015-06-28 19:54:42 +01:00 |
|
Mike Brady
|
fb5c4f3012
|
Better calculation of f drift between the two clocks
|
2015-06-28 19:44:24 +01:00 |
|
Mike Brady
|
841014277e
|
Add check of drift in the source material -- i,e, divergence between calculated and actual remote clocks for frames.
|
2015-06-26 15:11:21 +01:00 |
|
Mike Brady
|
300b4abe6f
|
Add ability to output clock drift and corrections applied, both in microseconds.
|
2015-06-25 14:23:21 +00:00 |
|
Mike Brady
|
830c190231
|
Modify the output of drift to parts per million, thanks to joerg-krause.
|
2015-06-25 10:59:26 +00:00 |
|