Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candidate sending error - response was not successful. #68

Open
zoujiaqing opened this issue Nov 26, 2024 · 0 comments
Open

Candidate sending error - response was not successful. #68

zoujiaqing opened this issue Nov 26, 2024 · 0 comments

Comments

@zoujiaqing
Copy link


2024-11-26 18:38:10.329  8766-8807  org.webrtc.Logging      com.swmansion.whipwhepdemo           I  NetworkMonitor: Start monitoring with native observer -5476376636849365040 fieldTrialsString: 
2024-11-26 18:38:10.330  8766-8807  TetheringManager        com.swmansion.whipwhepdemo           I  registerTetheringEventCallback:com.swmansion.whipwhepdemo
2024-11-26 18:38:10.335  8766-8826  org.webrtc.Logging      com.swmansion.whipwhepdemo           I  NetworkMonitorAutoDetect: Network handle: 437197393933 becomes available: 101
2024-11-26 18:38:10.336  8766-8809  WHIP/WHEP Client        com.swmansion.whipwhepdemo           D  RTC ICE gathering state changed: GATHERING
2024-11-26 18:38:10.337  8766-8826  org.webrtc.Logging      com.swmansion.whipwhepdemo           I  NetworkMonitorAutoDetect: handle: 437197393933 capabilities changed: [ Transports: CELLULAR Capabilities: MMS&SUPL&DUN&FOTA&IMS&CBS&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED&PARTIAL_CONNECTIVITY LinkUpBandwidth>=15000Kbps LinkDnBandwidth>=30000Kbps Specifier: <TelephonyNetworkSpecifier [mSubId = 1]> AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null]
2024-11-26 18:38:10.339  8766-8826  org.webrtc.Logging      com.swmansion.whipwhepdemo           I  NetworkMonitorAutoDetect: handle: 437197393933 link properties changed
2024-11-26 18:38:10.386  8766-8766  AndroidRuntime          com.swmansion.whipwhepdemo           E  FATAL EXCEPTION: main
                                                                                                    Process: com.swmansion.whipwhepdemo, PID: 8766
                                                                                                    com.mobilewhep.client.SessionNetworkError$CandidateSendingError: Candidate sending error - response was not successful.
                                                                                                    	at com.mobilewhep.client.ClientBase$sendCandidate$2$1.onResponse(ClientBase.kt:250)
                                                                                                    	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
                                                                                                    	at java.lang.Thread.run(Thread.java:923)
                                                                                                    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@9530751, Dispatchers.Main.immediate]
2024-11-26 18:38:10.442  8766-8845  Process                 com.swmansion.whipwhepdemo           I  Sending signal. PID: 8766 SIG: 9

local.properties

WHEP_SERVER_URL=http://10.0.2.2:8889/1/whep
WHIP_SERVER_URL=http://10.0.2.2:8889/1/whip

mediamtx logs:

2024/11/26 18:22:28 INF MediaMTX v1.9.3
2024/11/26 18:22:28 INF configuration loaded from /Users/zoujiaqing/Programs/mediamtx/mediamtx.yml
2024/11/26 18:22:28 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2024/11/26 18:22:28 INF [RTMP] listener opened on :1935
2024/11/26 18:22:28 INF [HLS] listener opened on :8888
2024/11/26 18:22:28 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP)
2024/11/26 18:22:28 INF [SRT] listener opened on :8890 (UDP)

# for WHEP
2024/11/26 18:42:47 INF [WebRTC] [session 243b340e] created by 127.0.0.1:61745
2024/11/26 18:42:47 INF [WebRTC] [session 243b340e] closed: no one is publishing to path '1'

# for WHIP
2024/11/26 18:43:10 INF [WebRTC] [session 376ea944] created by 127.0.0.1:61832
2024/11/26 18:43:20 INF [WebRTC] [session 376ea944] closed: deadline exceeded while waiting connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant