Commit Graph

2641 Commits

Author SHA1 Message Date
Saxon 32621f0cfe av: fixed build errors 2019-04-26 20:46:43 +09:30
Saxon b42e7f9b13 codec: created h264 and mjpeg packages to house lexers 2019-04-26 20:31:12 +09:30
Trek H c089980175 adpcm: added function for calculating number of adpcm bytes output per given pcm bytes 2019-04-26 20:28:53 +09:30
Trek H a9b1891bbb adpcm: fixed merge error 2019-04-26 20:02:38 +09:30
Trek H 2fd8d8de1b Merge branch 'adpcm-nonblock' of https://bitbucket.org/ausocean/av into adpcm-nonblock 2019-04-26 20:01:48 +09:30
Trek H e55cc27a55 adpcm: changed adpcm to not have blocks of fixed size 2019-04-26 19:58:30 +09:30
Saxon 77094acc67 protocol/rtsp: Client.session => Client.sessionID 2019-04-26 19:53:08 +09:30
Saxon f2b941394b protocol/rtsp: fixed read response bug 2019-04-26 19:51:00 +09:30
Trek H d136d13e38 adpcm: modified the adpcm encoding and decoding to not use blocks 2019-04-26 19:49:05 +09:30
Saxon 999eab21ab protocol/rtsp: cleaned up ReadResponse 2019-04-26 19:46:03 +09:30
Saxon 3e17016390 protocol/rtsp: updated licensing 2019-04-26 16:01:57 +09:30
Saxon f0a1a866dd protocol/rtsp: removed writeRequest receiver method 2019-04-26 15:09:59 +09:30
Saxon 4998d8d4d6 protocol/rtsp/cmd/stream: using NewClient rather than NewSession 2019-04-26 14:35:25 +09:30
Saxon 14cb6f7f07 protocol/rtsp: reflect go net.http package patterns
Request now has a Write receiver method that will write to the passed io.Writer. Client now has Do method that will send the request and return the respons and any errors. Also Renamed the Client
field to Session, which was mistakenly changed.
2019-04-26 14:20:58 +09:30
Saxon 4e98b4d2ea protocol/rtsp: renamed urlStr to addr 2019-04-26 14:08:58 +09:30
Saxon cd18d9f5a7 protocol/rtsp: removed Client field from client struct as not useful 2019-04-26 14:07:29 +09:30
Saxon a0fb299b06 protocol/rtsp: moved client functionality into client.go file 2019-04-26 13:57:18 +09:30
Alan Noble 149a2fa6b9 Fix package-level doc comment. 2019-04-26 00:36:23 +00:00
Saxon b42278cfde revid: improved comment for Config() 2019-04-25 15:44:34 +09:30
Saxon 9169afe34f protocol/rtsp: general clean up 2019-04-25 15:30:28 +09:30
Saxon f3f3be5fc6 protocol/rtsp: completed test for rtsp
Completed test to check that each method we support works and can produce valid requests. The requests are compared to requests that have been proven valid. This test also checks that the RTSP
client communicates over tcp correctly. i.e. we have set up a client and server, and we check that this communication happens correctly.
2019-04-25 14:46:21 +09:30
Alan Noble a365424f5a Updated description and copyright. 2019-04-25 01:26:50 +00:00
Alan Noble 0331bc49c7 Added contributors. 2019-04-25 00:54:27 +00:00
Saxon 3ab0be4a7a revid: fixed typos in revid_test.go 2019-04-24 13:01:29 +09:30
Saxon 74379ea047 revid: simplified comments for Start, Stop and Update. 2019-04-24 13:00:20 +09:30
Saxon 1b06dae078 container/mts: not taking address of nopCloser 2019-04-24 12:57:04 +09:30
Saxon adbb9d1c99 protocol/rtsp: added testing file and wrote some signature for possible tests 2019-04-23 17:27:37 +09:30
Saxon e00c959a84 protocol/rtcp: renamed NTPTimestamp to Timestamp
Renamed NTPTimestamp and referenced specifications rather than quoting. Renamed Timestamp func to ParseTimestamp.
2019-04-23 16:40:26 +09:30
Saxon a256dc9133 protocol/rtsp: made rtsp/cmd/stream functional 2019-04-23 16:22:58 +09:30
Saxon 34c59c95d6 protocol/rtsp: working on main.go in rtsp/cmd/stream
Added file header to main.go, and modified rtsp.go to work with cmd/stream/main.go. This change modifies writeRequest, which now takes a *url.URL. This means the Setup() method can parse a new
URL that contains a given track, and then give this to writeRequest.
2019-04-23 15:49:54 +09:30
Saxon d03ae3ff7e protocol/rtsp: fixed rtsp.go file header indentation 2019-04-23 15:33:07 +09:30
Saxon 63da7dbb59 protocol/rtcp: removed unecessary logging in test files 2019-04-23 14:45:16 +09:30
Saxon 017abea667 protocol/rtcp: fixed indentation in file headers 2019-04-23 14:38:26 +09:30
Saxon 4c2962ba75 protocol/rtcp: renamed SourceDescription to Description 2019-04-23 14:33:27 +09:30
Saxon 889072bde0 protocol/rtcp: improve ReportBlock field names 2019-04-23 14:30:05 +09:30
Saxon 4068aea207 protocol/rtp: better comment for NTPTimestamp and renamed fields 2019-04-23 14:25:22 +09:30
Saxon b43f6f8072 protocol/rtcp: renamed highestSequence() to sequence. 2019-04-23 14:16:40 +09:30
Saxon 6b994d0dba protocol/rtcp: made Client error channel unexported
Renamed Client ErrChan field to err, i.e. made unexported. Wrote Err() accessor that allows user to only read from error channel.
2019-04-23 13:26:56 +09:30
Saxon e5f95d1ea0 revid: addressing PR feedback 2019-04-23 13:18:41 +09:30
Saxon 9ba72fac62 av: addressing PR feedback 2019-04-22 15:14:08 +09:30
Saxon a43ef56618 protocol/rtcp: addressing PR feedback 2019-04-22 00:34:03 +09:30
Saxon cbad00b6e6 av: fixed conflict 2019-04-21 23:58:59 +09:30
Saxon a0c324a813 protocol/rtp: simplified test
Simplified clien_test.go file by testing two different RTP packet operations using loop. We now first test no operation,
and then test a rtp.Payload operation, which gets the payload of the packets and stores them in the client ringbuffer for the
user of the client to read.
2019-04-21 23:07:30 +09:30
Saxon be76998c7d protocol/rtp: wrote TestReceiveNoOp
Wrote test TestReceiveNoOP to check that client works correctly when we give no operation to perform on RTP packets before
storing in the client ringBuffer, which calling io.Reader implementation Read will get packets form.
2019-04-21 22:40:08 +09:30
Saxon f454a34856 protocol/rtp: added client_test.go for client testing 2019-04-20 21:10:03 +09:30
Saxon 00db293b44 protocol/rtp: consts for chan and ringbuffer sizes 2019-04-20 21:05:34 +09:30
scruzin 81e3038b9b go.mod: use ausocean/utils v1.2.6 2019-04-20 18:19:25 +09:30
Saxon 190d546c58 protocol/rtp: commented file 2019-04-19 18:40:15 +09:30
Saxon b302eafa68 protocol/rtp: setting Client's op field in constructor 2019-04-19 18:22:43 +09:30
Saxon ccc08bfad1 protoocl/rtp: added client.go file
Added client.go which contains a struct to describe an RTP client. It provides a method, Start, which will
invoke a recv routine to start receiving packets and process them using an op function passed on the Client's
creation. Client implements io.Reader, so that the client may be read from.
2019-04-19 18:17:06 +09:30