Opened 6 years ago

Closed 6 years ago

#1748 closed enhancement (fixed)

Enhancements to WAV player API

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.2.1
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by bennylp)

Enhancements to WAV player API at pjsua2, pjsua, and pjmedia:

  • API to report file type and size (in samples and bytes):
    • AudioMediaPlayer::getInfo(),
    • pjsua_player_get_info(),
    • pjmedia_wav_player_get_info()
  • API to report playback position:
    • AudioMediaPlayer::getPos(),
    • pjsua_player_get_pos()
  • EOF callback in AudioMediaPlayer

Also fixed bug in pjsua pjsua_player_set_pos(): in pjmedia the argument is in bytes
rather than samples.

Change History (2)

comment:1 Changed 6 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 6 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In 4793:

Closed #1748: enhancements to WAV player API

Note: See TracTickets for help on using tickets.