Hello. I have a problem using Android SDK 1.0.
- related post: https://forum.flashphoner.com/threads/roomapi-does-not-make-hasvideo-false.12835/
- WCS: 5.2.629-dd8778ba58690d19a44ed583cd116650fe511539
- Android SDK: wcs-android-sdk-1.0.1.70-30acadd1f221211d5867d13ad7ee97baff924d5f
PROBLEM:
The "mystream" can play but there is no audio.
And the "mystream" will be forced to automatically UNPUBLISHED after some seconds with
TEMPORARY WORKAROUND(2 WAY):
a. Use Android SDK 1.1
b. Change
Either way, it looks like this.
(missing "videoCodec". It is correct I expected)
The "mystream" can play with audio and "mystream" will not be UNPUBLISHED.
WHAT I WANT YOU TO DO:
About a., I want to use Android SDK 1.0 to support Android 5.0, so I can't use 1.1.
About b., I want to use video in other case, so I can't omit H264 from codecs.
Could you please get it to work correctly in Android SDK 1.0?
- related post: https://forum.flashphoner.com/threads/roomapi-does-not-make-hasvideo-false.12835/
- WCS: 5.2.629-dd8778ba58690d19a44ed583cd116650fe511539
- Android SDK: wcs-android-sdk-1.0.1.70-30acadd1f221211d5867d13ad7ee97baff924d5f
PROBLEM:
Code:
const options = new StreamOptions();
options.setConstraints(new Constraints(true, false)); // video is false
room.publish(null, options)
Code:
StreamStatusEvent {
"appKey" : "roomApp",
"name" : "mystream",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "PUBLISHING",
"audioCodec" : "opus",
"videoCodec" : "H264",
"record" : false,
}
And the "mystream" will be forced to automatically UNPUBLISHED after some seconds with
"Failed by RTP activity"
.TEMPORARY WORKAROUND(2 WAY):
a. Use Android SDK 1.1
b. Change
codecs
property in flashphoner.properties to codecs=opus
only,Either way, it looks like this.
Code:
StreamStatusEvent {
"appKey" : "roomApp",
"name" : "mystream",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "PUBLISHING",
"audioCodec" : "opus",
"record" : false,
}
The "mystream" can play with audio and "mystream" will not be UNPUBLISHED.
WHAT I WANT YOU TO DO:
About a., I want to use Android SDK 1.0 to support Android 5.0, so I can't use 1.1.
About b., I want to use video in other case, so I can't omit H264 from codecs.
Could you please get it to work correctly in Android SDK 1.0?