GithubHelp home page GithubHelp logo

harsh-special / gocoder-sdk-camera2-shaders Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wowzamediasystems/gocoder-sdk-camera2-shaders

0.0 1.0 0.0 196 KB

Live streaming with real-time video filters using the Wowza GoCoder SDK

Home Page: https://www.wowza.com/products/gocoder

License: Other

GLSL 1.17% Java 98.83%

gocoder-sdk-camera2-shaders's Introduction

GoCoder SDK Camera2 Shaders Example

Live streaming with real-time video filters using the Wowza GoCoder SDK™

This sample code is based on Google's shadercam library and extends the shadercam-example app with live streaming support using the GoCoder SDK. The camera preview display is based on Android's camera2 API with real-time filtering using the OpenGL Shading Language (GLSL).

The shadercam-example app was updated to support live streaming by adding a new renderer class (StreamingRenderer) that uses the WZGLBroadcaster API class and WZRenderAPI.VideoFrameRenderer interface from the GoCoder SDK to encode each frame for the video stream while a live broadcast is active.

Development Requirements

Building and running the app

Follow the steps below before attempting to build this app for the first time:

  1. Copy the GoCoder SDK aar library file (com.wowza.gocoder.sdk.aar) to the gocoder-sdk-shaders/libs folder.

  2. Edit the lines displayed below, also from the StreamingShaderActivity class. with the configuration settings specific to your Wowza Streaming Engine installation or Wowza Cloud account:

    mWZBroadcastConfig.setHostAddress("192.168.1.246");
    mWZBroadcastConfig.setPortNumber(1935);
    mWZBroadcastConfig.setApplicationName("live");
    mWZBroadcastConfig.setStreamName("myStream");
    mWZBroadcastConfig.setUsername(null);
    mWZBroadcastConfig.setPassword(null);

Additional resources

Wowza Media Systems™ provides developers with a platform to create streaming applications and solutions. See Wowza Developer Tools to learn more about our APIs and SDK.

Contact

Wowza Media Systems, LLC

License

This code is distributed under the Wowza Public License.

gocoder-sdk-camera2-shaders's People

Contributors

robgabbard-wowza avatar wowzaefjm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.