[Google Chromecast] emms007:
Hello HomerSp!

Here is the interesting part of the log about the Lolipop Dev Preview having no sound on N5:

D/MirroringActivity( 1465): Got focus
I/ActivityManager( 471): Displayed com.google.android.apps.mediashell/.MirroringActivity: +204ms
D/CastReceiverConnection( 1465): onReady: castv2-1, appId=674A0243
D/CastReceiverConnection( 1465): onSenderConnected: castv2-1, senderId=11:gms_cast_mrp-2, userAgent=Android CastSDK,6184000,Nexus 5,hammerhead,5.0
D/MirroringActivity( 1465): message received: castv2-1, senderId=11:gms_cast_mrp-2, namespace=urn:x-cast:com.google.cast.webrtc, message={"sessionId":"castv2-1","seqNum":0,"type":"OFFER","offer":{"udpPort":2346,"supportedStreams":[{"index":0,"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"]},{"index":1,"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"],"aesKey":"9171705e6c8d4576736aaef81d274764","aesIvMask":"4388f5db89b8e8b2b43d029288f4803b"}]}}
D/MirroringActivity( 1465): startMirroring
I/MirroringActivity( 1465): acquireWifiLock: Acquiring wifi lock
D/HOMERSP ( 1465): isGooglePlayServicesAvailable
D/HOMERSP.a( 1465): com.android.vending
D/HOMERSP.a( 1465): com.google.android.gms
D/dalvikvm( 1465): GC_CONCURRENT freed 472K, 14% free 3772K/4360K, paused 1ms+6ms, total 94ms
D/dalvikvm( 1465): WAIT_FOR_CONCURRENT_GC blocked 36ms
D/ApplicationOnAndroid( 1465): Message from app: App(674A0243:castv2-1), what=21
D/ApplicationOnAndroid( 1465): Sending message to cast receiver: App(674A0243:castv2-1), message={"data":"{\"answer\":{\"ssrcs\":[2,12],\"sendIndexes\":[0,1],\"udpPort\":2344},\"seqNum\":0,\"result\":\"ok\",\"type\":\"ANSWER\",\"sessionId\":\"castv2-1\"}","senderId":"11:gms_cast_mrp-2","namespace":"urn:x-cast:com.google.cast.webrtc"}
V/chromium( 1465): [1465:1622:1025/165213:1107505970:VERBOSE2:v2_ipc_message_sender.cc(70)] Received message from app: 674A0243 for senderId=11:gms_cast_mrp-2:ns=urn:x-cast:com.google.cast.webrtc:data={"answer":{"ssrcs":[2,12],"sendIndexes":[0,1],"udpPort":2344},"seqNum":0,"result":"ok","type":"ANSWER","sessionId":"castv2-1"}
V/chromium( 1465): [1465:1622:1025/165213:1107506209:VERBOSE2:endpoint_with_application.cc(178)] ICP:ns=urn:x-cast:com.google.cast.webrtc:data={"answer":{"ssrcs":[2,12],"sendIndexes":[0,1],"udpPort":2344},"seqNum":0,"result":"ok","type":"ANSWER","sessionId":"castv2-1"}:tosender=11:gms_cast_mrp-2
V/chromium( 1465): [1465:1622:1025/165213:1107506362:VERBOSE2:endpoint_with_application.cc(186)] Sending message to Sender 11:gms_cast_mrp-2:ns=urn:x-cast:com.google.cast.webrtc:data={"answer":{"ssrcs":[2,12],"sendIndexes":[0,1],"udpPort":2344},"seqNum":0,"result":"ok","type":"ANSWER","sessionId":"castv2-1"}
V/chromium( 1465): [1465:1649:1025/165213:1107506793:VERBOSE2:v2_ssl_socket.cc(329)] Sending payload: socket=11, version=0, source_id=castv2-1, destination_id=gms_cast_mrp-2, namespace=urn:x-cast:com.google.cast.webrtc, type=0, payload_len=193
V/chromium( 1465): [1465:1649:1025/165213:1107507501:VERBOSE3:v2_ssl_socket.cc(374)] Sent data: socket=11, len=193
V/chromium( 1465): [1465:1649:1025/165213:1107507836:VERBOSE1:metrics_util.cc(53)] Cast v2 action(socket_id=11): CastV2.Ipc.Message.Out.674A0243.Android
D/MirroringActivity( 1465): onConnected
I/MirroringActivity( 1465): video rect is 1280x720
W/CastMirroringService( 766): createSourceOrSink, flags = 0x1
I/GCastSink( 766): config = '
I/GCastSink( 766): {
I/GCastSink( 766): "remoteFriendlyName": "GCastV2",
I/GCastSink( 766): "sendFormats": [
I/GCastSink( 766): {
I/GCastSink( 766): "bit_rate": 128000,
I/GCastSink( 766): "channels": 2,
I/GCastSink( 766): "codec_name": "aac_ld_adts",
I/GCastSink( 766): "index": 0,
I/GCastSink( 766): "remote_rtp_port": 2346,
I/GCastSink( 766): "remote_ssrc": 1,
I/GCastSink( 766): "rtp_payload_type": 127,
I/GCastSink( 766): "rtp_port": 2344,
I/GCastSink( 766): "rtp_profile": "cast",
I/GCastSink( 766): "sample_rate": 48000,
I/GCastSink( 766): "ssrc": 2,
I/GCastSink( 766): "store_time": 100,
I/GCastSink( 766): "time_base": 48000,
I/GCastSink( 766): "type": "audio_sink"
I/GCastSink( 766): },
I/GCastSink( 766): {
I/GCastSink( 766): "aes-iv-mask": "4388f5db89b8e8b2b43d029288f4803b",
I/GCastSink( 766): "aes-key": "9171705e6c8d4576736aaef81d274764",
I/GCastSink( 766): "codec_name": "h264",
I/GCastSink( 766): "index": 1,
I/GCastSink( 766): "max_bit_rate": 6000000,
I/GCastSink( 766): "max_frame_rate": 60,
I/GCastSink( 766): "remote_rtp_port": 2346,
I/GCastSink( 766): "remote_ssrc": 11,
I/GCastSink( 766): "resolutions": [
I/GCastSink( 766): {
I/GCastSink( 766): "height": 720,
I/GCastSink( 766): "width": 1280
I/GCastSink( 766): }
I/GCastSink( 766): ],
I/GCastSink( 766): "rtp_payload_type": 96,
I/GCastSink( 766): "rtp_port": 2344,
I/GCastSink( 766): "rtp_profile": "cast",
I/GCastSink( 766): "ssrc": 12,
I/GCastSink( 766): "store_time": 100,
I/GCastSink( 766): "time_base": 90000,
I/GCastSink( 766): "type": "video_sink"
I/GCastSink( 766): }
I/GCastSink( 766): ]
I/GCastSink( 766): }
I/GCastSink( 766): '
I/GCastSink( 766): decrypting video.
I/NetworkSession( 766): socket 89 listening to 0.0.0.0:2344
D/CastMirroringClientImpl( 1465): onConnected
D/MirroringActivity( 1465): onCastMirroringConnected
I/GCastReceiver( 766): connecting RTP to 192.168.1.51:2346
I/GCastSink( 766): Using ADTS
I/OMXClient( 766): Using client-side OMX mux.
I/ ( 766): new RKOMXPlugin
D/ACodec ( 766): MEDIA_MIMETYPE_AUDIO_AAC sampleRate 48000 wifidisplay_flag 0 info 68af1eb0
I/AudioHardwareALSA( 96): Audio exiting sandby will open audio device
I/GCastReceiver( 766): lost batch 0
W/AppOps ( 471): Bad call: specified package media under uid 1000 but it is really 1013
W/AppOps ( 471): Bad call: specified package media under uid 1000 but it is really 1013
I/avc_utils( 766): found AVC codec config (1280 x 720, Baseline-profile level 3.2)
I/SoftAAC2( 766): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
I/OMXClient( 766): Using client-side OMX mux.
I/H264_DEBUG( 96): init done status 0
I/H264_DEBUG( 96): Width 1280 Height 720
I/H264_DEBUG( 96): videoRange 0, matrixCoefficients 2
E/ALSAModule( 96): audio type flag: 0
D/dalvikvm( 1465): GC_CONCURRENT freed 443K, 15% free 3747K/4360K, paused 8ms+4ms, total 60ms
I/AudioFlinger( 96): BUFFER TIMEOUT: remove(4102) from active list on thread 0x4268c008
W/AppOps ( 471): Bad call: specified package media under uid 1000 but it is really 1013
D/rkinfo ( 96): LYLBOX: connect error:Connection refused
D/ApplicationOnAndroid( 1465): App already destroyed, ignoring message 12
D/AudioHardwareALSA( 96): AudioStreamOutALSA::standby().....
W/AppOps ( 471): Bad call: specified package media under uid 1000 but it is really 1013

Does it give you any clue? :confused:

EMMS