nus-mtp / worldscope Goto Github PK
View Code? Open in Web Editor NEWAn open source live mobile broadcast platform. Worldscope's client runs on Android. The backend runs on Wowza and Node.js (using Hapi framework).
License: MIT License
An open source live mobile broadcast platform. Worldscope's client runs on Android. The backend runs on Wowza and Node.js (using Hapi framework).
License: MIT License
I am trying to stream to wowza server using WorldScope, i did streaming with front camera and it was good. But, when i used back camera(with ROTATION_90) my stream preview is getting rotated to 180 degree. i tried to rotate it from OnPreviewFrame() callback
` yuvImage = new Frame(imageWidth, imageHeight, Frame.DEPTH_UBYTE, 2);
/*Rotate it...*/
data = rotateYUV420Degree180(data,imageWidth, imageHeight);
((ByteBuffer)yuvImage.image[0].position(0)).put(data);`
`private byte[] rotateYUV420Degree180(byte[] data, int imageWidth, int imageHeight)
{
byte [] yuv = new byte[imageWidth_imageHeight_3/2];
int i = 0;
int count = 0;
for (i = imageWidth * imageHeight - 1; i >= 0; i--) {
yuv[count] = data[i];
count++;
}
i = imageWidth * imageHeight * 3 / 2 - 1;
for (i = imageWidth * imageHeight * 3 / 2 - 1; i >= imageWidth
* imageHeight; i -= 2) {
yuv[count++] = data[i - 1];
yuv[count++] = data[i];
}
return yuv;
}`
Please help me to fix this.
Hello, I'm Denis Bogdanas, a research assistant at Oregon Stat University.
I'm working on a tool that automatically introduces runtime permission checks and requests for Android 6 apps. As part of this study I analyzed this app. I was looking at the way permissions are referred in the code.
This app declares permissions <GET_ACCOUNTS, RECORD_AUDIO> in the apk manifest, but doesn't have any code that requires them. It is possible that source code doesn't declare the permissions. I only analyzed apk builds from f-droid. Yet android build mechanism may introduce them when the app uses certain libraries:
https://commonsware.com/blog/2015/06/25/hey-where-did-these-permissions-come-from.html
It won't create any problems on Android 6, but on Android 5- users may wonder why the app needs these permissions and be skeptical of installing the app.
Do you think this is an issue?
best regards,
Denis
I am getting java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avcodec while running android client on Android MarshMallow devices. Can you please provide me any suggestion to overcome this?
how solve this issue :
2019-05-05T00:42:45.991Z - info: [Authenticator.js] Authenticating with facebook 2019-05-05T00:42:46.001Z - info: [Platform.js] Requesting: https://graph.faceboo k.com/v2.5/me?access_token=EAACmysCm3moBAOPwkpJQzPDqZBUos6KIbiLqOmPwCxqIXcMhaqgF HMaWVpwxnTc496bZAtO24EuMZAcK37yUFnO4ZCVmZBveALsOVcBGdxlh8d4ZBnojSNW6tKHT964TM50t XxBMMXGuJXN73ZBdJnYPMr1KpHYVxw4UkglOJr2L35hzTOUUr99BWOmZBZCSEUU5p3w8K5zb7QZBdRWw iOHcMzZB7xZAgNw83tyHbzZA1xduZAFQZDZD (node:20972) [DEP0097] DeprecationWarning: Using a domain property in MakeCallba ck is deprecated. Use the async_context variant of MakeCallback or the AsyncReso urce class instead. 190505/014245.970, [response], http://RoyalblueHidden-VM:3000: post /api/users/l ogin {} 400 (374ms)
If WorldScope has its own servers, why does it use Facebook login? I'm worried about using Facebook to log into any service if it may (even in principle) mean that the service gets any access to my Facebook account.
Anyway, really interesting project! Is there some other place to discuss and ask questions? For instance, have you considered enabling gitter chat?
I followed instruction strictly and then when hit npm start , syntax error was thrown with
Authenticator.js:61
})().then((adapter) => adapter.getUser());
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Function. (F:\worldscope-master\app_server\node_modules\rfr\lib\rfr.js:160:12)
at Object. (F:\worldscope-master\app_server\app\Router.js:12:21)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
What should be the issue?
All is on the title.
Hello,
I'd like to use this app without connecting at facebook. It would be nice for privacy-aware users.
Thanks.
Found worldscope on fdriod, concept looks very neat, just curious why Facebook login is required? All the best!
Hi,
My Android devices is supporting 1280x720(Also tried different resolution) resolution and i am streaming with that resolution. But on while viewing preview it is not proper and it's streching.
Hello,
A facebook account is needed to connect cause there's not any other method, wich is unacceptable for privacy aware users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.