libstreaming-master.zip

时间:2022-08-26 04:25:25
【文件属性】:

文件名称:libstreaming-master.zip

文件大小:343KB

文件格式:ZIP

更新时间:2022-08-26 04:25:25

RTSP android

使用libstreaming 实现的Android推流,亲测可用 Editor editor = PreferenceManager.getDefaultSharedPreferences(this).edit(); editor.putString(RtspServer.KEY_PORT, String.valueOf(1234)); editor.commit(); SessionBuilder.getInstance() .setSurfaceView(mSurfaceView) .setPreviewOrientation(90) .setContext(getApplicationContext()) .setVideoEncoder(SessionBuilder.VIDEO_H264) .setVideoQuality(new VideoQuality(1280, 720)); this.startService(new Intent(this,RtspServer.class));


网友评论