ddssingsong / webrtc_android

webrtc VideoCall VideoConference 视频通话 视频会议
https://blog.csdn.net/u011077027/article/details/86225524
MIT License
1.53k stars 500 forks source link

VoipReceiver not invoke when new incoming call . #60

Open rachitmishra468 opened 2 years ago

rachitmishra468 commented 2 years ago

hi,

I Am try this code . but i facing some issue . when i kill the app . so I am not received any call . please suggest me how to resolve this issue .

ddssingsong commented 2 years ago

e...... don't u have google gcm

rachitmishra468 commented 2 years ago

i have FCM but . <service android:name=".service.MyFirebaseMessagingService" android:exported="false">

    </service>

    <activity
        android:name=".audiovideocall.LauncherActivity"
        android:label="@string/app_name"
        android:theme="@style/AppTheme.NoActionBar"></activity>
    <activity
        android:name=".audiovideocall.voip.CallSingleActivity"
        android:screenOrientation="portrait"
        android:showOnLockScreen="true"
        android:showWhenLocked="true"
        android:theme="@style/AppTheme.NoActionBar"
        tools:ignore="UnusedAttribute">
        <intent-filter>
            <action android:name="${applicationId}.kit.voip.single" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

    <receiver android:name=".audiovideocall.voip.VoipReceiver">
        <intent-filter>
            <action android:name="${applicationId}.voip.Receiver" />
        </intent-filter>
    </receiver> <!-- 悬浮窗 -->
    <service
        android:name=".audiovideocall.voip.FloatingVoipService"
        android:enabled="true"
        android:exported="true" />

can you please suggest me which class Tigger when incoming getting , application kill stage . and i use compileSdkVersion 30 , so can you share any link .. related to this .