Esempio n. 1
0
 public WebStringResult StartStream(string identifier, string profileName, long startPosition)
 {
     StreamLog.Debug(identifier, "Called StartStream with profile={0}; start={1}", profileName, startPosition);
     _stream.EndStream(identifier); // first end previous stream, if any available
     return(_stream.StartStream(identifier, Configuration.StreamingProfiles.GetTranscoderProfileByName(profileName), startPosition * 1000));
 }
Esempio n. 2
0
 public string StartStream(string identifier, string profileName, int startPosition)
 {
     Log.Debug("Called StartStream with ident={0}; profile={1}; start={2}", identifier, profileName, startPosition);
     _stream.EndStream(identifier); // first end previous stream, if any available
     return(_stream.StartStream(identifier, Configuration.Streaming.GetTranscoderProfileByName(profileName), startPosition * 1000));
 }