CURL.SetOptionRTSPTransport
---------------------------

The Transport: header to use in RTSP requests.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionRTSPTransport"; curl; Value ) 

**MBS**( **"CURL.SetOptionRTSPTransport"** /\* The Transport: header to use in RTSP requests. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* The option value. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The option value. |  |

### Result

Returns OK or error.

### Description

The Transport: header to use in RTSP requests.  
See also [RTSP\_TRANSPORT](https://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html) option in CURL manual.

### See also

- [CURL.SetOptionRTSPSessionID](CURLSetOptionRTSPSessionID.md)

Created 15th April 2018 , last changed 16th April 2018

  
[CURL.SetOptionRTSPStreamURI](CURLSetOptionRTSPStreamURI.md) - [CURL.SetOptionRandomFile](CURLSetOptionRandomFile.md)

[HTML Version](CURLSetOptionRTSPTransport.shtml)