MStar's PvrManager on X9

Discussion in 'Development' started by Rogerio Gonzalez, Jun 28, 2018.

  1. Hello guys,

    I am doing some tests on X9 with the native MStar library, without success.

    Can anyone gime some directions?

    In resume, what I am doing so far is:

    - Grabing the instance of TvManager, and after, the instance of PvrManager;
    - Setting setInputSource on TvManager and AudioManager for HDMI;
    - Setting the file path on PvrManager's setOnPvrEventListener (having a hard time on the FileType param);
    - Setting the surface's holder into the TvPlayer' setDisplay;
    - Calling the startRecord() method from PvrManager;

    I have no errors, but I got nothing on the path, and also, get nothing on PvrManager's getCurRecordingFileName. And also, getPvrFileNumber is always 0 (zero).

    Any ideas?

    Thanks!
     
  2. In case anyone is interested, here are the supported FileSystems types:

    public static final int E_FILE_SYSTEM_TYPE_UNKNOWN = 0;
    public static final int E_FILE_SYSTEM_TYPE_JFFS2 = 1;
    public static final int E_FILE_SYSTEM_TYPE_VFAT = 2;
    public static final int E_FILE_SYSTEM_TYPE_EXT2 = 3;
    public static final int E_FILE_SYSTEM_TYPE_EXT3 = 4;
    public static final int E_FILE_SYSTEM_TYPE_MSDOS = 5;
    public static final int E_FILE_SYSTEM_TYPE_NTFS = 6;
    public static final int E_FILE_SYSTEM_TYPE_EXFAT = 7;
    public static final int E_FILE_SYSTEM_TYPE_EXT4 = 8;
    public static final int E_FILE_SYSTEM_TYPE_INVALID = 9;

    Not sure if MSDOS = FAT16 and VFAT = FAT32
     

Share This Page