put setDevice call before the call to setFormat (because without it, the stream wasn't correctly setup to use the given MediaFormat).
put setDevice call before the call to setFormat (because without it,
the stream wasn't correctly setup to use the given MediaFormat).

Also add a function that add parameter from PayloadType of a jingle IQ
to the corresponding MediaFormat (I'm not sure it's correct..).

gardenia/jitsi-hammer,bhatvv/jitsi-hammer,bhatvv/jitsi-hammer,jitsi/jitsi-hammer,gardenia/jitsi-hammer,jitsi/jitsi-hammer