[Omni Q&A] kwcYDS4f4K7WABfJRXZx:
Hi everybody,

I can't cast the phone screen to Chromecast Ultra from Oppo Find 7s running latest OmniRom 7.1.2.

Casting from Youtube, AllCast, AllConnect or any other compatible app works without a problem.

Any ideas what's the root cause of the problem?

Here's the log from the moment I want to connect to Chromecast:

11-24 15:37:12.953 W/InputMethodManagerService(1042): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@70d1a7f attribute=null, token = android.os.BinderProxy@f761db
11-24 15:37:13.141 D/OpenGLRenderer(16581): endAllActiveAnimators on 0xa631d180 (MenuPopupWindow$MenuDropDownListView) with handle 0x88fee3b0
11-24 15:37:13.777 D/bonjour (5830): mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
11-24 15:37:13.780 V/MediaRouter(15494): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.781 I/MediaRouterService(1042): Selected global route:Route Living Room TV (com.google.android.gms/.cast.media.CastRemoteDisplayProviderService:2ee7604197e4bb792cc9003d5be9dbb8)
11-24 15:37:13.781 V/MediaRouter(15494): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.781 V/MediaRouter(1042): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.781 V/MediaRouter(1042): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.783 V/MediaRouter(2629): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.783 I/CastMirroringProvider(11828): onConnect, display=RemoteDisplay{RemoteDisplayInfo{ id=2ee7604197e4bb792cc9003d5be9dbb8, name=Living Room TV, description=Chromecast Ultra, status=2, volume=0, volumeMax=0, volumeHandling=0, presentationDisplayId=-1 }}
11-24 15:37:13.783 V/MediaRouter(11828): Adding route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.784 V/MediaRouter(11828): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.785 V/MediaRouter(2629): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.785 V/MediaRouter(11828): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.785 V/MediaRouter(5830): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.787 V/MediaRouter(14982): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.788 V/MediaRouter(14982): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.789 V/MediaRouter(14982): Selecting route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.789 I/MediaRouterService(1042): Connecting to global route: Route Living Room TV (com.google.android.gms/.cast.media.CastRemoteDisplayProviderService:2ee7604197e4bb792cc9003d5be9dbb8)
11-24 15:37:13.789 V/MediaRouter(1042): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.792 D/ZenLog (1042): intercepted: 0|com.google.android.gms|2131689535|null|10029,alarmsOnly
11-24 15:37:13.797 V/MediaRouter(11828): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.800 V/NotificationService(1042): pkg=com.google.android.gms canInterrupt=false intercept=true
11-24 15:37:13.808 V/MediaRouter(15494): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.819 V/MediaRouter(2629): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:13.827 V/MediaRouter(11828): Dispatching route change: UserRouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=null, category=RouteCategory{ name=Devices types=ROUTE_TYPE_USER groupable=false }, supportedTypes=ROUTE_TYPE_USER , presentationDisplay=null }
11-24 15:37:13.827 W/CastSocket(11828): [controller-0015 MRP] SSL DidCallSslEngineBeginHandshake: false
11-24 15:37:13.855 I/DeviceAuthChannel(11828): [controller-0015 MRP] Reuse old nonce: [104, 118, 104, -108, 62, 115, 118, 115, 127, -124, -120, 64, -109, 83, -119, 69]
11-24 15:37:14.128 I/CastDeviceController(11828): [controller-0015 MRP] calling Listener.onConnected(true)
11-24 15:37:14.138 I/CastDeviceController(11828): [controller-0015 MRP] launchApplication. id=674A0243, options=LaunchOptions(relaunchIfRunning=true, language=en-GB)
11-24 15:37:14.173 V/MediaRouter(11828): Dispatching route change: UserRouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=null, category=RouteCategory{ name=Devices types=ROUTE_TYPE_USER groupable=false }, supportedTypes=ROUTE_TYPE_USER , presentationDisplay=null }
11-24 15:37:14.231 I/DeviceControllerEntry(11828): CastDeviceController.Listener.onApplicationConnected: appId=674A0243, sessionId=1ac0f517-80cf-4c3b-a8b6-3f45edf6cc59
11-24 15:37:14.232 I/art (14626): Do partial code cache collection, code=23KB, data=31KB
11-24 15:37:14.234 I/art (14626): After code cache collection, code=23KB, data=31KB
11-24 15:37:14.234 I/art (14626): Increasing code cache capacity to 128KB
11-24 15:37:14.238 E/MirroringControlChannel(11828): [instance-13] offer string; {"udpPort":2346,"supportedStreams":[{"type":"audio_source","codecName":"aac","rtpProfile":"cast","rtpPayloadType":127,"ssrc":1,"storeTime":100,"targetDelay":100,"bitRate":128000,"sampleRate":48000,"timeBase":"1\/48000","channels":2,"rtpExtensions":["adaptive_playout_delay"],"receiverRtcpEventLog":true,"index":0,"aesKey":"330cf930aed260f2042b21b6bdb30a8f","aesIvMask":"3ddca48caffcdc241410cc085dc96399","errorRecoveryMode":"castv2"},{"type":"video_source","codecName":"h264","rtpProfile":"cast","rtpPayloadType":96,"ssrc":11,"storeTime":100,"targetDelay":100,"maxFrameRate":"60000\/1001","timeBase":"1\/90000","maxBitRate":6000000,"profile":"main","level":"4","resolutions":[{"height":720,"width":1280}],"rtpExtensions":["adaptive_playout_delay"],"receiverRtcpEventLog":true,"index":1,"aesKey":"330cf930aed260f2042b21b6bdb30a8f","aesIvMask":"3ddca48caffcdc241410cc085dc96399","errorRecoveryMode":"castv2","intraRefreshEnable":false}]}
11-24 15:37:14.416 W/CastDeviceController(11828): [controller-0015 MRP] Ignoring message. Namespace 'urn:x-cast:com.google.cast.media' has not been registered.
11-24 15:37:14.458 W/CastRouteController(11828): [instance-13] createSourceOrSink, flags = 0x80000000
11-24 15:37:14.470 I/JGCastService(11828): enable TDLS on source
11-24 15:37:14.486 I/GCastSource(11828): config = '
11-24 15:37:14.490 I/GCastSource(11828): {
11-24 15:37:14.490 I/GCastSource(11828): "extraData": {
11-24 15:37:14.490 I/GCastSource(11828): "maxBitrate": 6000,
11-24 15:37:14.490 I/GCastSource(11828): "maxFramerate": "60000\/1001",
11-24 15:37:14.491 I/GCastSource(11828): "minLatency": 100,
11-24 15:37:14.491 I/GCastSource(11828): "receiverProductName": "Chromecast Ultra",
11-24 15:37:14.491 I/GCastSource(11828): "receiverVersion": "5",
11-24 15:37:14.491 I/GCastSource(11828): "resolution": "1280x720",
11-24 15:37:14.491 I/GCastSource(11828): "senderBuild": "omni_find7-userdebug 7.1.2 NJH47F 47 test-keys",
11-24 15:37:14.491 I/GCastSource(11828): "senderGmsCoreVersion": 11746000,
11-24 15:37:14.491 I/GCastSource(11828): "senderModel": "FIND7",
11-24 15:37:14.491 I/GCastSource(11828): "senderPlatform": "Android",
11-24 15:37:14.491 I/GCastSource(11828): "senderVersion": "7.1.2"
11-24 15:37:14.491 I/GCastSource(11828): },
11-24 15:37:14.491 I/GCastSource(11828): "maxTargetDelay": 500,
11-24 15:37:14.491 I/GCastSource(11828): "remoteFriendlyName": "Living Room TV",
11-24 15:37:14.491 I/GCastSource(11828): "sendFormats": [
11-24 15:37:14.491 I/GCastSource(11828): {
11-24 15:37:14.491 I/GCastSource(11828): "aes-iv-mask": [redacted],
11-24 15:37:14.491 I/GCastSource(11828): "aes-key": [redacted],
11-24 15:37:14.491 I/GCastSource(11828): "bit_rate": 128000,
11-24 15:37:14.491 I/GCastSource(11828): "channels": 2,
11-24 15:37:14.491 I/GCastSource(11828): "codec_name": "aac_ld_adts",
11-24 15:37:14.491 I/GCastSource(11828): "index": 0,
11-24 15:37:14.491 I/GCastSource(11828): "receiver_events": true,
11-24 15:37:14.491 I/GCastSource(11828): "remote_rtp_port": 57453,
11-24 15:37:14.491 I/GCastSource(11828): "remote_ssrc": 2,
11-24 15:37:14.491 I/GCastSource(11828): "rtp_extensions": [
11-24 15:37:14.491 I/GCastSource(11828): "adaptive_playout_delay"
11-24 15:37:14.491 I/GCastSource(11828): ],
11-24 15:37:14.491 I/GCastSource(11828): "rtp_payload_type": 127,
11-24 15:37:14.491 I/GCastSource(11828): "rtp_port": 2346,
11-24 15:37:14.491 I/GCastSource(11828): "rtp_profile": "cast",
11-24 15:37:14.491 I/GCastSource(11828): "sample_rate": 48000,
11-24 15:37:14.491 I/GCastSource(11828): "ssrc": 1,
11-24 15:37:14.491 I/GCastSource(11828): "store_time": 100,
11-24 15:37:14.491 I/GCastSource(11828): "time_base": 48000,
11-24 15:37:14.491 I/GCastSource(11828): "type": "audio_source"
11-24 15:37:14.491 I/GCastSource(11828): },
11-24 15:37:14.491 I/GCastSource(11828): {
11-24 15:37:14.491 I/GCastSource(11828): "aes-iv-mask": [redacted],
11-24 15:37:14.491 I/GCastSource(11828): "aes-key": [redacted],
11-24 15:37:14.491 I/GCastSource(11828): "codec_name": "h264",
11-24 15:37:14.491 I/GCastSource(11828): "error_recovery_mode": "castv2",
11-24 15:37:14.491 I/GCastSource(11828): "index": 1,
11-24 15:37:14.491 I/GCastSource(11828): "key_frame_refresh_interval": 60,
11-24 15:37:14.491 I/GCastSource(11828): "max_bit_rate": 6000000,
11-24 15:37:14.491 I/GCastSource(11828): "max_frame_rate": "60000\/1001",
11-24 15:37:14.491 I/GCastSource(11828): "receiver_events": true,
11-24 15:37:14.491 I/GCastSource(11828): "remote_rtp_port": 57453,
11-24 15:37:14.491 I/GCastSource(11828): "remote_ssrc": 12,
11-24 15:37:14.491 I/GCastSource(11828): "resolutions": [
11-24 15:37:14.492 I/GCastSource(11828): {
11-24 15:37:14.492 I/GCastSource(11828): "height": 720,
11-24 15:37:14.492 I/GCastSource(11828): "width": 1280
11-24 15:37:14.492 I/GCastSource(11828): }
11-24 15:37:14.492 I/GCastSource(11828): ],
11-24 15:37:14.492 I/GCastSource(11828): "rtp_extensions": [
11-24 15:37:14.492 I/GCastSource(11828): "adaptive_playout_delay"
11-24 15:37:14.492 I/GCastSource(11828): ],
11-24 15:37:14.492 I/GCastSource(11828): "rtp_payload_type": 96,
11-24 15:37:14.492 I/GCastSource(11828): "rtp_port": 2346,
11-24 15:37:14.492 I/GCastSource(11828): "rtp_profile": "cast",
11-24 15:37:14.492 I/GCastSource(11828): "ssrc": 11,
11-24 15:37:14.492 I/GCastSource(11828): "store_time": 100,
11-24 15:37:14.492 I/GCastSource(11828): "time_base": 90000,
11-24 15:37:14.492 I/GCastSource(11828): "type": "video_source",
11-24 15:37:14.492 I/GCastSource(11828): "use_intra_macroblock_cyclic_mode": false
11-24 15:37:14.492 I/GCastSource(11828): }
11-24 15:37:14.492 I/GCastSource(11828): ]
11-24 15:37:14.492 I/GCastSource(11828): }
11-24 15:37:14.492 I/GCastSource(11828): '
11-24 15:37:14.492 I/GCastSource(11828): Connecting to receiver: Living Room TV
11-24 15:37:14.493 I/GCastSource(11828): increasing video delay to 100 ms, max unacked 6
11-24 15:37:14.493 I/GCastSource(11828): encrypting video.
11-24 15:37:14.493 I/GCastSource(11828): Using ADTS
11-24 15:37:14.493 I/GCastSource(11828): increasing audio delay to 100 ms, max unacked 16
11-24 15:37:14.493 I/GCastSource(11828): encrypting audio.
11-24 15:37:14.493 I/GCastSource(11828): connecting RTP from 0.0.0.0:2346 to 192.168.1.168:57453
11-24 15:37:14.493 I/NetworkSession(11828): socket 292 listening to 0.0.0.0:2346
11-24 15:37:14.496 I/Converter(11828): initEncoder, mOutputFormat - AMessage(what = 0x00000000) = {
11-24 15:37:14.496 I/Converter(11828): string error_recovery_mode = "castv2"
11-24 15:37:14.496 I/Converter(11828): int32_t use_intra_macroblock_cyclic_mode = 0
11-24 15:37:14.496 I/Converter(11828): string mime = "video/avc"
11-24 15:37:14.496 I/Converter(11828): int32_t key_frame_refresh_interval = 60
11-24 15:37:14.496 I/Converter(11828): int32_t width = 1280
11-24 15:37:14.496 I/Converter(11828): int32_t height = 720
11-24 15:37:14.496 I/Converter(11828): int32_t max-bitrate = 6000000
11-24 15:37:14.496 I/Converter(11828): float max-fps-to-encoder = 59.940060
11-24 15:37:14.496 I/Converter(11828): int32_t bitrate = 3000000
11-24 15:37:14.496 I/Converter(11828): int32_t color-format = 2130708361
11-24 15:37:14.496 I/Converter(11828): int64_t repeat-previous-frame-after = 70000
11-24 15:37:14.496 I/Converter(11828): int64_t max-pts-gap-to-encoder = 33333
11-24 15:37:14.496 I/Converter(11828): }
11-24 15:37:14.507 I/MediaPlayerService(513): MediaPlayerService::getOMX
11-24 15:37:14.508 I/OMXClient(11828): MuxOMX ctor
11-24 15:37:14.509 I/OMXMaster(513): makeComponentInstance(OMX.qcom.video.encoder.avc) in mediaserver process
11-24 15:37:14.530 I/Converter(11828): using video bitrate of 3000000 bps
11-24 15:37:14.530 I/Converter(11828): Optmized for quality/video - not using IntraRefreshCyclic
11-24 15:37:14.531 I/wpa_supplicant(2567): TDLS: Creating peer entry for f4:f5:d8:ac:19:ec
11-24 15:37:14.531 W/OMXNodeInstance(513): [2010014:qcom.encoder.avc] component does not support metadata mode; using fallback
11-24 15:37:14.531 E/ACodec (11828): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
11-24 15:37:14.532 W/ACodec (11828): do not know color format 0x7fa30c04 = 2141391876
11-24 15:37:14.532 W/ACodec (11828): do not know color format 0x7f000789 = 2130708361
11-24 15:37:14.537 I/ACodec (11828): setupAVCEncoderParameters with [profile: Baseline] [level: Level32]
11-24 15:37:14.538 I/ACodec (11828): [OMX.qcom.video.encoder.avc] cannot encode color aspects. Ignoring.
11-24 15:37:14.538 I/ACodec (11828): [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
11-24 15:37:14.538 I/ACodec (11828): setupVideoEncoder succeeded
11-24 15:37:14.539 W/ACodec (11828): do not know color format 0x7f000789 = 2130708361
11-24 15:37:14.540 E/OMXNodeInstance(513): getConfig(2010014:qcom.encoder.avc, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a)
11-24 15:37:14.541 D/GraphicBufferSource(513): setting dataspace: 0x104
11-24 15:37:14.542 E/OMXNodeInstance(513): getParameter(2010014:qcom.encoder.avc, ParamConsumerUsageBits(0x6f800004)) ERROR: UnsupportedIndex(0x8000101a)
11-24 15:37:14.542 D/GraphicBufferSource(513): requesting color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M))
11-24 15:37:14.558 D/r_submix(505): adev_open_input_stream(addr=0)
11-24 15:37:14.558 D/r_submix(505): submix_audio_device_create_pipe_l(addr=0, idx=9)
11-24 15:37:14.558 D/r_submix(505): now using address 0 for route 9
11-24 15:37:14.559 I/AudioFlinger(505): AudioFlinger's thread 0xaeb83080 ready to run
11-24 15:37:14.560 I/r_submix(505): in_standby()
11-24 15:37:14.562 E/ (505): Request denied by app op OP_RECORD_AUDIO
11-24 15:37:14.562 E/AudioFlinger(505): openRecord() permission denied: recording not allowed
11-24 15:37:14.562 I/r_submix(505): in_standby()
11-24 15:37:14.563 E/AudioRecord(11828): AudioFlinger could not create record track, status: -1
11-24 15:37:14.564 D/r_submix(505): adev_close_input_stream()
11-24 15:37:14.564 D/r_submix(505): submix_audio_device_release_pipe_l(idx=9) addr=0
11-24 15:37:14.564 D/r_submix(505): submix_audio_device_destroy_pipe_l(): pipe destroyed
11-24 15:37:14.565 E/AudioRecord-JNI(11828): Error creating AudioRecord instance: initialization check failed with status -1.
11-24 15:37:14.565 E/android.media.AudioRecord(11828): Error code -20 when initializing native AudioRecord object.
11-24 15:37:14.565 I/Converter(11828): initEncoder, mOutputFormat - AMessage(what = 0x00000000) = {
11-24 15:37:14.565 I/Converter(11828): string mime = "audio/mp4a-latm"
11-24 15:37:14.565 I/Converter(11828): int32_t sample-rate = 48000
11-24 15:37:14.565 I/Converter(11828): int32_t channel-count = 2
11-24 15:37:14.565 I/Converter(11828): int32_t bitrate = 128000
11-24 15:37:14.565 I/Converter(11828): int32_t max-input-size = 7680
11-24 15:37:14.565 I/Converter(11828): }
11-24 15:37:14.567 I/MediaPlayerService(513): MediaPlayerService::getOMX
11-24 15:37:14.568 I/OMXClient(11828): MuxOMX ctor
11-24 15:37:14.569 I/OMXMaster(509): makeComponentInstance(OMX.google.aac.encoder) in mediacodec process
11-24 15:37:14.570 I/Converter(11828): using audio bitrate of 128000 bps
11-24 15:37:14.595 I/CastMirroringProvider(11828): onDeviceStoppedMirroring: device="Living Room TV" (2ee7604197e4bb792cc9003d5be9dbb8), error=true
11-24 15:37:14.596 I/MediaRouterService(1042): Global route connection lost: Route Living Room TV (com.google.android.gms/.cast.media.CastRemoteDisplayProviderService:2ee7604197e4bb792cc9003d5be9dbb8)
11-24 15:37:14.596 I/MediaRouterService(1042): Unselected global route:Route Living Room TV (com.google.android.gms/.cast.media.CastRemoteDisplayProviderService:2ee7604197e4bb792cc9003d5be9dbb8)
11-24 15:37:14.596 E/MediaPuller(11828): source failed to start w/ err -38
11-24 15:37:14.596 E/AVSource(11828): Failed to start track 1 (err = -38)
11-24 15:37:14.596 E/GCastSource(11828): Failed to start AVSource (err -38)
11-24 15:37:14.597 V/MediaRouter(1042): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.597 W/AVSource(11828): ignoring stop request, track not started.
11-24 15:37:14.597 V/MediaRouter(1042): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.597 V/MediaRouter(1042): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.597 V/MediaRouter(15494): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.597 V/MediaRouter(15494): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.602 V/MediaRouter(14982): Removing route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.603 V/MediaRouter(2629): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.603 V/MediaRouter(14982): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.603 V/MediaRouter(2629): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.604 V/MediaRouter(5830): Removing route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.604 V/MediaRouter(5830): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.605 I/CastMirroringProvider(11828): onDeviceStoppedMirroring: device="Living Room TV" (2ee7604197e4bb792cc9003d5be9dbb8), error=true
11-24 15:37:14.605 V/MediaRouter(2629): Dispatching route change: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Available, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.605 I/CastMirroringProvider(11828): onDisconnect, display=RemoteDisplay{RemoteDisplayInfo{ id=2ee7604197e4bb792cc9003d5be9dbb8, name=Living Room TV, description=Chromecast Ultra, status=2, volume=0, volumeMax=0, volumeHandling=0, presentationDisplayId=-1 }}
11-24 15:37:14.606 I/CastDeviceController(11828): [controller-0015 MRP] stopApplication; sessionId:
11-24 15:37:14.609 V/NotificationService(1042): pkg=com.google.android.gms canInterrupt=false intercept=true
11-24 15:37:14.621 V/MediaRouter(11828): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.622 V/MediaRouter(11828): Removing route: RouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=Connecting..., category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
11-24 15:37:14.631 I/CastDeviceController(11828): [controller-0015 MRP] listener.onApplicationDisconnected(SUCCESS)
11-24 15:37:14.631 I/DeviceControllerEntry(11828): onApplicationDisconnected: castStatusCode=SUCCESS, sessionId=1ac0f517-80cf-4c3b-a8b6-3f45edf6cc59
11-24 15:37:14.636 V/MediaRouter(11828): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
11-24 15:37:14.641 I/CastRouteController(11828): [instance-13] onSessionEnded: sessionId=1ac0f517-80cf-4c3b-a8b6-3f45edf6cc59, castStatusCode=SUCCESS
11-24 15:37:14.641 I/CastMirroringProvider(11828): onDeviceStoppedMirroring: device="Living Room TV" (2ee7604197e4bb792cc9003d5be9dbb8), error=false
11-24 15:37:14.657 I/CastDeviceController(11828): [controller-0015 MRP] finishDisconnecting; socketError="0 No error", mDisconnectStatusCode=SUCCESS
11-24 15:37:14.657 I/CastDeviceController(11828): [controller-0015 MRP] listener.onDisconnected(SUCCESS)
11-24 15:37:14.657 I/DeviceControllerEntry(11828): CastDeviceController.Listener.onDisconnected: SUCCESS
11-24 15:37:14.660 I/HAL (11828): loaded HAL id=gralloc path=/system/lib/hw/gralloc.msm8974.so hmi=0x0 handle=0xaa1bec50
11-24 15:37:14.675 V/MediaRouter(11828): Dispatching route change: UserRouteInfo{ name=Living Room TV, description=Chromecast Ultra, status=null, category=RouteCategory{ name=Devices types=ROUTE_TYPE_USER groupable=false }, supportedTypes=ROUTE_TYPE_USER , presentationDisplay=null }
11-24 15:37:14.814 D/bonjour (5830): mDNS_Execute: SendResponses didn't send all its responses; will try again in one second