Skip to content

Commit 1ad4d89

Browse files
committed
Use E-RTMP instead of ERTMP
Per https://veovera.org/docs/enhanced/enhanced-rtmp-v2.html#conventions forms other than E-RTMP should be avoided
1 parent e010354 commit 1ad4d89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Samples in multiple programming languages demonstrate how to use the Enhanced RTMP Multitrack Video feature to stream multiple video tracks to an Amazon IVS Stage or Channel.
44

55
>[!CAUTION]
6-
> **Use at Your Own Risk: This is a starting code sample designed to help developers get started with basic functionality. It is not production-ready and will require additional development work to be suitable for production use. This sample is not intended to bridge that gap, it is only meant to demonstrate the usage of ERTMP multitrack from FFmpeg to stream to Amazon IVS Real-Time.**
6+
> **Use at Your Own Risk: This is a starting code sample designed to help developers get started with basic functionality. It is not production-ready and will require additional development work to be suitable for production use. This sample is not intended to bridge that gap, it is only meant to demonstrate the usage of E-RTMP multitrack from FFmpeg to stream to Amazon IVS Real-Time.**
77
>It is **not** intended for production use. Its primary goal is to help you understand the concepts and capabilities of Amazon IVS. By using this solution, you understand and accept its risks and limitations.
88
>
99
> While functional, users should be aware of the following considerations:

cpp/src/getclientconfiguration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ nlohmann::json generate_postdata(const char *stream_key, const Tracks &tracks) {
7474
}
7575
},
7676
"client" : {
77-
"name" : "ertmp-multitrack c++ sample",
77+
"name" : "e-rtmp-multitrack c++ sample",
7878
"supported_codecs" : [ "h264" ],
7979
"version" : "1.0"
8080
},
@@ -177,7 +177,7 @@ extern "C" bool query_getclientconfiguration(Tracks *tracks,
177177
curl_slist_append(nullptr, "Content-Type: application/json"),
178178
curl_slist_free_all);
179179
hs.reset(curl_slist_append(hs.release(),
180-
"User-Agent: ertmp-multitrack c++ sample"));
180+
"User-Agent: e-rtmp-multitrack c++ sample"));
181181
curl_easy_setopt(curl.get(), CURLOPT_HTTPHEADER, hs.get());
182182

183183
av_log(NULL, AV_LOG_INFO, "sending: %s\n", postdata_string.c_str());

0 commit comments

Comments
 (0)