Advertisement
Guest User

Structs.cs

a guest
Mar 28th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.04 KB | None | 0 0
  1. using System;
  2. using ObjCRuntime;
  3.  
  4. namespace RTSPPlayer
  5. {
  6.     [Native]
  7.     public enum AVPError : long
  8.     {
  9.         InvalidLicense = -1500,
  10.         ExpiredLicense,
  11.         FFmpegUnknown = -2000,
  12.         FFmpegBSFNotFound,
  13.         FFmpegBUG,
  14.         FFmpegBufferToolSmall,
  15.         FFmpegDecoderNotFound,
  16.         FFmpegDemuxerNotFound,
  17.         FFmpegEOF,
  18.         FFmpegExit,
  19.         FFmpegExternal,
  20.         FFmpegInvalidData,
  21.         FFmpegOptionNotFound,
  22.         FFmpegProtocolNotFound,
  23.         FFmpegStreamNotFound,
  24.         FFmpegExperimental,
  25.         FFmpegInputChanged,
  26.         FFmpegHttpBadRequest,
  27.         FFmpegHttpUnauthorized,
  28.         FFmpegHttpForbidden,
  29.         FFmpegHttpNotFound,
  30.         FFmpegHttpOther4XX,
  31.         FFmpegHttpServerError
  32.     }
  33.  
  34.     [Native]
  35.     public enum AVPlayerState : long
  36.     {
  37.         Initialized = 0,
  38.         Playing,
  39.         Paused,
  40.         FinishedPlayback,
  41.         Stoped,
  42.         Unknown = 255
  43.     }
  44.  
  45.     [Native]
  46.     public enum AVStreamDiscardOption : long
  47.     {
  48.         None = 0,
  49.         Audio = 1,
  50.         Video = 2,
  51.         Subtitle = 4
  52.     }
  53.  
  54.     [Native]
  55.     public enum AVDecodingMode : long
  56.     {
  57.         Auto = 0,
  58.         Sw,
  59.         Hw
  60.     }
  61.  
  62.     [Native]
  63.     public enum AVSyncMode : long
  64.     {
  65.         Audio = 0,
  66.         Video = 1
  67.     }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement