Skip to content

Video is not playing with TLS1.3 camera server #26

@RajendraNayak

Description

@RajendraNayak

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions