Dan Kortschak
db6ca2922a
revid,parse: wire parse.H264 to revid
...
Through experimentation I have realised the previous ordering of NALU
types does not work with YouTube. I have also exhaustively checked the
requirement for each of the 3 NALU types that are checked and all are
needed. Finally, I have checked whether 7 is needed because of its
inclusion in a parallel branch; checking for this type prevents this
code from working.
2018-07-05 19:10:17 +09:30
Dan Kortschak
353d2cfcc7
revid,revid-cli: remove non-functional RTP mention and add MPEGTS config option
2018-06-30 21:50:55 +09:30
Dan Kortschak
3990482ac4
rtmp: actually use our rtmp
...
Previously ld was linking with the system-wide lib, which is a
dependency of apt, and so present on the system by default. We could
drop our code here, but at the moment it is convenient to leave for
devugging purposes.
2018-06-28 21:09:21 +09:30
Alan Noble
dd9e7751e5
Skip looping for X23 when rv is nil.
2018-06-28 16:13:06 +09:30
Alan Noble
796aaa9d95
Start revid if !paused.
2018-06-28 16:01:15 +09:30
Alan Noble
0daaf89154
Defend against nil rv in send().
2018-06-28 15:31:34 +09:30
Alan Noble
9dd53b58a0
Initialize vs by calling VarSum() before looping.
2018-06-28 14:34:05 +09:30
Alan Noble
5ff305e71a
Merged in netsender-sharing (pull request #36 )
...
Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly.
Approved-by: kortschak <dan@kortschak.io>
2018-06-27 02:05:17 +00:00
Alan Noble
99ef1d0727
PR feedback and some other clean-up.
2018-06-27 07:50:05 +09:30
Alan Noble
1645b759f1
Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly.
2018-06-26 15:53:55 +09:30
Dan Kortschak
62147e160d
parse: new package to replace parser
...
This package provides stateless parsing, simplifying inclusing in
concurrent use and reducing synchronisation.
Use depends on a chan writer type until the generator package is
simplified.
2018-06-25 23:22:38 +09:30
Alan Noble
1383fd8b91
Ignore system params in updateRevid().
2018-06-25 11:26:08 +09:30
Alan Noble
1e2396716e
Removed all command-line params but -NetSender so that all (non-default) params are taken from NetReceiver.
2018-06-25 11:17:57 +09:30
Alan Noble
904fa6d7dc
Added "Output" case to updateRevid() plus better error checking.
2018-06-25 11:09:56 +09:30
Alan Noble
9d113cc498
Renamed NativeRtmp to just Rtmp - since it is exposed to clients. FfmpegRtmp should be deprecated.
2018-06-25 10:53:26 +09:30
Alan Noble
72d7dc3991
GetConfigParam() renamed Param().
2018-06-25 10:10:37 +09:30
Alan Noble
41282aa2b4
Merge branch 'master' of https://bitbucket.org/ausocean/av
2018-06-24 22:02:03 +09:30
Alan Noble
3396b12ade
@echo => echo
2018-06-24 22:01:32 +09:30
Dan Kortschak
647641bed6
revid: clean up input handling
2018-06-24 21:31:09 +09:30
Alan Noble
4fc6e69b12
Call Log() _after_ initializing Logger.
2018-06-24 19:52:46 +09:30
Alan Noble
df36237c22
Log when running in NetSender mode.
2018-06-24 18:31:33 +09:30
Alan Noble
48aa73be9c
Show IP addresses.
2018-06-23 15:35:53 +09:30
Alan Noble
75235f3d82
Initial revision.
2018-06-22 20:56:42 +09:30
Alan Noble
c01300eef6
Check for "Paused" mode when starting.
2018-06-22 20:09:03 +09:30
Alan Noble
590136197b
Remove compiled objects and binaries.
2018-06-22 18:18:46 +09:30
Alan Noble
2cd154e769
Checkout forcibly.
2018-06-22 18:14:07 +09:30
Alan Noble
82977fba23
Added clean target.
2018-06-22 16:01:13 +09:30
Alan Noble
60c09c2800
Merge branch 'master' of https://bitbucket.org/ausocean/av
2018-06-22 15:57:33 +09:30
Alan Noble
a8b56ddb19
Moved test data to test repo.
2018-06-22 15:53:13 +09:30
Dan Kortschak
fba613ab60
revid: make FramesPerClip an int
2018-06-20 14:38:34 +09:30
Dan Kortschak
2dda2cfac9
rtmp: commit changes missed in 3a3181
2018-06-20 14:32:50 +09:30
Dan Kortschak
ec3eefeb37
revid: do not double report returned error
2018-06-20 13:59:38 +09:30
Dan Kortschak
3a31812e0a
rtmp: pull verbosity out of C code
2018-06-20 13:56:40 +09:30
Dan Kortschak
090ad746a6
revid: change default frames/clip to 7 for http
...
This increases effective bitrate to 88kpbs from 12kbps with fpc=1.
2018-06-20 12:48:12 +09:30
Dan Kortschak
89e5178fde
revid: release ring resource quickly for httpSender
2018-06-20 12:42:36 +09:30
kortschak
5840e483b8
Merged in ring/bytes (pull request #35 )
...
revid: use direct access to ring.Chunk bytes
2018-06-18 22:52:55 +00:00
kortschak
74a2891ed7
Merged in revid/httpaddress (pull request #32 )
...
revid: use correct address for HTTP
2018-06-18 22:49:24 +00:00
Dan Kortschak
1800d2f6da
revid: use direct access to ring.Chunk bytes
2018-06-18 19:30:00 +09:30
kortschak
62cbef4ed6
Merged in blitzwechseln (pull request #34 )
...
all: make naming more idiomatic
2018-06-17 12:30:10 +00:00
Dan Kortschak
cb4dea71d6
cmd/revid-cli: match change to netsender
2018-06-17 21:53:03 +09:30
Dan Kortschak
77cb074ede
parser: expose MJPEG documentation
2018-06-17 21:53:03 +09:30
Dan Kortschak
0b0f12431b
parser: expose H264 documentation
2018-06-17 21:53:03 +09:30
Dan Kortschak
ca5eefa4c3
generator,parser: remove Get prefix from read accessors
...
Also make user-facing chan exposure a little safer.
2018-06-17 21:52:55 +09:30
Dan Kortschak
b66abcbfec
revid: improve doc comment
2018-06-17 21:11:44 +09:30
Dan Kortschak
a7d3edbe57
revid: rename ChangeConfig to SetConfig
2018-06-17 21:10:27 +09:30
Dan Kortschak
ed923ed256
revid: rename GetConfigRef to Config
2018-06-17 21:08:37 +09:30
Dan Kortschak
6de4f8c9a6
revid: rename GetBitrate to Bitrate
...
Also change to int; when we get more than 2Gbs^-1, we'll probably be
using 64 bit devices.
2018-06-17 20:57:52 +09:30
Dan Kortschak
5bdd66e22b
rtmp: rename StartSession to Open
2018-06-17 20:45:58 +09:30
Alan Noble
05c6c376b4
Payload data has now moved onto Pin struct.
2018-06-16 19:04:32 +09:30
kortschak
4c0d219fbf
Merged in revid/nilcheck (pull request #33 )
...
revid: fix nil dereference on RTMP reconnect
2018-06-16 04:10:17 +00:00