HDMI streaming app

Discussion in 'General Development' started by danman, Dec 12, 2015.

  1. danman

    danman Member

    Hello,

    I'm trying to make hdmi streaming app. I used sourcecode from here: https://github.com/zidootech/zidoorecorder

    My source is here: https://github.com/danielkucera/ZidoStreamer

    When I compile and run my app, I'm getting
    12-12 19:36:31.335 1027-1027/? I/CameraService: Camera 5: Access for "" has been revoked

    after calling mHdmiRecorder.start(). Full log here: http://pastebin.com/5crX23PN

    I have also some more questions here: http://forum.zidoo.tv/index.php?threads/ts-recording-h264-annex-b-compliance.732/

    Can you please help or give any advice what am I doing wrong?
    Thank you.
     
  2. Dylan

    Dylan Member Zidoo TECH Supporter

    Hi danman:
    did you sign the apk with system key? Ohterwise, you don't change the source before record ?

    The information we got just the jni demo code, and we developer the apk ourself.
    One googd thing for us is we have the Mstar sdk, we study some from this.
    But encode related code is not open to us also.

    Yes, u are right, the TS stream contains SPS, PPS at the first package only.
    We save the SPS, PPS at the beginning, and insert into each package when send them for work around.
     
  3. danman

    danman Member

    Hah! I got it working! I needed to correctly setup the input and also (and mainly) set uid to application in manifest by:

    android:sharedUserId="android.uid.system"

    This allows accessing "camera" hardware.

    Thanks.
     

Share This Page