안녕하세요.
안드로이드에서 데이터로 접속 시 방송을 볼 수 없는 문제때문에 문의글 작성합니다.
(시청자가) 와이파이로 접속하면 정상적으로 방송을 볼 수 있는데, 데이터로 접속 시 화면이 아예 안나오고 소리도 들리지 않습니다.
에러가 있나 싶어 콜백함수인 onError()의 로그가 찍히나 확인해봣으나 호출도 안되고
BreakPoint로 확인해봣더니 onInit()->onJoin() 까지만 호출이 돼고 onComplete()는 호출이 안되는걸 확인했습니다.
그 상태에서 와이파이를 연결해도 특별한 변화는 없었습니다.
와이파이상태로 방송에 접속하면 정상적으로 나오며 콜백함수도 정상적으로 호출이 되는것을 확인했습니다.
다만, 와이파이로 접속 후 데이터로 돌리면 연결이 끊깁니다.
아래는 와이파이->데이터 변경 시 콜백함수 onStat() 에서 나오는 report.getFullStatReport()의 내용과 report.toString()의 내용입니다. ( HealthRating은 와이파이일때 5 상태를 유지하다 데이터로 바꾸면 1로 변합니다)
와이파이
id: ssrc_1565146015_recv, type: ssrc, timestamp: 1.544666104320608E12, values: [bytesReceived: 4656091], [codecImplementationName: HWDecoder], [framesDecoded: 446], [mediaType: video], [packetsLost: 103], [packetsReceived: 4183], [qpSum: 8809], [ssrc: 1565146015], [transportId: Channel-audio-1], [googCaptureStartNtpTimeMs: 0], [googCodecName: VP8], [googContentType: realtime], [googCurrentDelayMs: 248], [googDecodeMs: 9], [googFirsSent: 0], [googFrameHeightReceived: 640], [googFrameRateDecoded: 2], [googFrameRateOutput: 2], [googFrameRateReceived: 29], [googFrameWidthReceived: 480], [googInterframeDelayMax: 944], [googJitterBufferMs: 98], [googMaxDecodeMs: 14], [googMinPlayoutDelayMs: 248], [googNacksSent: 99], [googPlisSent: 4], [googRenderDelayMs: 10], [googTargetDelayMs: 248], [googTrackId: janusv0],
RemonStatReport{ctx=RemonContext{context=kr.co.merryholiday.tripme.activities.LiveDetailActivity@6a747d9, config=com.remotemonster.sdk.Config@43202a5d, networkType=‘null’, os=‘android’, osVersion=27, device=‘SM-N960N’, carrier=‘LG U+’, location=‘kr’, audioFractionLost=[com.remotemonster.sdk.stat.FractionLost@7c6a2cd, com.remotemonster.sdk.stat.FractionLost@cbbf782, com.remotemonster.sdk.stat.FractionLost@1fe2e93, com.remotemonster.sdk.stat.FractionLost@41cced0, com.remotemonster.sdk.stat.FractionLost@c279ec9], videoFractionLost=[com.remotemonster.sdk.stat.FractionLost@7b609ce, com.remotemonster.sdk.stat.FractionLost@2d320ef, com.remotemonster.sdk.stat.FractionLost@fc807fc, com.remotemonster.sdk.stat.FractionLost@3825e85, com.remotemonster.sdk.stat.FractionLost@72cf4da], isMaster=true, isClosing=false, roomurl=‘null’, roomid=‘CHb2661529a90a4aa2be938dbf46bcf508’, presdp=null, channel=Channel{id=‘CHb2661529a90a4aa2be938dbf46bcf508:PE958290d22bdb4a5a9eb3540857bbb1d8’, serviceId=‘[email protected]’, type=VIEWER, msType=‘Janus’, status=null, startTime=1544667157256, config={}}, webSocketClient=com.remotemonster.sdk.network.WebSocketClient@b5add0b, eglBase=org.webrtc.EglBase14@68ba7e8, mediaManager=com.remotemonster.sdk.core.MediaManager@c0f5e01, peerConnectionManager=com.remotemonster.sdk.core.PeerConnectionManager@6f584a6, observer=com.remotemonster.sdk.RemonCast$1@294367c, state=COMPLETE, statObserver=com.remotemonster.sdk.stat.RemonStatObserver@3583ee7, localCapture=null}, localCandidate=‘prflx’, remoteCandidate=‘local’, localFrameWidth=0, localFrameHeight=0, remoteFrameWidth=480, remoteFrameHeight=640, localFrameRate=0, remoteFrameRate=30, availableSendBandwidth=300000, availableReceiveBandwidth=2024050, rtt=0, localAudioFractionLost=0, localVideoFractionLost=0, remoteAudioFractionLost=0, remoteVideoFractionLost=0, bytesReceived=2096533, fullStatReport='id: ssrc_3285616503_recv, type: ssrc, timestamp: 1.544667167679791E12, values: [bytesReceived: 2096533], [codecImplementationName: HWDecoder], [framesDecoded: 181], [mediaType: video], [packetsLost: 15], [packetsReceived: 1858], [qpSum: 3681], [ssrc: 3285616503], [transportId: Channel-audio-1], [googCaptureStartNtpTimeMs: 0], [googCodecName: VP8], [googContentType: realtime], [googCurrentDelayMs: 171], [googDecodeMs: 10], [googFirsSent: 0], [googFrameHeightReceived: 640], [googFrameRateDecoded: 30], [googFrameRateOutput: 30], [googFrameRateReceived: 30], [googFrameWidthReceived: 480], [googInterframeDelayMax: 42], [googJitterBufferMs: 142], [googMaxDecodeMs: 19], [googMinPlayoutDelayMs: 123], [googNacksSent: 25], [googPlisSent: 6], [googRenderDelayMs: 10], [googTargetDelayMs: 171], [googTrackId: janusv0], '}
데이터
id: ssrc_1565146015_recv, type: ssrc, timestamp: 1.544666160320464E12, values: [bytesReceived: 15259511], [codecImplementationName: HWDecoder], [framesDecoded: 1360], [mediaType: video], [packetsLost: 967], [packetsReceived: 13744], [qpSum: 26814], [ssrc: 1565146015], [transportId: Channel-audio-1], [googCaptureStartNtpTimeMs: 0], [googCodecName: VP8], [googContentType: realtime], [googCurrentDelayMs: 128], [googDecodeMs: 4], [googFirsSent: 0], [googFrameHeightReceived: 640], [googFrameRateDecoded: 0], [googFrameRateOutput: 0], [googFrameRateReceived: 0], [googFrameWidthReceived: 480], [googInterframeDelayMax: -1], [googJitterBufferMs: 116], [googMaxDecodeMs: 18], [googMinPlayoutDelayMs: 3], [googNacksSent: 415], [googPlisSent: 15], [googRenderDelayMs: 10], [googTargetDelayMs: 144], [googTrackId: janusv0],
RemonStatReport{ctx=RemonContext{context=kr.co.merryholiday.tripme.activities.LiveDetailActivity@6a747d9, config=com.remotemonster.sdk.Config@43202a5d, networkType=‘null’, os=‘android’, osVersion=27, device=‘SM-N960N’, carrier=‘LG U+’, location=‘kr’, audioFractionLost=[com.remotemonster.sdk.stat.FractionLost@7c6a2cd, com.remotemonster.sdk.stat.FractionLost@cbbf782, com.remotemonster.sdk.stat.FractionLost@1fe2e93, com.remotemonster.sdk.stat.FractionLost@41cced0, com.remotemonster.sdk.stat.FractionLost@c279ec9], videoFractionLost=[com.remotemonster.sdk.stat.FractionLost@7b609ce, com.remotemonster.sdk.stat.FractionLost@2d320ef, com.remotemonster.sdk.stat.FractionLost@fc807fc, com.remotemonster.sdk.stat.FractionLost@3825e85, com.remotemonster.sdk.stat.FractionLost@72cf4da], isMaster=true, isClosing=false, roomurl=‘null’, roomid=‘CHb2661529a90a4aa2be938dbf46bcf508’, presdp=null, channel=Channel{id=‘CHb2661529a90a4aa2be938dbf46bcf508:PE958290d22bdb4a5a9eb3540857bbb1d8’, serviceId=‘[email protected]’, type=VIEWER, msType=‘Janus’, status=null, startTime=1544667157256, config={}}, webSocketClient=com.remotemonster.sdk.network.WebSocketClient@b5add0b, eglBase=org.webrtc.EglBase14@68ba7e8, mediaManager=com.remotemonster.sdk.core.MediaManager@c0f5e01, peerConnectionManager=com.remotemonster.sdk.core.PeerConnectionManager@6f584a6, observer=com.remotemonster.sdk.RemonCast$1@294367c, state=COMPLETE, statObserver=com.remotemonster.sdk.stat.RemonStatObserver@3583ee7, localCapture=null}, localCandidate=‘prflx’, remoteCandidate=‘local’, localFrameWidth=0, localFrameHeight=0, remoteFrameWidth=480, remoteFrameHeight=640, localFrameRate=0, remoteFrameRate=0, availableSendBandwidth=300000, availableReceiveBandwidth=0, rtt=0, localAudioFractionLost=0, localVideoFractionLost=0, remoteAudioFractionLost=0, remoteVideoFractionLost=0, bytesReceived=10072843, fullStatReport='id: ssrc_3285616503_recv, type: ssrc, timestamp: 1.544667215679077E12, values: [bytesReceived: 10072843], [codecImplementationName: HWDecoder], [framesDecoded: 1017], [mediaType: video], [packetsLost: 274], [packetsReceived: 8916], [qpSum: 20808], [ssrc: 3285616503], [transportId: Channel-audio-1], [googCaptureStartNtpTimeMs: 0], [googCodecName: VP8], [googContentType: realtime], [googCurrentDelayMs: 150], [googDecodeMs: 3], [googFirsSent: 0], [googFrameHeightReceived: 640], [googFrameRateDecoded: 0], [googFrameRateOutput: 0], [googFrameRateReceived: 0], [googFrameWidthReceived: 480], [googInterframeDelayMax: -1], [googJitterBufferMs: 96], [googMaxDecodeMs: 12], [googMinPlayoutDelayMs: 150], [googNacksSent: 139], [googPlisSent: 16], [googRenderDelayMs: 10], [googTargetDelayMs: 150], [googTrackId: janusv0], '}
이상입니다.
감사합니다 ^^