TRTCPublishCdnUrl class
The destination URL when you publish to Tencent Cloud or a third-party CDN
This enum type is used by the publishing destination parameter TRTCPublishTarget of the publishing API TRTCCloud.startPublishMediaStream .
Constructors
- TRTCPublishCdnUrl({String rtmpUrl = '', bool isInternalLine = true})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInternalLine ↔ bool
-
- Description: Whether to publish to Tencent Cloud.
- Value: The default value is
true
.- Note: If the destination URL you set is provided by Tencent Cloud, set this parameter to
true
, and you will not be charged relaying fees.getter/setter pair - rtmpUrl ↔ String
-
- Description: The destination URL (RTMP) when you publish to Tencent Cloud or a third-party CDN.
- Value: The URLs of different CDN providers may vary greatly in format. Please enter a valid URL as required by your service provider. TRTC's backend server will push audio/video streams in the standard format to the URL you provide.
- Note: The URL must be in RTMP format. It must also meet the requirements of your service provider, or your service provider may reject push requests from the TRTC backend.
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited