Handle no codecs

On 10/16/14 3:53 PM, Nils Ohlmeier wrote:
>
> In media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp:
>
> >    AddCommonCodecs(remote_msection, msection);
> >
> > +  if (msection->GetFormats().empty()) {
> > +    // Could not negotiate anything.
> > +
> > +    // Clear out attributes.
> > +    msection->GetAttributeList().Clear();
> > +
> > +    // We need to have something here to fit the grammar
> > +    msection->AddCodec("111", "NULL", 0, 0);
>
> Will this actually add 111 to the rejected m-line?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/unicorn-wg/gecko-dev/pull/218/files#r18992385>.
>
     Yes.