ネットワーク速度に基づいて通話中の sip のビデオ解像度を変更したいです。多くのことを試しましたが失敗しました
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.