public RTPFormats negotiateVideo ( SessionDescription sdp , RTPFormats formats ) { this . video . clean ( ) ; MediaDescriptorField descriptor = sdp . getVideoDescriptor ( ) ; descriptor . getFormats ( ) . intersection ( formats , this . video ) ; return this . video ; }
Negotiates the video formats to be used in the call .