open-webrtc-toolkit / owt-client-android

Open WebRTC Toolkit client SDK for Android applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
195 stars 96 forks source link

rejoin confrence When not kill process and exit application, the video is black. #115

Open AU4U opened 5 years ago

AU4U commented 5 years ago
  1. join a conference.
  2. Press desconnnect button.
  3. Press cack button at Login Layout . exit the app.
  4. Enter again.
  5. Press connect button, rejoin conference. the screen is black. 100% reproduction. in XiaoMi Mix2 Android version 8.0.0
WenyuanWu99 commented 5 years ago

It seems that some resources were taken. You can solve this by add below in src/sample/conference/src/main/java/owt/sample/conference/MainActivity.java

    @Override
    protected void onDestroy() {
        super.onDestroy();

        System.exit(0);
    }

use System.exit(0); to release resources.

raviteja74 commented 4 years ago

Duplicate of #232