mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-06 05:01:12 +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
|
|
@ -78,15 +78,7 @@ public class JmfMediaManager extends JingleMediaManager {
|
|||
public List<PayloadType> getPayloads() {
|
||||
return payloads;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the preferred Payload Type
|
||||
*/
|
||||
public PayloadType getPreferredPayloadType() {
|
||||
//TODO a better way to choose the preferred Payload
|
||||
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