-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Hi Team,
I am using this android SDK for my app.
SDK is working well & video is playing perfectly in app when backend camera server has TLS1.2 environment however video is not playing when it’s TLS 1.3
I am getting “Unable to connect to server” error.
I am using below config for MediaPlayer, do I need to set any additional parameters in order to work with TLS1.3?
Please help me, thanks in Advance.
Rajendra
MediaPlayerConfig.setLogLevelForJavaPart(MediaPlayerConfig.LogLevel.TRACE);
MediaPlayerConfig.setLogLevelForMediaPart(MediaPlayerConfig.LogLevel.DEBUG);
this.context = context;
this.url = url;
this.cameraEntity = entity;
this.id = siteId
this.config = new MediaPlayerConfig();
this.config.setConnectionUrl(this.url);
this.config.setConnectionBufferingTime(1000);
this.config.setConnectionDetectionTime(1000);
this.config.setAspectRatioMode(0);
this.isReconnecting = false;
this.config.setConnectionNetworkProtocol(3);
this.config.setInterruptOnClose(1);
this.config.setFastDetect(1);
this.config.setDecodingType(0);
this.config.setStartPreroll(0);
this.player = new MediaPlayer(context, false);
this.player.setSourceCommandNotifyListener(this);
Metadata
Metadata
Assignees
Labels
No labels