whole_func_string: function getSDLiveUrl(sn) {
    const a = 've3.ji';
    const b = '60.c';
    return $.ajax({
      url: 'https://li' + a + 'a.3' + b + 'n/public/getInfoAndPlayV2?from=mpc_ipcam_web&sn=36' + sn + '&taskid=' + +new Date(),
      type: 'get',
      dataType: 'jsonp',
    }).then(function(data) {
      let liveHLS = data && data.playInfo && data.playInfo.hls;
      const ret = {};
      if (liveHLS) {
        if (needFlv) liveHLS = liveHLS.replace('hls-live', 'flv-live').replace('/index.m3u8', '.flv');
        ret.url = liveHLS;
        ret.poster = data.publicInfo.thumbnail;
      }
      return ret;
    });
  }
func_code_string: function getSDLiveUrl(sn) {
    const a = 've3.ji';
    const b = '60.c';
    return $.ajax({
      url: 'https://li' + a + 'a.3' + b + 'n/public/getInfoAndPlayV2?from=mpc_ipcam_web&sn=36' + sn + '&taskid=' + +new Date(),
      type: 'get',
      dataType: 'jsonp',
    }).then(function(data) {
      let liveHLS = data && data.playInfo && data.playInfo.hls;
      const ret = {};
      if (liveHLS) {
        if (needFlv) liveHLS = liveHLS.replace('hls-live', 'flv-live').replace('/index.m3u8', '.flv');
        ret.url = liveHLS;
        ret.poster = data.publicInfo.thumbnail;
      }
      return ret;
    });
  }
func_documentation_string: 取个SD的直播流来用用