MediaChannelInfoFactoryCreateMediaChannel Method |
Létrehoz egy IMediaChannel-t a megadott paraméterek alapján.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public MediaChannelInfo CreateMediaChannel(
string localAddress,
MediaType mediaType,
MediaProtocol protocol,
INatConfiguration natConfig,
int localRtpPort = -1
)
Public Function CreateMediaChannel (
localAddress As String,
mediaType As MediaType,
protocol As MediaProtocol,
natConfig As INatConfiguration,
Optional localRtpPort As Integer = -1
) As MediaChannelInfo
public:
virtual MediaChannelInfo^ CreateMediaChannel(
String^ localAddress,
MediaType mediaType,
MediaProtocol protocol,
INatConfiguration^ natConfig,
int localRtpPort = -1
) sealed
abstract CreateMediaChannel :
localAddress : string *
mediaType : MediaType *
protocol : MediaProtocol *
natConfig : INatConfiguration *
?localRtpPort : int
(* Defaults:
let _localRtpPort = defaultArg localRtpPort -1
*)
-> MediaChannelInfo
override CreateMediaChannel :
localAddress : string *
mediaType : MediaType *
protocol : MediaProtocol *
natConfig : INatConfiguration *
?localRtpPort : int
(* Defaults:
let _localRtpPort = defaultArg localRtpPort -1
*)
-> MediaChannelInfo
Parameters
- localAddress
- Type: SystemString
- mediaType
- Type: Ozeki.MediaMediaType
- protocol
- Type: Ozeki.MediaMediaProtocol
- natConfig
- Type: Ozeki.NetworkINatConfiguration
- localRtpPort (Optional)
- Type: SystemInt32
Return Value
Type:
MediaChannelInfoImplements
IMediaChannelInfoFactoryCreateMediaChannel(String, MediaType, MediaProtocol, INatConfiguration, Int32)See Also