C# Class SharpCaster.Controllers.SharpCasterDemoController

Inheritance: BaseMediaController
显示文件 Open project: tapanila/SharpCaster Class Usage Examples

Public Methods

Method Description
LoadMedia ( string mediaUrl, string contentType = "application/vnd.ms-sstr+xml", IMetadata metadata = null, string streamType = "BUFFERED", double duration = 0D, object customData = null, Track tracks = null, int activeTrackIds = null, bool autoPlay = true, double currentTime = 0.0 ) : System.Threading.Tasks.Task
SharpCasterDemoController ( ChromeCastClient client ) : System.Threading.Tasks

Method Details

LoadMedia() public method

public LoadMedia ( string mediaUrl, string contentType = "application/vnd.ms-sstr+xml", IMetadata metadata = null, string streamType = "BUFFERED", double duration = 0D, object customData = null, Track tracks = null, int activeTrackIds = null, bool autoPlay = true, double currentTime = 0.0 ) : System.Threading.Tasks.Task
mediaUrl string
contentType string
metadata IMetadata
streamType string
duration double
customData object
tracks SharpCaster.Models.MediaStatus.Track
activeTrackIds int
autoPlay bool
currentTime double
return System.Threading.Tasks.Task

SharpCasterDemoController() public method

public SharpCasterDemoController ( ChromeCastClient client ) : System.Threading.Tasks
client ChromeCastClient
return System.Threading.Tasks