-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DIOS-5052 attach VideoDecoder to depacketizer instead of source (#9)
* attach VideoDecoder to depacketizer instead of source * Update lib/VideoDecoder.js Co-authored-by: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> * another typo * anooooother typo * rename VideoDecoderFacade.i to VideoDecoderWorker.i * Fixes * Update to new VideoDecoder apis --------- Co-authored-by: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
- Loading branch information
1 parent
340b270
commit 6f500e1
Showing
6 changed files
with
260 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%include "MediaFrame.i" | ||
|
||
struct VideoDecoderWorker : public MediaFrameListener | ||
{ | ||
int Start(); | ||
void AddVideoOutput(VideoOutput* ouput); | ||
void RemoveVideoOutput(VideoOutput* ouput); | ||
int Stop(); | ||
}; | ||
|
||
SHARED_PTR_BEGIN(VideoDecoderWorker) | ||
{ | ||
VideoDecoderWorkerShared() | ||
{ | ||
return new std::shared_ptr<VideoDecoderWorker>(new VideoDecoderWorker()); | ||
} | ||
SHARED_PTR_TO(MediaFrameListener) | ||
} | ||
SHARED_PTR_END(VideoDecoderWorker) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.