imsdroid icon indicating copy to clipboard operation
imsdroid copied to clipboard

change video resolution in sip mid call

Open mansuu opened this issue 9 years ago • 0 comments

I want to change video resolution in sip mid call based on network speed.I tried a lot but failed One of my trials is i reinvite second person with updated resolution code is NgnAVSession session= NgnAVSession.getSession(new NgnPredicate<NgnAVSession>() {

            @Override
            public boolean apply(NgnAVSession session) {
                // TODO Auto-generated method stub
                return session.isActive();
            }


        });
        //INgnConfigurationService configurationService = Engine.getInstance().getConfigurationService();
        MediaSessionMgr.defaultsSetPrefVideoSize(tmedia_pref_video_size_t.tmedia_pref_video_size_720p);
        //session.getMediaSessionMgr().defaultsSetPrefVideoSize(tmedia_pref_video_size_t.tmedia_pref_video_size_720p);

    session.makeCall(remoteUri);

but it does not work also.

mansuu avatar Dec 24 '15 09:12 mansuu