, 우리는 응용 프로그램이 AirPlay를 사용하는 경우, 애플 TV에 AVPlayer를의 currentItem
이 nil
를 반환의 currentDate
속성을 스트리밍을 재생하는 것을 발견했다. 즉 :AirPlay를 통해 재생중인 HTTP 실시간 스트림의 현재 날짜를 가져올 수 있습니까? <strong>HTTP 라이브 스트리밍</strong>를 사용하는 <strong>아이폰 OS</strong> 프로젝트 (HLS)에서 작업
AVPlayerItem *item = [player currentItem]; //Where "player" is the AVPlayer object.
NSDate *date = [item currentDate]; //date is nil, when using AirPlay.
그래서 다른 방법으로 currentDate를 가져올 수 있습니까?