Skip to content

night-angel-star/FaceSwapPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SamplePlugin

This is a sample plugin project for Ant Media Server. You can use this a basis for your plugin. With this plugin you can find:

  • Accessing the Ant Media Server ie. AntMediaApplicationAdaptor class
  • Registration of the plugin as the PacketListener and/or FrameListener
  • Consuming packets and/or frames
  • REST interface implementation

Prerequests

  • Install Ant Media Server
  • Install Maven

Quick Start

  • Clone the repository and go the FaceSwap Plugin Directory
    git clone https://github.com/ant-media/Plugins.git
    cd Plugins/FaceSwapPlugin/
  • Build the FaceSwap Plugin
    mvn install  -Dgpg.skip=true
  • Copy the generated jar file to your Ant Media Server's plugin directory
    sudo cp target/face-swap-plugin-1.0.0.jar /usr/local/antmedia/plugins
  • Restart the Ant Media Server
    sudo service antmedia restart
    
  • Publish/unPublish a Live Stream to Ant Media Server with WebRTC/RTMP/RTSP
  • Check the logs on the server side
    tail -f /usr/local/antmedia/log/ant-media-server.log
    
    You would see the following logs
    ...
    ...
    ...
    io.antmedia.plugin.FaceSwapPlugin - *************** Stream Started: streamIdXXXXX ***************
    ...
    ...
    ...
    io.antmedia.plugin.FaceSwapPlugin - *************** Stream Finished: streamIdXXXXX ***************
    ...
    ...
    ...
    

For more information about the plugins, visit this post

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published