Comments (22)
Help..anyone? I would like to test use it but this is a deal-breaker at this point. Opensourcing would allow us to modify it to our needs, much faster
from pldroidmediastreaming.
Sorry for the late reply. There is no plan to open the source code at present. The stopStreaming
when switch camera issue is on going now.
from pldroidmediastreaming.
Thanks for the update. Approximately when can we expect the camera switch
to be fixed?
I am using Kickflip streaming sdk. It's open source and I was able to add
filters to video streaming. Your sdk looks great and I was testing it and
really liked it. But it does not have support of filters, square aspect
ratio. Otherwise we would have used it right away in our app. If it was
open source I could have added some of these features as well.
Hope you consider adding these features soon so that we can use it.
On Aug 23, 2015 7:32 AM, "jpxiong" [email protected] wrote:
Sorry for the late reply. There is no plan to open the source code at
present. The stopStreaming when switch camera issue is on going now.—
Reply to this email directly or view it on GitHub
#17 (comment)
.
from pldroidmediastreaming.
Thanks.
The stopStreaming
issue is caused by ffmpeg. So we must remove it and implement the related part by ourselves. It's not easy to do it. There are so many detailed works to do, like packet the video/audio data, etc. Thus, I guess we will cost about at least a week to finish it.
Filters will be supported in next stage, but not straightforwardly. We will support the related interface and you can use the API to do it easily.
Square aspect ratio, i will add it to my work schedule. BTW, what's the requirement used to ?
from pldroidmediastreaming.
We are a live streaming and video streaming App. But we work with square videos so that they can be easily displayed and played within the feed(like instagram feeds). Its a video related app, so filters is a big requirement atleast in near future.
We initially started with Kickflip, but HLS did not suit us. So built an entirely new sdk inhouse for RTMP. We are an extremely small team and maintaining SDKs are not easy. So we were exploring additional options when we came across your SDK. Since it comes from Pili, we assume it would have faster cycles (release, bug fixes etc..) and would be lot more stable. For Android 4.1+ - 4.3 we will continue using FFMpeg directly. But for 4.3+ we intended to use SDKs like yours.
So the camera switch problem, square video output, live and dynamic filters are the biggest things that we require apart from the other great features your sdk already includes (like screenshot generator)
from pldroidmediastreaming.
One more requirement is to be able to record it locally instead of streaming. I am not sure if that is currently possible with your SDK.
This is not an absolute requirement though, as we are anyways using javacv for streaming in android 16,17. We can use that to record as well. But I assume implementing recording to local file is trivial and can be implemented easily, if not implemented yet.
from pldroidmediastreaming.
Yes, locally record is supported. You just need simply remove the setStreamingProfile(mProfile)
, as following:
CameraStreamingSetting setting = new CameraStreamingSetting();
setting.setCameraId(Camera.CameraInfo.CAMERA_FACING_BACK)
.setContinuousFocusModeEnabled(true)
// .setStreamingProfile(mProfile)
.setCameraPrvSizeLevel(CameraStreamingSetting.PREVIEW_SIZE_LEVEL.MEDIUM)
.setCameraPrvSizeRatio(CameraStreamingSetting.PREVIEW_SIZE_RATIO.RATIO_16_9);
But i'm not sure that's what you expected.
Please try it on version 1.3.0 (the Pull Request is ready, waiting for our server upgrade). The video recording locally can't play on v1.2.3.
from pldroidmediastreaming.
Thanks, where do I set the output location for local recording.
On Aug 24, 2015 7:43 PM, "jpxiong" [email protected] wrote:
Yes, locally record is supported. You just need simply remove the
setStreamingProfile(mProfile), as following:CameraStreamingSetting setting = new CameraStreamingSetting(); setting.setCameraId(Camera.CameraInfo.CAMERA_FACING_BACK) .setContinuousFocusModeEnabled(true)
// .setStreamingProfile(mProfile)
.setCameraPrvSizeLevel(CameraStreamingSetting.PREVIEW_SIZE_LEVEL.MEDIUM)
.setCameraPrvSizeRatio(CameraStreamingSetting.PREVIEW_SIZE_RATIO.RATIO_16_9);But i'm not sure that's what you expected.
Please try it on version 1.3.0 (the Pull Request is ready, waiting for our
server upgrade). The video recording locally can't play on v1.2.3.—
Reply to this email directly or view it on GitHub
#17 (comment)
.
from pldroidmediastreaming.
There is no API to set the output location for local recording.
Environment.getExternalStorageDirectory().getAbsolutePath() + "/pldroid-recording.mp4"
is the default output location.
The local recording is just for debugging at first.
from pldroidmediastreaming.
Is it possible to add api for local recording in next version? I believe it
should not be a very big change.
On Aug 24, 2015 9:21 PM, "jpxiong" [email protected] wrote:
There is no API to set the output location for local recording.
Environment.getExternalStorageDirectory().getAbsolutePath() +
"/pldroid-recording.mp4" is the default output location.The local recording is just for debugging at first.
—
Reply to this email directly or view it on GitHub
#17 (comment)
.
from pldroidmediastreaming.
Sure.
from pldroidmediastreaming.
Awesome, thanks a lot.
On Aug 24, 2015 9:27 PM, "jpxiong" [email protected] wrote:
Sure.
—
Reply to this email directly or view it on GitHub
#17 (comment)
.
from pldroidmediastreaming.
Thanks for adding support for Local recording api in 1.3.1. Also Stream update is a welcome change.
Is the Camera switch, without stopping Streaming, fixed in this version?
from pldroidmediastreaming.
Not yet. Next version is the target.
from pldroidmediastreaming.
Hi how is the progress. Can we expect an update this week? Just that we are eager to test it out.
from pldroidmediastreaming.
The ffmpeg had been removed successfully. Adding the logic of stopping connection and more test are what i am doing. Release the new version Friday or Saturday this week is the plan.
from pldroidmediastreaming.
So to confirm
- In this new version, camera switch will not cause the streaming to stop
and start - In this new version, streaming quality change will not cause the
streaming to stop and start...
Am I correct?
On Wed, Sep 9, 2015 at 7:45 AM, jpxiong [email protected] wrote:
The ffmpeg had been removed successfully. Adding the logic of stopping
connection and more test are what i am doing.—
Reply to this email directly or view it on GitHub
#17 (comment)
.
Regards,
Das, DET Labs
from pldroidmediastreaming.
Yes. That's right.
from pldroidmediastreaming.
Does this new version 1.3.2 fix the camera switching and quality switching issues with streaming stopping and restarting?
from pldroidmediastreaming.
v1.3.2 just fix the issue caused by soft keyboard.
v1.3.3 is ready now, and i'm doing the final test now.
from pldroidmediastreaming.
from pldroidmediastreaming.
Switching camera is still stopping the streaming. The code still shows the following. It still calls stopStreaming
public boolean switchCamera() {
if(this.r) {
Log.i("CameraStreamingManager", "Pure Audio Streaming, can't switch camera!");
return false;
} else {
Log.i("CameraStreamingManager", "switchCamera current cameraid:" + this.m);
this.c.b();
this.stopStreaming();
this.i();
this.b.onPause();
if(this.m == 0) {
this.m = 1;
} else {
this.m = 0;
}
if(this.b(this.m)) {
this.C = true;
}
this.b.onResume();
return true;
}
}
from pldroidmediastreaming.
Related Issues (20)
- 录屏推流需要使用CameraPreviewFrameView吗?
- 视频进度条 HOT 1
- Access denied finding property "camera.aux.packagelist"
- 推流端预览左右两边有黑色 HOT 1
- 如何推流前预览? HOT 1
- 开始推流后 返回状态码 streamingState = UNAUTHORIZED_STREAMING_URL extra = -3 HOT 1
- 快速开始是不是已经不能快速开始了? HOT 1
- targetSdkVersion 29录屏会闪退 HOT 1
- 编译报错,与我的项目中使用的库有冲突? HOT 2
- 通过captureFrame截帧,图像变形。
- 引用happy-dns,还报NoSuchMethodError错误 HOT 4
- No static method defaultResolver() HOT 3
- Issue with the support of 64 bit libraries.
- Unauthorized Package while starting the Streaming
- Pili Streaming not working with Pili Android Version 2.4.0
- activity添加两个fragment,使用懒加载,第二个fragment,无法调起相机 HOT 1
- 最新Demo运行不起来 HOT 3
- 急急急,请问为啥下载的apk demo是牛直播,github上下载的代码跑起来又不像同一个app
- 播放器拉流问题
- 如何直接推一段音频?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pldroidmediastreaming.