# Best configuration for precise seeking in MP3

**URL:** <https://community.wowza.com/t/best-configuration-for-precise-seeking-in-mp3/188>\
**Category:** Wowza Streaming Engine\
**Created:** [January 27, 2010, 3:33pm UTC](https://community.wowza.com/t/best-configuration-for-precise-seeking-in-mp3/188 "2010-01-27T15:33:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [January 27, 2010, 3:33pm UTC](https://community.wowza.com/t/best-configuration-for-precise-seeking-in-mp3/188/1 "2010-01-27T15:33:27Z")

</div>

I’m using JW Media Player and Javascript to stream mp3 files from Wowza. Often the seeking is not as precisely as I’d like, but I’m having a hard time figuring out the pattern or where the problem is.

How precise is Wowza when seeking to an mp3 file? I’m making the call

```auto
player.sendEvent('SEEK', newPosition);

```

and I see in the wowza console that the seek is happening.

FEATURE REQUEST:

Can you add the playhead position to the console?

```auto
INFO stream seek /bid/15/MyHobby -
INFO stream play /bid/15/MyHobby -
INFO stream unpause /bid/15/MyHobby -
INFO stream stop /bid/15/MyHobby -

```

The above information would be more useful if it contained relevant timecodes – where it stops, starts, seeks, unpauses, etc.

My question: when I’m creating the mp3 file (usually from a video), are there some parameters I can change that would increase Wowza ability to precisely seek? Because I’m doing a lot of 2-3 second snippets, I’d like to be able to seek with 0.1 seconds, and now, well, now I’m not sure exactly what’s happening, even with a lot of debugging I think it’s hard to get exact values.

Also, is there anything else I can do within Wowza? I _think_ I’ve properly changed the seekTarget values, but maybe I didn’t get all of them, or maybe I should be using ‘audio’.

```auto
<Property>
	<Name>seekTarget</Name>
	<!-- valid values are: videoKeyFrame, audio, enhanced //DEFAULT = videoKeyFrame -->
	<Value>enhanced</Value>
</Property>

```

Thanks!

Tac

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 27, 2010, 3:37pm UTC](https://community.wowza.com/t/best-configuration-for-precise-seeking-in-mp3/188/2 "2010-01-27T15:37:29Z")

</div>

I would definitely try “audio”

```auto
<Property>
	<Name>seekTarget</Name>
	<!-- valid values are: videoKeyFrame, audio, enhanced //DEFAULT = videoKeyFrame -->
	<Value>audio</Value>
</Property>

```

On the encoding side, the way to improve is greater frequency of keyframes.

Richard
