# Publish video stream with fps=30 but play with fps=15

**URL:** <https://community.wowza.com/t/publish-video-stream-with-fps-30-but-play-with-fps-15/39398>\
**Category:** Wowza Streaming Engine\
**Created:** [April 1, 2014, 7:54am UTC](https://community.wowza.com/t/publish-video-stream-with-fps-30-but-play-with-fps-15/39398 "2014-04-01T07:54:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry\_Zin](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@Dmitry\_Zin](https://community.wowza.com/u/Dmitry_Zin)\
**Post date:** [April 1, 2014, 7:54am UTC](https://community.wowza.com/t/publish-video-stream-with-fps-30-but-play-with-fps-15/39398/1 "2014-04-01T07:54:16Z")

</div>

Hi. My problem is that I cant get fps from incoming stream greater that 15 fps.

I’m using WSE 4.0.1 with default settings and flash player 12

I run WSE locally on Win7 with java7 32 bit

and on dedicated server Ubuntu 12.04 with java7 64 bit

But results are the same.

Set camera properties:

```auto
            cam.setKeyFrameInterval(30);
            cam.setMode(480, 360, 24, true);
            cam.setQuality(300000, 0);

```

Test fps on camera and streams objects:

```auto
Math.round(cam.currentFPS) + " " + Math.round(outNS.currentFPS) + " " + Math.round(inNS.currentFPS)

```

Output is

```auto
24 24 15

```

If I change fps to 3:

```auto
            cam.setKeyFrameInterval(30);
            cam.setMode(480, 360, 3, true);
            cam.setQuality(300000, 0);

```

Output is

```auto
3 3 3

```

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 2, 2014, 6:51am UTC](https://community.wowza.com/t/publish-video-stream-with-fps-30-but-play-with-fps-15/39398/2 "2014-04-02T06:51:41Z")

</div>

Hi there, a frame size of 320x240 is the recommended max, and you might want to set key frames to twice the fps. 15/30 would probably be better then 24/48

You will just have to play with these settings. There is no guarantee that what you set up will be what you get. The actual results may differ slightly (or drastically.)

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 2, 2014, 7:27am UTC](https://community.wowza.com/t/publish-video-stream-with-fps-30-but-play-with-fps-15/39398/3 "2014-04-02T07:27:11Z")

</div>

One other thing is, your setQuality is favoring bandwidth, you should turn this around to favor quality:

```auto
cam.setQuality(0, 90);

```

Salvadore
