public interface WscMediaFactory
Modifier and Type | Method and Description |
---|---|
String |
clearFingerprint(String sdp)
Clears the fingerprint from the given SDP.
|
WscMediaRequest |
createReleaseRequest(String mediaSessionId)
Release.
|
WscMediaRequest |
createSdpAnswer(String mediaSessionId,
String sdp)
Creates a new process SDP answer request.
|
WscMediaRequest |
createSdpAnswerUpdate(String mediaSessionId,
String sdp)
Creates a answer update request on a trickle ice update.
|
WscMediaRequest |
createSdpOffer(String mediaSessionId,
String sdp,
String fromMediaConfigName,
String toMediaConfigName,
String fromAddress,
String toAddress)
Creates a new process SDP request.
|
WscMediaRequest |
createSdpOfferUpdate(String mediaSessionId,
String sdp)
Creates a offer update request on a trickle ice update.
|
String |
getFingerprint(String sdp)
Gets the fingerprint from a given SDP.
|
List<Map<String,Object>> |
getIceServers()
Gets the list of ICE servers from the configured Media Engines.
|
SdpPair |
getSdps(String key)
Gets the SDPs.
|
SdpPair |
removeSdps(String key)
Gets and removes the SDPs.
|
String |
setFingerprint(String sdp,
String fingerprint)
Sets the fingerprint on a given SDP.
|
String |
storeSdps(String originalSdp,
String modifiedSdp)
Store SDPs.
|
WscMediaRequest createSdpOffer(String mediaSessionId, String sdp, String fromMediaConfigName, String toMediaConfigName, String fromAddress, String toAddress)
mediaSessionId
- the media session idsdp
- the SDPfromMediaConfigName
- the from media config nametoMediaConfigName
- the to media config namefromAddress
- the from SIP address, for example: bob@example.comtoAddress
- the to SIP address for, example: alice@example.comWscMediaRequest createSdpAnswer(String mediaSessionId, String sdp)
mediaSessionId
- the media session idsdp
- the SDPWscMediaRequest createReleaseRequest(String mediaSessionId)
mediaSessionId
- the media session idWscMediaRequest createSdpOfferUpdate(String mediaSessionId, String sdp)
mediaSessionId
- the media session idsdp
- the updated candidatesWscMediaRequest createSdpAnswerUpdate(String mediaSessionId, String sdp)
mediaSessionId
- the media session idsdp
- the updated candidatesString storeSdps(String originalSdp, String modifiedSdp)
originalSdp
- the original SDPmodifiedSdp
- the modified SDPSdpPair getSdps(String key)
key
- the keySdpPair removeSdps(String key)
key
- the keyString setFingerprint(String sdp, String fingerprint)
sdp
- the SDPfingerprint
- the fingerprint valueString getFingerprint(String sdp)
sdp
- the SDPString clearFingerprint(String sdp)
sdp
- the SDP with fingerprintList<Map<String,Object>> getIceServers()