|
|
|
|
@ -24,8 +24,6 @@
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The IQ used to communicate with Jirecon recording container.
|
|
|
|
|
*
|
|
|
|
|
* @author lishunyang
|
|
|
|
|
* @author Pawel Domas
|
|
|
|
|
*/
|
|
|
|
|
@ -50,6 +48,18 @@ public class JibriIq
|
|
|
|
|
private Status status = Status.UNDEFINED;
|
|
|
|
|
private String url = null;
|
|
|
|
|
|
|
|
|
|
public String getFollowEntity()
|
|
|
|
|
{
|
|
|
|
|
return followEntity;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setFollowEntity(String followEntity)
|
|
|
|
|
{
|
|
|
|
|
this.followEntity = followEntity;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private String followEntity = null;
|
|
|
|
|
|
|
|
|
|
public String getStreamId()
|
|
|
|
|
{
|
|
|
|
|
return streamId;
|
|
|
|
|
@ -100,6 +110,11 @@ public String getChildElementXML()
|
|
|
|
|
printStringAttribute(xml, "streamid", streamId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (followEntity != null)
|
|
|
|
|
{
|
|
|
|
|
printStringAttribute(xml, "follow-entity", followEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collection<PacketExtension> extensions = getExtensions();
|
|
|
|
|
if (extensions.size() > 0)
|
|
|
|
|
|