io.github.lunasaw.sip.common.entity.SdpSessionDescription Maven / Gradle / Ivy
package io.github.lunasaw.sip.common.entity;
import javax.sdp.SessionDescription;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* SDP解析器
*
* @author luna
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SdpSessionDescription {
/**
* 会话描述表示由会话描述协议(请参阅 IETF RFC 2327)定义的数据
*/
private SessionDescription baseSdb;
public static SdpSessionDescription getInstance(SessionDescription sdp) {
SdpSessionDescription sdpSessionDescription = new SdpSessionDescription();
sdpSessionDescription.setBaseSdb(sdp);
return sdpSessionDescription;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy