mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-06 11:01:16 +01:00
Payload Negotiation Refactoring and bug fixes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7362 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
945561242a
commit
76bd42da26
7 changed files with 109 additions and 61 deletions
|
|
@ -65,14 +65,7 @@ public class SpeexMediaManager extends JingleMediaManager {
|
|||
public List<PayloadType> getPayloads() {
|
||||
return payloads;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the preferred Payload Type
|
||||
*/
|
||||
public PayloadType getPreferredPayloadType() {
|
||||
return payloads.size() > 0 ? payloads.get(0) : null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Runs JMFInit the first time the application is started so that capture
|
||||
* devices are properly detected and initialized by JMF.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue