public ShoutcastMediaSourceManager(Uri url) { StationInfo = new ShoutcastStationInfo(); streamUrl = url; socket = new StreamSocket(); }
public ShoutcastMediaSourceStream(Uri url, ShoutcastServerType stationServerType = ShoutcastServerType.Shoutcast, string relativePath = ";", bool getMetadata = true) { StationInfo = new ShoutcastStationInfo(); streamUrl = url; serverType = stationServerType; socket = new StreamSocket(); AudioInfo = new ServerAudioInfo(); ShouldGetMetadata = getMetadata; this.relativePath = relativePath; }