saxon
0f24e19a2a
revid: added pkg name to logging messages in revid.go and senders.go
2018-09-19 22:35:15 +09:30
saxon
5c94f556b4
revid: added pkg name to logging messages in config.go
2018-09-19 22:31:58 +09:30
saxon
5e186a7941
revid-cli: added package name to logging messages
2018-09-19 22:29:10 +09:30
saxon
4d58f45368
revid-cli: fixed grammatical error in comment
2018-09-19 22:20:48 +09:30
saxon
03f56dba2c
revid-cli: fixed conflict
2018-09-19 22:18:45 +09:30
saxon
534610f6b8
revid: removed revid_test.go
2018-09-19 22:15:00 +09:30
saxon
d17f7c87e9
revid: fixed raspivid args and logging
2018-09-19 22:02:50 +09:30
saxon
c4d0f2ccbc
revid-cli: simplified global var initialisation for configFlags
2018-09-15 12:31:20 +09:30
saxon
d697b4013d
revid: cleaned up key value pairs in config.go
2018-09-15 12:26:05 +09:30
saxon
b3a8f2bca3
revid: improved logging key value pairs in revid.go
2018-09-14 12:17:29 +09:30
saxon
852e714d13
revid-cli: added key value paris to log messages
2018-09-13 12:14:23 +09:30
saxon
bee7d82247
main: fixed profile.go conflict
2018-09-12 11:13:47 +09:30
saxon
9efc215089
main: made flags global so that handleFlags can access
2018-09-12 11:11:48 +09:30
saxon
b6ad8adc83
main: moved flag.Parse() into handlFlags func to clean things up
2018-09-12 11:00:04 +09:30
saxon
575edd62a2
main: fixed errors with logging int revid-cli's main.go
2018-09-12 10:57:56 +09:30
saxon
043ff7779a
main: updated logging in h264 file to mpegts file driver for revid
2018-09-11 18:40:45 +09:30
saxon
547e24da7d
main: actually used logger in driver for h264 file to flv rtmp
2018-09-11 18:39:52 +09:30
saxon
03eb68d774
main: added new logger to revid driver file for h264 file to flv rtmp
2018-09-11 18:36:13 +09:30
saxon
35cb30ccf9
revid: updated logging in senders.go
2018-09-11 17:15:45 +09:30
saxon
85ab3a5744
revid: updated logging messages in config.go and revid.go to use new logger
2018-09-11 16:56:33 +09:30
saxon
d05132baf3
main: adjusted defaultLogPath to /var/log
2018-09-11 16:19:02 +09:30
saxon
501ec544e8
main: using new logging for log calls in main.go for revid-cli
2018-09-11 10:02:59 +09:30
saxon
a9ee0eea6d
main: modified command line flags for verbosity and added command line flag for logger path. Also created func to handle flags to make things cleaner
2018-09-11 08:55:45 +09:30
saxon
51d161ee10
main: created global smartlogger.Logger ptr and create default log pathpath
2018-09-10 18:49:09 +09:30
Saxon Milton
257544ef3f
Merged in rtmp-unsafe-cleanup (pull request #52 )
...
Rtmp unsafe cleanup
Approved-by: kortschak <dan@kortschak.io>
2018-09-05 03:40:53 +00:00
Dan Kortschak
7bfea781b4
rtmp: remove redundant size adjustment
2018-09-04 14:07:49 +09:30
saxon
078ba12093
rtmp: tried to replicate C behaviour by returning would be no of bytes written
2018-09-02 14:20:25 +09:30
saxon
8cf8f07b9c
rtmp: corrected C_RTMP_Write c file line number
2018-09-02 13:40:18 +09:30
saxon
3d3ec6b893
rtmp: check that len(buf) is not less than 4 before buf = buf[4:]
2018-09-02 13:31:52 +09:30
saxon
6da0967b80
rtmp: removed check to see if byte slice length is less that 0 - which doesn't happen
2018-09-02 12:27:25 +09:30
saxon
9b152f0495
rtmp: removed math.Abs in C_RTMP_Write for checking noOfBytesRead
2018-09-02 11:35:32 +09:30
saxon
24968c83b3
rtmp: removed use of s2 and replaced with len(buf)
2018-09-02 11:32:11 +09:30
saxon
390c882792
rtmp: removed comments containing previous code in C_RTMP_Write
2018-09-02 10:21:10 +09:30
saxon
269c8176a1
rtmp: changed data slice to buf to simplify
2018-09-02 10:19:29 +09:30
saxon
e861420e69
Merge branch 'master' into rtmp-unsafe-cleanup
2018-09-02 00:04:32 +09:30
saxon
b3c25d3bc7
rtmp: initial commit
2018-09-02 00:03:30 +09:30
kortschak
f2def3fd34
Merged in rtmp/unsafe-cleanup (pull request #51 )
...
rtmp: unsafe cleanup
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2018-09-01 14:22:17 +00:00
Dan Kortschak
4fa4dce908
rtmp: remove redundant reconversions
2018-09-01 23:35:28 +09:30
Dan Kortschak
05bed207b3
rtmp: remove unnecessary int conversions
2018-09-01 23:31:20 +09:30
Dan Kortschak
74e468dfb3
rtmp: remove unnecessary type conversions with unconvert
2018-09-01 23:31:08 +09:30
saxon
287c3d32ac
rtmp: tried removing some unsafe pointers in C_RTMP_Write - ended up breaking it. Youtube tells me it's starting but it now goes live
2018-09-01 23:23:07 +09:30
Dan Kortschak
40785e7454
rtmp: make tests pass
2018-09-01 23:20:32 +09:30
Dan Kortschak
c494da9a1d
rtmp: remove indxBytePtr
...
Manual clean up.
2018-08-31 12:01:34 +09:30
Dan Kortschak
e235da36a1
rtmp: simplify slice conversion
...
Second pass:
gofmt -w -r 'ptrToSlice(p,i)->(*[_Gi]byte)(p)[:i]' {rtmp,parseurl,amf}.go
2018-08-31 11:43:49 +09:30
Dan Kortschak
52c6b1f60a
rtmp: simplify unsafe slice conversion
...
Mechanical:
gofmt -w -r 'ptrToSlice(unsafe.Pointer(p),i)->(*[_Gi]byte)(unsafe.Pointer(p))[:i]' {rtmp,parseurl,amf}.go
2018-08-31 11:42:22 +09:30
Dan Kortschak
0053034e94
rtmp: simplify indexing
...
This is a mechanical change in line with the previous:
gofmt -w -r '*indxBytePtr(p,i)->(*[_Gi]byte)(p)[i]' {rtmp,parseurl,amf}.go
2018-08-31 11:29:41 +09:30
Dan Kortschak
18e1e7fc45
rtmp: simplify indexing
...
This is a mechanical change with the addition of a constant:
gofmt -w -r '*indxBytePtr(unsafe.Pointer(p), i)->(*[_Gi]byte)(unsafe.Pointer(p))[i]' {rtmp,parseurl,amf}.go
2018-08-31 11:24:42 +09:30
Dan Kortschak
6187df1c20
rtmp: remove deadcode and make tests pass
2018-08-31 11:13:59 +09:30
Saxon Milton
ddefd198d0
Merged in rtmp-structure-improvements (pull request #48 )
...
rtmp: structure improvements
Approved-by: kortschak <dan@kortschak.io>
2018-08-30 11:06:44 +00:00
Dan Kortschak
4aad7bac04
rtmp: remove rtmp.c
2018-08-30 20:34:09 +09:30