Skip to content

Commit

Permalink
Merge pull request #187 from ant-media/fix-introduction-plugin-structure
Browse files Browse the repository at this point in the history
Update introduction-plugin-structure.md
  • Loading branch information
Mohit-3196 authored Dec 22, 2023
2 parents 96abc87 + 0802d0d commit 9e0a147
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Ant Media plug-in architecture allows developers to customize the video feed whi
In the most basic explanation, a plug-in is added into the regular flow of AMS in ways that we will examine.
Here is what a plugin data flow looks like;

![Screenshot from 2022-04-04 16-19-31.png](@site/static/img/Screenshotfrom2022-04-04 16-19-31.png)
![](@site/static/img/developer-guides/plugin-data-flow.png)

You can either get the decoded video frames( IFrameListener interface )or encoded video packets ( IPacketListener interface ) from Ant Media Server, then you can do whatever customization you require to do with them.

Expand Down Expand Up @@ -70,4 +70,4 @@ Methods of IPacketListener:

* **void setAudioStreamInfo(String streamId, StreamParametersInfo audioStreamInfo)**

audio stream properties are sent to the plugin with this method.
audio stream properties are sent to the plugin with this method.
1 change: 1 addition & 0 deletions static/img/developer-guides/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added static/img/developer-guides/plugin-data-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9e0a147

Please sign in to comment.