mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-24 15:22:07 +01:00
Retain smack-jingle-old API
This commit is contained in:
parent
2288825b1c
commit
e1acf0cfd2
3 changed files with 97 additions and 1 deletions
|
@ -88,6 +88,16 @@ public class AudioMediaSession extends JingleMediaSession {
|
|||
audioChannel = new AudioChannel(new MediaLocator(this.getMediaLocator()), localIp, ip, localPort, remotePort, AudioFormatUtils.getAudioFormat(this.getPayloadType()),this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*
|
||||
* @deprecated use {@link #startTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void startTrasmit() {
|
||||
startTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*/
|
||||
|
@ -97,7 +107,19 @@ public class AudioMediaSession extends JingleMediaSession {
|
|||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should trasmit.
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
*
|
||||
* @param active active state
|
||||
* @deprecated use {@link #setTransmit(boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setTrasmit(boolean active) {
|
||||
setTransmit(active);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
*
|
||||
* @param active active state
|
||||
|
@ -115,6 +137,16 @@ public class AudioMediaSession extends JingleMediaSession {
|
|||
// Do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*
|
||||
* @deprecated use {@link #stopTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void stopTrasmit() {
|
||||
stopTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*/
|
||||
|
|
|
@ -153,6 +153,16 @@ public class AudioMediaSession extends JingleMediaSession implements MediaSessio
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*
|
||||
* @deprecated use {@link #startTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void startTrasmit() {
|
||||
startTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*/
|
||||
|
@ -168,6 +178,18 @@ public class AudioMediaSession extends JingleMediaSession implements MediaSessio
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
*
|
||||
* @param active active state
|
||||
* @deprecated use {@link #setTransmit(boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setTrasmit(boolean active) {
|
||||
setTransmit(active);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
|
@ -187,6 +209,16 @@ public class AudioMediaSession extends JingleMediaSession implements MediaSessio
|
|||
// Do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*
|
||||
* @deprecated use {@link #stopTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void stopTrasmit() {
|
||||
stopTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*/
|
||||
|
|
|
@ -119,6 +119,16 @@ public class ScreenShareSession extends JingleMediaSession {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*
|
||||
* @deprecated use {@link #startTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void startTrasmit() {
|
||||
startTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts transmission and for NAT Traversal reasons start receiving also.
|
||||
*/
|
||||
|
@ -127,6 +137,18 @@ public class ScreenShareSession extends JingleMediaSession {
|
|||
new Thread(transmitter).start();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
*
|
||||
* @param active active state
|
||||
* @deprecated use {@link #setTransmit(boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setTrasmit(boolean active) {
|
||||
setTransmit(active);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set transmit activity. If the active is true, the instance should transmit.
|
||||
* If it is set to false, the instance should pause transmit.
|
||||
|
@ -146,6 +168,16 @@ public class ScreenShareSession extends JingleMediaSession {
|
|||
// Do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*
|
||||
* @deprecated use {@link #stopTransmit()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void stopTrasmit() {
|
||||
stopTransmit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops transmission and for NAT Traversal reasons stop receiving also.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue