• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 标签: dlna  

资源简介

android dlna 源码库下载

资源截图

代码片段和文件信息

#include 
#include 

#include “dlna.h“

int
main (int argc char **argv)
{
  dlna_t *dlna;
  dlna_profile_t *p;
  dlna_org_flags_t flags;

  if (argc < 2)
  {
    printf (“usage: %s media_filename\n“ argv[0]);
    return -1;
  }

  flags = DLNA_ORG_FLAG_STREAMING_TRANSFER_MODE |
    DLNA_ORG_FLAG_BACKGROUND_TRANSFERT_MODE |
    DLNA_ORG_FLAG_CONNECTION_STALL |
    DLNA_ORG_FLAG_DLNA_V15;
  
  printf (“Using %s\n“ LIBDLNA_IDENT);
  
  dlna = dlna_init ();
  dlna_set_verbosity (dlna 1);
  dlna_register_all_media_profiles (dlna);
  
  p = dlna_guess_media_profile (dlna argv[1]);
  if (p)
  {
    char *protocol_info;
    
    printf (“ID: %s\n“ p->id);
    printf (“MIME: %s\n“ p->mime);
    printf (“Label: %s\n“ p->label);
    printf (“Class: %d\n“ p->class);
    pri

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-03-27 08:50  dlnalib-0.2.4\
     文件         242  2012-02-27 03:34  dlnalib-0.2.4\AUTHORS
     文件        1718  2012-02-27 03:34  dlnalib-0.2.4\ChangeLog
     文件        6759  2014-03-25 11:03  dlnalib-0.2.4\config.log
     文件       16310  2012-02-27 03:34  dlnalib-0.2.4\configure
     文件       26428  2012-02-27 03:34  dlnalib-0.2.4\COPYING
     文件        1290  2012-02-27 03:34  dlnalib-0.2.4\Makefile
     文件        1396  2012-02-27 03:34  dlnalib-0.2.4\README
     目录           0  2014-03-27 08:50  dlnalib-0.2.4\src\
     文件       15215  2012-02-27 03:34  dlnalib-0.2.4\src\audio_aac.c
     文件        2553  2012-02-27 03:34  dlnalib-0.2.4\src\audio_ac3.c
     文件        3598  2012-02-27 03:34  dlnalib-0.2.4\src\audio_amr.c
     文件        1931  2012-02-27 03:34  dlnalib-0.2.4\src\audio_atrac3.c
     文件        1381  2012-02-27 03:34  dlnalib-0.2.4\src\audio_g726.c
     文件        2608  2012-02-27 03:34  dlnalib-0.2.4\src\audio_lpcm.c
     文件        1468  2012-02-27 03:34  dlnalib-0.2.4\src\audio_mp2.c
     文件        3744  2012-02-27 03:34  dlnalib-0.2.4\src\audio_mp3.c
     文件        3008  2012-02-27 03:34  dlnalib-0.2.4\src\audio_wma.c
     文件        2826  2012-02-27 03:34  dlnalib-0.2.4\src\av_mpeg1.c
     文件       18958  2012-02-27 03:34  dlnalib-0.2.4\src\av_mpeg2.c
     文件       38949  2012-02-27 03:34  dlnalib-0.2.4\src\av_mpeg4_part10.c
     文件       31291  2012-02-27 03:34  dlnalib-0.2.4\src\av_mpeg4_part2.c
     文件        8428  2012-02-27 03:34  dlnalib-0.2.4\src\av_wmv9.c
     文件        3368  2012-02-27 03:34  dlnalib-0.2.4\src\containers.c
     文件        1455  2012-02-27 03:34  dlnalib-0.2.4\src\containers.h
     文件        9885  2012-02-27 03:34  dlnalib-0.2.4\src\dlna.h
     文件        1436  2012-02-27 03:34  dlnalib-0.2.4\src\dlna_internals.h
     文件        3192  2012-02-27 03:34  dlnalib-0.2.4\src\image_jpeg.c
     文件        2576  2012-02-27 03:34  dlnalib-0.2.4\src\image_png.c
     文件        3295  2012-02-27 03:34  dlnalib-0.2.4\src\Makefile
     文件       11631  2012-02-27 03:34  dlnalib-0.2.4\src\profiles.c
............此处省略3个文件信息

评论

共有 条评论

相关资源