[*] 去掉rtp功能
This commit is contained in:
@@ -27,7 +27,6 @@ import androidx.core.app.ActivityCompat;
|
||||
import com.acgist.taoyao.client.databinding.ActivityMainBinding;
|
||||
import com.acgist.taoyao.client.signal.Taoyao;
|
||||
import com.acgist.taoyao.media.MediaManager;
|
||||
import com.acgist.taoyao.media.TransportType;
|
||||
import com.acgist.taoyao.media.VideoSourceType;
|
||||
import com.acgist.taoyao.media.config.Config;
|
||||
|
||||
@@ -128,7 +127,6 @@ public class MainActivity extends AppCompatActivity implements Serializable {
|
||||
resources.getInteger(R.integer.iFrameInterval),
|
||||
resources.getString(R.string.storagePathImage),
|
||||
resources.getString(R.string.storagePathVideo),
|
||||
TransportType.valueOf(resources.getString(R.string.transportType)),
|
||||
VideoSourceType.valueOf(resources.getString(R.string.videoSourceType))
|
||||
);
|
||||
final Display display = this.getWindow().getContext().getDisplay();
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
<string name="encrypt">DES</string>
|
||||
<!-- 信令加密密钥 -->
|
||||
<string name="encryptSecret">2SPWy+TF1zM=</string>
|
||||
<!-- 文件存储目录 -->
|
||||
<!-- 图片存储目录 -->
|
||||
<string name="storagePathImage">/taoyao/image</string>
|
||||
<!-- 视频存储目录 -->
|
||||
<string name="storagePathVideo">/taoyao/video</string>
|
||||
<!-- 传输类型:RTP|WEBRTC -->
|
||||
<string name="transportType">WEBRTC</string>
|
||||
<!-- 视频来源:FILE|BACK|FRONT|SCREEN -->
|
||||
<string name="videoSourceType">BACK</string>
|
||||
<!-- 媒体配置:是否消费数据 -->
|
||||
@@ -35,9 +34,14 @@
|
||||
<bool name="audioProduce">true</bool>
|
||||
<!-- 媒体配置:是否生产视频 -->
|
||||
<bool name="videoProduce">true</bool>
|
||||
<!-- 图片质量 -->
|
||||
<integer name="imageQuantity">100</integer>
|
||||
<!-- 音频质量 -->
|
||||
<string name="audioQuantity">fd-audio</string>
|
||||
<!-- 视频质量 -->
|
||||
<string name="videoQuantity">fd-video</string>
|
||||
<!-- 音频通道数量 -->
|
||||
<integer name="channelCount">1</integer>
|
||||
<!-- 视频关键帧频率 -->
|
||||
<integer name="iFrameInterval">1</integer>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user