diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 68762df32..d6e0c0ac0 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -24,6 +24,7 @@ * [WebRTC Streaming](streaming/webrtc-publishing.md) * [Low-Latency HLS](streaming/low-latency-hls.md) * [HLS](streaming/hls.md) +* [CrossDomains](crossdomains.md) * [Access Control](access-control/README.md) * [SignedPolicy](access-control/signedpolicy.md) * [AdmissionWebhooks](access-control/admission-webhooks.md) diff --git a/docs/crossdomains.md b/docs/crossdomains.md new file mode 100644 index 000000000..042a90d0f --- /dev/null +++ b/docs/crossdomains.md @@ -0,0 +1,36 @@ +# CrossDomains + +Most browsers and players prohibit accessing other domain resources in the currently running domain. You can control this situation through Cross-Origin Resource Sharing (CORS) or Cross-Domain (CrossDomain). You can set CORS and Cross-Domain as `` element. + +CrossDomain settings are available for HTTP-based APIs, HLS, LLHLS, and Thumnail. + +```xml + + * + *.airensoft.com + http://*.ovenplayer.com + https://demo.ovenplayer.com +
+ Access-Control-Expose-Headers + Date, Server, Content-Type, Content-Length +
+
+ custom-header + airensoft +
+
+``` + +You can set it using the `` element as shown above, and you can use the following values: + +| Url Value | Description | +| -------------- | ------------------------------------------------------------- | +| \* | Allows requests from all Domains | +| domain | Allows both HTTP and HTTPS requests from the specified Domain | +| http://domain | Allows HTTP requests from the specified Domain | +| https://domain | Allows HTTPS requests from the specified Domain | + +You can respond with custom HTTP headers via ``. You can use them by adding multiple `
` and `
` as in the example above. + + + diff --git a/docs/streaming/hls.md b/docs/streaming/hls.md index 6954cb9d3..606c827e5 100644 --- a/docs/streaming/hls.md +++ b/docs/streaming/hls.md @@ -203,27 +203,7 @@ Since TS files used in HLS must have A/V pre-muxed, the Playlist must have the < ## CrossDomain -Most browsers and players prohibit accessing other domain resources in the currently running domain. You can control this situation through Cross-Origin Resource Sharing (CORS) or Cross-Domain (CrossDomain). You can set CORS and Cross-Domain as `` element. - -{% code title="Server.xml" %} -```markup - - * - *.airensoft.com - http://*.ovenplayer.com - https://demo.ovenplayer.com - -``` -{% endcode %} - -You can set it using the `` element as shown above, and you can use the following values: - -| Url Value | Description | -| -------------- | ------------------------------------------------------------- | -| \* | Allows requests from all Domains | -| domain | Allows both HTTP and HTTPS requests from the specified Domain | -| http://domain | Allows HTTP requests from the specified Domain | -| https://domain | Allows HTTPS requests from the specified Domain | +For information on CrossDomains, see [CrossDomains ](../crossdomains.md)chapter. ## Live Rewind diff --git a/docs/streaming/low-latency-hls.md b/docs/streaming/low-latency-hls.md index 2646756e3..62173b545 100644 --- a/docs/streaming/low-latency-hls.md +++ b/docs/streaming/low-latency-hls.md @@ -72,27 +72,7 @@ See the [Adaptive Bitrates Streaming](../transcoding/#adaptive-bitrates-streamin ## CrossDomain -Most browsers and players prohibit accessing other domain resources in the currently running domain. You can control this situation through Cross-Origin Resource Sharing (CORS) or Cross-Domain (CrossDomain). You can set CORS and Cross-Domain as `` element. - -{% code title="Server.xml" %} -```markup - - * - *.airensoft.com - http://*.ovenplayer.com - https://demo.ovenplayer.com - -``` -{% endcode %} - -You can set it using the `` element as shown above, and you can use the following values: - -| Url Value | Description | -| -------------- | ------------------------------------------------------------- | -| \* | Allows requests from all Domains | -| domain | Allows both HTTP and HTTPS requests from the specified Domain | -| http://domain | Allows HTTP requests from the specified Domain | -| https://domain | Allows HTTPS requests from the specified Domain | +For information on CrossDomains, see [CrossDomains ](../crossdomains.md)chapter. ## Streaming diff --git a/docs/thumbnail.md b/docs/thumbnail.md index eafd1df7f..d6e804217 100644 --- a/docs/thumbnail.md +++ b/docs/thumbnail.md @@ -68,6 +68,10 @@ Declaring a thumbnail publisher. Cross-domain settings are available as a detail When the setting is made for the thumbnail and the stream is input, you can view the thumbnail through the following URL. -| Method | URL Pattern | -| ------ | --------------------------------------------------------------------------------------- | -| GET | http(s)://\:\/\/\/thumb.\_ | +| Method | URL Pattern | +| ------ | -------------------------------------------------------------------------------------------- | +| GET | http(s)://\:\/\/\/thumb.\_ | + +## CrossDomains + +For information on CrossDomains, see [CrossDomains ](crossdomains.md)chapter.