Results 1 to 3 of 3

Thread: How can I log NAL PPS and SPS?

  1. #1
    Join Date
    Apr 2013

    Default How can I log NAL PPS and SPS?

    I'm writing an encoder, and I need to be able to get information that Wowza is receiving per-frame particularly PPS and SPS. Is there an event like onFrame or onVideo that I could use? I've looked around the forums, and I've looked through the Server-Side API doc and haven't found anything.

    Any ideas?

  2. #2



    You can implement the IMediaStreamActionNotify3 interface. It includes methods that are called when the stream codec info is received.

    If you need to inspect other packets then the normal practice is to use a separate thread to call IMediaStream.getPlayPackets() on the publish stream to get the current stream packet list on a regular basis.

    From there, you iterate the list to get each of the packets. If you use this method, you should keep track of the sequence number of the last packet inspected so you know where to start on the next loop. New packets are added to the list every 50 - 125ms, depending on the stream type. Normally about 8 seconds worth of packets are retained in the list.


  3. #3
    Join Date
    Dec 2007


    Here is an example of what Roger described:

    You can use IMediaStreamActionNotify3 instead of 2, which just adds the codec info Roger mentioned.


Similar Threads

  1. sending sps and pps in band
    By srikanth.vukkadapu in forum General Forum
    Replies: 1
    Last Post: 12-17-2013, 08:13 AM
  2. Support for multiple SPS/PPS in MP4 file streaming containing H264 encoded video
    By hchouhan in forum Video On Demand Streaming Discussion
    Replies: 3
    Last Post: 03-20-2013, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts