浏览代码

MacOSX/Framework: Forgot that in previous commit.

Pierre d'Herbemont 17 年之前
父节点
当前提交
09078f4787
共有 3 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      Headers/Public/VLCMediaPlayer.h
  2. 3 0
      Headers/Public/VLCStreamOutput.h
  3. 2 0
      Headers/Public/VLCStreamSession.h

+ 5 - 0
Headers/Public/VLCMediaPlayer.h

@@ -156,6 +156,11 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
 - (void)pause;
 
 /**
+ * Stop the playing.
+ */
+- (void)stop;
+
+/**
  * Fast forwards through the feed at the standard 1x rate.
  */
 - (void)fastForward;

+ 3 - 0
Headers/Public/VLCStreamOutput.h

@@ -22,5 +22,8 @@ extern NSString * VLCDefaultStreamOutputRTP;
 + (id)rtpBroadcastStreamOutputWithSAPAnnounce:(NSString *)announceName;
 + (id)rtpBroadcastStreamOutput;
 + (id)ipodStreamOutputWithFilePath:(NSString *)filePath;
++ (id)streamOutputWithFilePath:(NSString *)filePath;
++ (id)mpeg2StreamOutputWithFilePath:(NSString *)filePath;
++ (id)mpeg4StreamOutputWithFilePath:(NSString *)filePath;
 
 @end

+ 2 - 0
Headers/Public/VLCStreamSession.h

@@ -15,6 +15,8 @@
 @interface VLCStreamSession : VLCMediaPlayer {
     VLCStreamOutput * streamOutput;
     VLCMedia * originalMedia;
+    int reattemptedConnections;
+    BOOL isComplete;
 }
 
 + (id)streamSession;