Commit Graph

10 Commits

Author SHA1 Message Date
Saxon 4a613e600c protocol/rtp: fixed gnu license url in file headers for parse_test.go and parse.go 2019-04-14 17:08:42 +09:30
Saxon 0700a8270d protocol/rtp: updated parse.go function comments 2019-04-10 16:56:32 +09:30
Saxon a0fb380717 protocol/rtp: simplified hasExt function 2019-04-10 12:52:05 +09:30
Saxon ff0c62910c protcol/rtp: panic in Payload if length is not sufficiently long to be RTP packet. 2019-04-10 12:51:05 +09:30
Saxon 6992ab395b protocol/rtp: removed extHeaderLen func 2019-04-09 15:45:40 +09:30
Saxon df3e66e5b2 protocol/rtp: removed redundant version checks from helper funcs in parse.go 2019-04-09 15:45:40 +09:30
Saxon b5711d18c5 protocol/rtp: fixed indentation issue in file header 2019-04-09 15:45:40 +09:30
Saxon 74b25e646a protocol/rtp: wrote TestVersion
Wrote test that checks the version func will correctly get the
version from an RTP packet.
2019-04-09 15:45:40 +09:30
Saxon fa9888723f protocol/rtp: added parse_test.go file and fixed copyrights. 2019-04-09 15:45:40 +09:30
Saxon af9a9bc6c0 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-09 15:45:40 +09:30