search

Home  >  Q&A  >  body text

The APP can play voice similar to WeChat. How should the PHP API return voice data to the APP?

Is it okay to just send the address of the voice file to the app?
Or do I need to send the file to the APP in a certain format?

phpcn_u1582phpcn_u15822794 days ago615

reply all(3)I'll reply

  • 習慣沉默

    習慣沉默2017-05-19 10:10:30

    Address is enough, voice is also a type of file, similar to pictures

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-19 10:10:30

    url, or return binary stream

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-19 10:10:30

    Generally, the address is returned to the client, which is also consistentrestful

    reply
    0
  • Cancelreply