Commit Graph

17 Commits

Author SHA1 Message Date
Saxon a16ba22527 protocol/rtp: removed extHeaderLen func 2019-04-08 20:31:55 +09:30
Saxon 6ccb0d70d9 protocol/rtp: commented rtpVer const and made defaultHeadSize 12 rather than 4*3 2019-04-07 14:54:24 +09:30
Saxon 049930570b protocol/rtp: removed redundant version checks from helper funcs in parse.go 2019-04-07 14:50:48 +09:30
Saxon 1f5c33fc57 protocol/rtp: fixed indentation issue in file header in parse_test.go 2019-04-07 13:35:46 +09:30
Saxon 0d787e2dac protocol/rtp: fixed indentation issue in file header 2019-04-07 13:32:58 +09:30
Saxon d51fa5348f protocol/rtp: wrote TestPayload
Wrote test TestPayload which will check that we can correctly get the payload from an RTP
packet using Payload for a variety of different RTP packet configurations.
2019-04-05 16:11:40 +10:30
Saxon f4e8d38826 protocol/rtp: added TestExtHeaderLen
Added test TestExtHeaderLen which checks that extHeaderLen returns the correct len for
an RTP packet with an extension header.
2019-04-05 15:53:22 +10:30
Saxon cd9ef96648 protocol/rtp: wrote TestHasExt
Wrote test TestHasExt which checks the behaviour of hasExt for when it's call with an
RTP packet with an extension indicator and also for an RTP packet with no extension
indicator.
2019-04-05 15:46:05 +10:30
Saxon 96debea062 protocol/rtp: wrote TestCsrcCount
Wrote test TestCsrcCount to check behaviour of csrcCount is expected.
2019-04-05 15:23:00 +10:30
Saxon 015b1f7aa9 protocol/rtp: wrote TestVersion
Wrote test that checks the version func will correctly get the
version from an RTP packet.
2019-04-05 15:14:40 +10:30
Saxon ce4b0f7ddd protocol/rtp: added parse_test.go file and fixed copyrights. 2019-04-05 14:33:47 +10:30
Saxon b216d912fe protocol/rtp: added parse.go file with parsing functionality
Added parse.go. This file contains functionality to obtain the Payload from an RTP packet.
Unexported functions to help with this extraction have been added; extHeaderLen, hasExt,
csrcCount and version.
2019-04-05 14:29:04 +10:30
Saxon 6dbbee81d2 protocol/rtp: rtp packet payload comment update 2019-04-03 12:20:54 +10:30
Saxon efa0d38aad protocol/rtp: removed Len field from ExtensionHeader struct as we can gather from len(ExtensionHeader.Header) 2019-04-02 21:49:11 +10:30
Saxon 95a9e4a2ef protocol/rtp: extended functionality of rtp pkg
rtp.Bytes can now deal with CSRC fields, extension fields and padding. Tests have been updated to be more extensive in checks.
2019-03-29 15:48:34 +10:30
Saxon 5366eca2f2 av: fixed imports 2019-03-25 11:51:03 +10:30
Saxon 3a736172ee av: restructured directories 2019-03-25 11:34:56 +10:30