brunodecarvalho/efflux — pull request #3 by vmarquez (2012-08-17 00:50:36+00:00)
Title: Supportmultiplepayloads

I've changed the internal PayloadType field to be a HashSet instead of a single Int, and modified the constructors of the RtpSession classes to allow for take a generic Collection of payload types. We check the payloadtype against the set for incoming packets and if we're able to, set the payload according to the set for outgoing packets.

This passes all the tests and I can't think of any reason the changes would break existing code. It's working nicely for my scala Sip Server.