Results 1 to 2 of 2

Thread: how do i get the number of streams in a Container?

  1. #1
    Join Date
    Jul 2011
    Posts
    13

    Default how do i get the number of streams in a Container?

    Is there a away of quering IMediaStream or any other object on the wowza API of number of streams in a Container?,
    i.e if you are publishing video and audio than this property would return 2, but if there is only audio than this property would return 1.

    thanks

  2. #2

    Default

    You mean something like this?

    int audioTrackCount = mediaReaderH264.getTrackCountAudio();
    int videoTrackCount = mediaReaderH264.getTrackCountVideo();
    You can see this code in use in this module, which you may be able to adapt to your needs: http://www.wowza.com/forums/content....tify-interface

Similar Threads

  1. How to handle large number of streams
    By mahesh123 in forum Wowza Streaming Engine in the Cloud
    Replies: 15
    Last Post: 05-12-2014, 09:05 PM
  2. Wowza 3.6.2 Maximal number of Streams
    By karblu in forum Performance Tuning Discussion
    Replies: 9
    Last Post: 11-20-2013, 09:16 AM
  3. Number of incoming RTSP streams
    By robstreamhosting in forum General Forum
    Replies: 4
    Last Post: 03-27-2013, 03:17 PM

Posting Permissions

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