2019-05-24 12:16:36 +00:00
|
|
|
// Copyright (C) 2017 Author: Arun Raghavan <arun@arunraghavan.net>
|
|
|
|
//
|
2022-01-15 18:40:12 +00:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
|
|
|
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
|
|
|
// <https://mozilla.org/MPL/2.0/>.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2022-08-29 15:41:33 +00:00
|
|
|
#![allow(clippy::non_send_fields_in_send_ty, unused_doc_comments)]
|
2019-05-24 12:16:36 +00:00
|
|
|
|
2022-08-25 22:30:08 +00:00
|
|
|
/**
|
|
|
|
* plugin-aws:
|
|
|
|
*
|
|
|
|
* Since: plugins-rs-0.1
|
|
|
|
*/
|
2021-06-03 18:20:54 +00:00
|
|
|
use gst::glib;
|
|
|
|
|
2022-05-27 06:16:35 +00:00
|
|
|
mod s3hlssink;
|
2019-06-12 08:07:39 +00:00
|
|
|
mod s3sink;
|
2019-05-24 12:16:36 +00:00
|
|
|
mod s3src;
|
|
|
|
mod s3url;
|
2019-06-12 08:07:39 +00:00
|
|
|
mod s3utils;
|
2023-02-27 18:18:27 +00:00
|
|
|
mod transcribe_parse;
|
|
|
|
mod transcriber;
|
2019-05-24 12:16:36 +00:00
|
|
|
|
2023-02-27 18:18:27 +00:00
|
|
|
pub use transcriber::AwsTranscriberResultStability;
|
2022-02-06 14:11:12 +00:00
|
|
|
|
2019-05-24 12:16:36 +00:00
|
|
|
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
2019-06-12 08:07:39 +00:00
|
|
|
s3sink::register(plugin)?;
|
|
|
|
s3src::register(plugin)?;
|
2023-02-27 18:18:27 +00:00
|
|
|
transcribe_parse::register(plugin)?;
|
|
|
|
transcriber::register(plugin)?;
|
2022-05-27 06:16:35 +00:00
|
|
|
s3hlssink::register(plugin)?;
|
2019-06-12 08:07:39 +00:00
|
|
|
|
|
|
|
Ok(())
|
2019-05-24 12:16:36 +00:00
|
|
|
}
|
|
|
|
|
2020-12-20 18:43:45 +00:00
|
|
|
gst::plugin_define!(
|
2022-05-26 09:52:42 +00:00
|
|
|
aws,
|
2019-06-03 10:53:58 +00:00
|
|
|
env!("CARGO_PKG_DESCRIPTION"),
|
2019-05-24 12:16:36 +00:00
|
|
|
plugin_init,
|
2019-06-03 10:53:58 +00:00
|
|
|
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
2022-01-15 18:40:12 +00:00
|
|
|
// FIXME: MPL-2.0 is only allowed since 1.18.3 (as unknown) and 1.20 (as known)
|
|
|
|
"MPL",
|
2019-06-03 10:53:58 +00:00
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_NAME"),
|
|
|
|
env!("CARGO_PKG_REPOSITORY"),
|
|
|
|
env!("BUILD_REL_DATE")
|
2019-05-24 12:16:36 +00:00
|
|
|
);
|