You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
361B

  1. from util.TimeUtils import now_date_to_str
  2. def pull_stream_feedback(requestId, status, error_code="", error_msg="", videoInfo=[]):
  3. return {
  4. "requestId": requestId,
  5. "videoInfoList": videoInfo,
  6. "pushStreamStatus": status,
  7. "errorCode": error_code,
  8. "errorMsg": error_msg,
  9. "currentTime": now_date_to_str()
  10. }