|  |  | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
 |  |  | import org.springframework.beans.factory.annotation.Qualifier;
 | 
 |  |  | import org.springframework.beans.factory.annotation.Value;
 | 
 |  |  | // import org.springframework.context.annotation.ComponentScan;
 | 
 |  |  | import org.springframework.context.annotation.DependsOn;
 | 
 |  |  | import org.springframework.context.annotation.Lazy;
 | 
 |  |  | import org.springframework.stereotype.Component;
 | 
 |  |  | 
 |  |  |    @Autowired
 | 
 |  |  |    private SipSubscribe sipSubscribe;
 | 
 |  |  | 
 | 
 |  |  | 
 | 
 |  |  |    public SipConfig getSipConfig() {
 | 
 |  |  |       return sipConfig;
 | 
 |  |  |    }
 | 
 |  |  | 
 | 
 |  |  |    /**
 | 
 |  |  |     * 云台方向放控制,使用配置文件中的默认镜头移动速度
 | 
 |  |  | 
 |  |  |    @Override
 | 
 |  |  |    public void playStreamCmd(Device device, String channelId, ZLMHttpHookSubscribe.Event event, SipSubscribe.Event errorEvent) {
 | 
 |  |  |       try {
 | 
 |  |  | 
 | 
 |  |  |          if (device == null) return;
 | 
 |  |  |          String ssrc = streamSession.createPlaySsrc();
 | 
 |  |  |          String streamId = null;
 | 
 |  |  |          if (rtpEnable) {
 |