Commit Graph

1596 Commits

Author SHA1 Message Date
saxon 31b9ec07e9 stream/mts/encoder.go: no need to have a now field to capture current time - this can be local to encode function 2019-01-24 14:39:14 +10:30
saxon 42c9fb1d09 stream/mts/encoder.go: writing psi based on time interval rather than number of packets interval 2019-01-24 14:33:22 +10:30
Saxon Milton 286ae4334b Merged in psi-at-start (pull request #127)
stream/mts/encoder.go: writing psi at start of stream

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-24 02:53:53 +00:00
saxon df146cfb17 stream/mts/encoder.go: writing psi at start of stream 2019-01-23 15:50:25 +10:30
Saxon Milton bea48d8657 Merged in findPMT-improve (pull request #122)
mts/mpegts.go: FindPMT now also returns index

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-22 01:01:18 +00:00
saxon 6b4e0946dd stream/mts/mpegts.go: updated FindPMT comment 2019-01-22 11:27:24 +10:30
saxon ba209a1d7c mts/mpegts.go: FindPMT now also returns index 2019-01-22 11:21:12 +10:30
Saxon Milton 1ec23badcc Merged in remove-LocationStrBytes (pull request #118)
Get rid of LocationStrBytes func

Approved-by: kortschak <dan@kortschak.io>
2019-01-21 11:40:02 +00:00
saxon bc3a73bedc av/stream/psi/psi_test.go: updated comment for buildPmtWithMeta() 2019-01-21 18:25:06 +10:30
saxon 67d952c6a7 psi/psi_test.go: made buildPmtWithMeta() safer and readable 2019-01-20 21:58:23 +10:30
saxon a24e4ecb81 psi/psi_test.go: not making it look like I'm appending directly to a global 2019-01-20 21:48:34 +10:30
saxon c4990c946f psi/psi_test.go: not wrapp tstStr in []byte 2019-01-20 21:39:07 +10:30
saxon 239cebe347 psi/psi_test.go: made location tsts const 2019-01-20 21:12:26 +10:30
saxon 3835ff7ce1 psi/psi_test.go: made location tsts strings again and have buildPmtWithMeta take a string instead of []byte 2019-01-20 21:11:09 +10:30
saxon b69c990b21 psi/psi_test.go: got rid of bytes declaration for location strigns 2019-01-20 21:04:27 +10:30
saxon 1a966e8f9b psi/psi_test.go: improved some naming 2019-01-20 20:43:00 +10:30
saxon 5c4795786e psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice 2019-01-20 20:14:27 +10:30
Alan Noble 54d351a55e Merged in rtmp-refactoring-3 (pull request #119)
Rtmp refactoring 3
2019-01-19 07:56:35 +00:00
scruzin 6959243d50 packet.info renamed streamID and made a uint32 along with Conn.streamID. 2019-01-19 17:51:34 +10:30
scruzin de07f1ae40 dStreamId renamed streamID. 2019-01-19 17:20:34 +10:30
scruzin 45f5817307 headBytes renamed buf. 2019-01-19 16:41:22 +10:30
scruzin 8b8afd08b0 Merge branch 'rtmp-refactoring-3' of https://bitbucket.org/ausocean/av into rtmp-refactoring-3 2019-01-19 16:39:41 +10:30
scruzin b77283aa3b packet.header renamed buf. 2019-01-19 16:38:40 +10:30
Alan Noble 9bb6b3ae6d rtmp/session.go deleted (replaced by conn.go) 2019-01-19 04:52:32 +00:00
scruzin 5548345439 Fix comments munged by /.s/.c search and replaces. 2019-01-19 15:18:10 +10:30
scruzin 9cc0e5631c Session now Conn, and NewSession()+Open() replaced by Dial(). 2019-01-19 13:25:05 +10:30
scruzin fc7ae413d3 Session renamed Conn. 2019-01-19 13:18:15 +10:30
scruzin ce95901b66 Session renamed Conn and NewSession() and Open() replaced with Dial(). 2019-01-19 13:16:46 +10:30
scruzin 998d41c96f Session now Conn, init() moved into Dial(), and connectStream() merged into connect(). 2019-01-19 13:12:24 +10:30
scruzin a73c73617a Session now Conn. 2019-01-19 13:11:19 +10:30
scruzin fd903b4add rtmp.Session now rtmp.Conn and rtmp.NewSession() and Open() replaced with Dial(). 2019-01-19 13:10:38 +10:30
scruzin 974d9a484b Fixed packetTypeBytesReadReport case in handlePacket and added debug logging. 2019-01-19 11:30:59 +10:30
saxon 98d89a4e4e mts: got rid of LocationStrBytes func 2019-01-18 13:21:35 +10:30
Dan Kortschak 35d63f664f revid: add v4l properties and fix default device handling
Also fix logging typos found during work.
2019-01-17 17:04:59 +10:30
Dan Kortschak 7d989a17f2 rtmp: fix build 2019-01-17 16:20:51 +10:30
Saxon Milton ddb8fc1e1c Merged in rtp-ringbuff-bypass (pull request #88)
Rtp ringbuff bypass

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-16 23:22:18 +00:00
Saxon Milton a58a784a16 Merged in clean-up-revid-consts (pull request #111)
revid: clean up some revid constants

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 07:37:07 +00:00
saxon 95349f461d revid/revid.go: removed unused logging consts 2019-01-16 17:52:49 +10:30
saxon d3c8f31c08 revid/revid.go: actually fixed conflict 2019-01-16 17:49:22 +10:30
saxon 606c1a5885 revid/revid.go: fixed conflict 2019-01-16 17:47:57 +10:30
saxon 59024fea79 revid/revid.go: further split up miscy consts 2019-01-16 17:46:17 +10:30
Saxon Milton ef6811d3b8 Merged in webcam (pull request #86)
revid: addition of webcam input

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 07:12:30 +00:00
saxon 582f12d157 revid/revid.go: in execution of ffmpeg, the device path is replaced by r.config.InputFileName 2019-01-16 17:29:56 +10:30
saxon e184b091d3 revid/revid.go: rtmp connection properties comment changed to RTMP 2019-01-16 16:42:37 +10:30
Saxon Milton a76be1fd5b Merged in single-frame-h264 (pull request #108)
av: allow for single h264 frame streaming

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 05:28:20 +00:00
Alan Noble b9d99cc78a Merged in rtmp-refactoring-2 (pull request #107)
Second pass at RTMP refactoring.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-15 04:31:26 +00:00
scruzin 9e6d875089 Remove ! after Dan. 2019-01-15 14:59:30 +10:30
scruzin a1d328b376 Remove unnecessary underscores from for loops with ranges. 2019-01-15 10:04:36 +10:30
scruzin 65d0952dd3 Improved Property doc comment. 2019-01-15 09:57:59 +10:30
saxon 59cc2d409a Revert "revid: removed redundant error logging"
This reverts commit eacbfb9ee3.
2019-01-14 16:37:18 +10:30