Results 1 to 2 of 2

Thread: Bandwidth Consumption

  1. #1

    Default Bandwidth Consumption

    I am currently getting bandwidth usage per session for RTMP , HTTP and RTP like this


    //RTMP
    public void onStreamDestroy(IMediaStream stream) {
    		if ( stream.getClient() != null){
    			
    			IOPerformanceCounter perf = stream.getMediaIOPerformance();
    			
    			Long outbytes = perf.getMessagesOutBytes();
    		}
    	}
    
    //HTTP
    public void onHTTPSessionDestroy(IHTTPStreamerSession httpSession) {
    		if ( httpSession != null){
    			
    					IOPerformanceCounter perf = httpSession.getIOPerformanceCounter();
    					Long outbytes = perf.getMessagesOutBytes();	
    				}
    	}
    	
    
    	//RTP
    	public void onRTPSessionDestroy(RTPSession rtpSession) {
    		
    		if ( rtpSession != null){
    			
    			IOPerformanceCounter perf = rtpSession.getIOPerformanceCounter();
    			
    			Long outbytes = perf.getMessagesOutBytes();
    		
    		}
    	}

    when i compare my useage with hosting provider it is very different , my useage is lower than my provider

    so is this correct way to get bandwidth useage ? or am i missing some thing ?

  2. #2
    Join Date
    Jan 2016
    Posts
    80

    Default

    Hi,

    It looks like this is now being handled in the created ticket (170350)

    Andy_E

Similar Threads

  1. 88% memory consumption by java
    By myboynoy in forum Performance Tuning Discussion
    Replies: 1
    Last Post: 04-13-2016, 02:34 PM
  2. Wowza memory RAM consumption increasing on
    By carlosjpr in forum Performance Tuning Discussion
    Replies: 14
    Last Post: 07-12-2013, 06:51 AM
  3. Wowza memory consumption increasing on
    By dhamibirendra in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 06-11-2013, 09:52 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
  •