RTCConfiguration.stunCandidateKeepaliveIntervalMs causes a SIGSEGV crash

Open
#230 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start by reproducing the issue with PeerConnection.RTCConfiguration, setting stunCandidateKeepaliveIntervalMs, and calling factory.createPeerConnection(rtcConfig, peerConnObserver). Use the resulting SIGSEGV to trace the failure across the Android WebRTC integration. Done means this sequence no longer crashes for integer keepalive values.

Written by the indexing model from the issue text.

Description

Setting a value to the stunCandidateKeepaliveIntervalMs field in RTCConfiguration object cause a SIGSEGV crash when creating peer connection.

val rtcConfig = PeerConnection.RTCConfiguration(iceServers);
rtcConfig.stunCandidateKeepaliveIntervalMs = 60000 

After setting the value of stunCandidateKeepaliveIntervalMs to any integer, the crash happens when I call
factory.createPeerConnection(rtcConfig, peerConnObserver)

Dominant language
Kotlin
Stars
890
Forks
109
Avg merge
11m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/webrtc-android

All issues in GetStream/webrtc-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.