And*_*scu 6 macos avplayer avplayerview
我有一个非常简单的 MacOS 应用程序,我试图在 MacOS 上使用 AVPlayerView/AVPlayer 从远程 url 播放小型 mp4。
我经常收到有关连接到服务 com.apple.rtcreportingd 的错误。这是我得到的错误的完整日志:
2019-05-19 12:06:47.286932-0700 MyApp[5849:39995] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.287081-0700 MyApp[5849:39995] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.392044-0700 MyApp[5849:40033] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x10141c0a0] get output frames failed, state 8196
2019-05-19 12:06:47.392105-0700 MyApp[5849:40033] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x10141c0a0] get output frames failed, state 8196
2019-05-19 12:06:47.392269-0700 MyApp[5849:40033] TIC Read Status [2:0x0]: 1:57
2019-05-19 12:06:47.392285-0700 MyApp[5849:40033] TIC Read Status [2:0x0]: 1:57
2019-05-19 12:06:47.622099-0700 MyApp[5849:39997] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.639382-0700 MyApp[5849:39997] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:48.123992-0700 MyApp[5849:40031] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:48.129544-0700 MyApp[5849:40029] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
Run Code Online (Sandbox Code Playgroud)
播放似乎工作正常,但我仍然想知道如何让它停止。它隐藏了我正在打印的任何其他调试消息。
设置 AVPlayer 的代码非常简单。我有一个 NSCollectionViewItem,里面有一个 AVPlayerView。然后,我.player使用以下内容在视图上设置属性:
2019-05-19 12:06:47.286932-0700 MyApp[5849:39995] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.287081-0700 MyApp[5849:39995] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.392044-0700 MyApp[5849:40033] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x10141c0a0] get output frames failed, state 8196
2019-05-19 12:06:47.392105-0700 MyApp[5849:40033] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C2.1:2][0x10141c0a0] get output frames failed, state 8196
2019-05-19 12:06:47.392269-0700 MyApp[5849:40033] TIC Read Status [2:0x0]: 1:57
2019-05-19 12:06:47.392285-0700 MyApp[5849:40033] TIC Read Status [2:0x0]: 1:57
2019-05-19 12:06:47.622099-0700 MyApp[5849:39997] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:47.639382-0700 MyApp[5849:39997] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:48.123992-0700 MyApp[5849:40031] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2019-05-19 12:06:48.129544-0700 MyApp[5849:40029] sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
Run Code Online (Sandbox Code Playgroud)
我在谷歌上进行了广泛的搜索,关于 rtcreportingd 的信息并不多。
| 归档时间: |
|
| 查看次数: |
721 次 |
| 最近记录: |