Commit Graph

11 Commits

Author SHA1 Message Date
Max Hawkins
0ef6602adb Add Header() method to Packet
Simplifies the API. Unmarshal can now return one Packet value instead
of both a packet and a header.

Relates to #119
2018-12-04 14:46:33 -05:00
Max Hawkins
5655d151b1 Add rtcp.RawPacket type
This will be returned by Unmarhsal when an unknown type is seen
in the packet stream, avoiding an error and allowing the user to
write their own packet handling code for that type if desired.

Relates to #119
2018-12-04 14:46:33 -05:00
Woodrow Douglass
81ceadeb71 Remove PacketWithHeader type
This simplifies the RTCP interface, and saves a bit of code.
Relates to #119
2018-11-29 12:30:34 -08:00
Woodrow Douglass
6a694b33ea Incorporate suggestions from code review
Review done by Max Hawkins on November 27, 2018
against commit 874b648ba5
Relates to #119
2018-11-29 12:30:34 -08:00
Woodrow Douglass
de6e6a63bc Clean up some lint warnings
Relates to #119
2018-11-29 12:30:34 -08:00
Woodrow Douglass
de31bb3c60 RTCP Reception mechanism
Add a channel to the RTCTrack object to
recieve incoming RTCP packets with.
Relates to #119
2018-11-29 12:30:34 -08:00
Sean DuBois
210db45d44 Add a public API to send RTCP packets
Relates to #63
2018-09-22 16:58:10 -07:00
Max Hawkins
3fee11e486 Add rtcp sr and rr packet types
Relates to #119
2018-09-20 21:19:15 -07:00
Max Hawkins
894296d9ab RTCP: test for unmarshaling nil packet 2018-09-11 16:56:13 +02:00
Max Hawkins
fad12acb11 Use unabbreviated RTCP packet type constants 2018-09-11 16:56:13 +02:00
Max Hawkins
998e370406 Start RTCP package: add header parsing 2018-09-11 16:56:13 +02:00