Commit Graph

3815 Commits

Author SHA1 Message Date
Trek H a3c7cb5616 revid: added chunkSize to audioInput and bufferSize to lex functions
The audio lexers need to know how much data they will be receiving unlike video which has a fixed buffer size.
This means that all the lex function will need to be given a buffer size since they are used as a function pointer with the same signature.
2019-05-05 17:56:14 +09:30
Saxon c9aa43394b protocol/rtp/client.go: got rid of useless continue in recv dst write if error encountered 2019-05-03 20:04:06 +09:30
Saxon 2f039e0c4b protoocl/rtp: removed comment for 'misc constants' 2019-05-03 20:02:29 +09:30
Saxon 9b3523607b protocol/rtcp: added todo comment to jitter() 2019-05-03 20:00:18 +09:30
Saxon 7fe5e74123 protocol/rtcp/client.go: added comment for Err() regarding usage. 2019-05-03 19:58:50 +09:30
Saxon 314a8dab9a codec: updated commenting and file header descriptions for files in h265 and mjpeg packages 2019-05-03 19:52:23 +09:30
Saxon 2f733cc468 codec: added codecutils/bytescan package 2019-05-03 19:36:34 +09:30
Saxon a94e698c6b protocol/rtp: fixed a bug in rtp.Marker 2019-05-02 00:51:58 +09:30
Saxon 85ece7d1ed codec/h265: using bytes.Buffer instead of custom solution 2019-05-02 00:48:57 +09:30
Saxon 659be05a1f codec/h264: using table based testing, and now also testing for when DON is being used. 2019-05-02 00:15:24 +09:30
Trek H ef9a38cb76 adpcm: length check before initialization 2019-05-02 00:02:33 +09:30
Trek H d06388cfe9 adpcm: added overflow checks, improved initialization, naming 2019-05-01 23:53:08 +09:30
Saxon a11b5b4857 codec/h265: fixed lex_test.go file header 2019-05-01 23:20:25 +09:30
Saxon 80ed0d2e1c codec/h265: made test data more compact. 2019-05-01 23:19:16 +09:30
Saxon c15894dc12 codec/h265: completed lex_test.go and fixed bugs in lex.go 2019-05-01 16:45:22 +09:30
Saxon 80a7d41d8a protocol/rtp: removed op from Client i.e. what is read from Client are RTP packets. 2019-05-01 14:15:39 +09:30
Saxon 90995dff6a codec/h265: removed h265_test.go 2019-05-01 13:45:32 +09:30
Saxon 90533d08f4 codec/h265: added lex_test.go 2019-05-01 13:45:08 +09:30
Saxon e823ebca48 protocol/rtsp: using strings.Prefix in ReadResponse to check that protocol is correct 2019-04-30 21:43:04 +09:30
Saxon a025d55d81 protocol/rtsp: using Fprintf with strings.Builder in Request.String() and Response.String() 2019-04-30 21:41:46 +09:30
Saxon 960d0b4477 protocol/rtsp/cmd/record: using select rather than for loop to wait at end of record program 2019-04-30 21:37:06 +09:30
Saxon 6a9d2755d1 protocol/rtsp: don't need to wrap conn in bufio.Reader() 2019-04-30 21:36:06 +09:30
Saxon a4da3dab15 protocol/rtsp/client.go: using u instead of url from url.Parse in Client.Setup() 2019-04-30 21:33:35 +09:30
Saxon 8196df52d7 protocol/rtsp: added newline after file headers 2019-04-30 21:32:05 +09:30
Saxon 2da0a7d39a codec/h265: implemented handleFragmentation 2019-04-30 18:08:41 +09:30
Saxon 299b13b691 codec/h265: started writing lexer
Started writing lexer for h265. Wrote type Lexer as we required a data struct we can initialize before starting the lexing process, with for example, information regarding the presense of DONL and
DOND. Wrote handler for aggregation packet. Still need to do fragmentation packet.
2019-04-30 16:38:23 +09:30
Saxon d358f70585 protocol/rtp: made client_test.go more robust 2019-04-30 09:39:41 +09:30
Saxon 6694cab956 protocol/rtp: commented Client.Err() 2019-04-30 02:38:38 +09:30
Saxon 49a401681d protocol/rtp: Client.ErrChan => Client.err and wrote accessor function Client.Err() to access this chan as only receive 2019-04-30 02:37:18 +09:30
Saxon 944fe00e5d protocol/rtsp: commented TestReadResponse 2019-04-30 02:32:24 +09:30
Saxon f197acc50a protocol/rtsp: fixed conflicts in go.mod and go.sum 2019-04-30 02:30:12 +09:30
Saxon 401376c059 protocol/rtsp: expected CSeq key is just Cseq now to match ReadResponse result. 2019-04-30 02:19:34 +09:30
Saxon c552238da5 protocol/rtsp: added some commenting to TestReadResponse and required helper function 2019-04-29 20:18:07 +09:30
Saxon 86bf4cdb90 protocol/rtsp: TestReadResponse now working 2019-04-29 19:28:18 +09:30
Saxon d2b76fab36 protocol/rtsp: wrote test ReadResponse, but work in progress 2019-04-29 18:21:59 +09:30
Saxon 449869a4ac av: updating go mod stuff 2019-04-29 16:05:32 +09:30
Saxon 0a27395aea protocol/rtsp: doing length check in same if but before RTSP protocol check 2019-04-29 13:35:58 +09:30
Saxon 64f6a3d814 protocol/rtsp: used utter/dump to get ASCII text as well 2019-04-29 13:34:09 +09:30
Saxon eac5652f1b protocol/rtsp: in ReadResponse response length check comes before protocol check 2019-04-29 13:19:32 +09:30
Saxon ba7e768269 protocol/rtsp/cmd/record: sess => clt in record 2019-04-29 13:16:15 +09:30
Saxon dd58851e6c protocol/rtsp: added todo to test client connect retry regarding use of generalised retry utility when available. 2019-04-29 13:13:12 +09:30
Saxon a783b2052e protocol/rtsp: for test, read buf size is now const called max reequest size 2019-04-29 13:11:27 +09:30
Saxon 66bc6bbe33 protocol/rtsp: only giving Sscanf s[5:] and then checking number of decimals read as well as error 2019-04-29 13:08:05 +09:30
Saxon 77e5d234de protocol/rtsp: doing RTSP and response length check in same if 2019-04-29 13:03:39 +09:30
Saxon ba5a0d898c protocol/rtsp: removed status 2019-04-29 13:01:17 +09:30
Saxon 6605ee7295 protocol/rtsp: general naming clean up 2019-04-29 12:39:58 +09:30
Saxon d91995a1cf protocol/rtsp: using bufio.Scanner 2019-04-28 14:04:45 +09:30
Saxon d7c2421146 protocol/rtsp: fixed sscanf in ReadResponse 2019-04-28 13:51:25 +09:30
Saxon fa7c3044f3 protocol/rtsp: simplified ReadResponse further by using only one sscanf 2019-04-28 13:23:35 +09:30
Saxon 9abcfb138b protocol/rtsp: checking error from scans 2019-04-28 12:27:54 +09:30