openvidu-test-e2e: print android device status

v2
pabloFuente 2025-11-06 11:44:44 +01:00
parent afdbe9e236
commit 79e2385358
1 changed files with 93 additions and 91 deletions

View File

@ -69,8 +69,10 @@ public class OpenViduTestE2e {
@Override
protected void waitUntilReady() {
retryUntilSuccess(600, TimeUnit.SECONDS, () -> {
if (!"READY".equals(
this.waitStrategyTarget.execInContainer("bash", "-c", "cat device_status").getStdout())) {
String deviceStatus = this.waitStrategyTarget.execInContainer("bash", "-c", "cat device_status")
.getStdout();
log.info("Device status: {}", deviceStatus);
if (!"READY".equals(deviceStatus.trim())) {
throw new Exception();
}
return true;
@ -81,7 +83,7 @@ public class OpenViduTestE2e {
// Media server variables
final protected static String KURENTO_IMAGE = "kurento/kurento-media-server";
final protected static String MEDIASOUP_IMAGE = "openvidu/mediasoup-controller";
protected static String MEDIA_SERVER_IMAGE = KURENTO_IMAGE + ":6.18.0";
protected static String MEDIA_SERVER_IMAGE = KURENTO_IMAGE + ":7.2.0";
final protected String DEFAULT_JSON_SESSION = "{'id':'STR','object':'session','sessionId':'STR','createdAt':0,'mediaMode':'STR','recordingMode':'STR','defaultRecordingProperties':{'hasVideo':true,'frameRate':25,'hasAudio':true,'shmSize':536870912,'name':'','outputMode':'COMPOSED','resolution':'1280x720','recordingLayout':'BEST_FIT'},'customSessionId':'STR','connections':{'numberOfElements':0,'content':[]},'recording':false,'broadcasting':false,'forcedVideoCodec':'STR','allowTranscoding':false}";
final protected String DEFAULT_JSON_PENDING_CONNECTION = "{'id':'STR','object':'connection','type':'WEBRTC','status':'pending','connectionId':'STR','sessionId':'STR','createdAt':0,'activeAt':null,'location':null,'ip':null,'platform':null,'token':'STR','serverData':'STR','record':true,'role':'STR','kurentoOptions':null,'rtspUri':null,'adaptativeBitrate':null,'onlyPlayWithSubscribers':null,'networkCache':null,'clientData':null,'publishers':null,'subscribers':null, 'customIceServers':[]}";