Home | History | Annotate | Download | only in media

Lines Matching refs:ssrc

8  * Get the ssrc if |report| is an ssrc report.
14 * @return {?string} The ssrc.
17 if (report.type != 'ssrc') {
18 console.warn("Trying to get ssrc from non-ssrc report.");
22 // If the 'ssrc' name-value pair exists, return the value; otherwise, return
24 // The 'ssrc' name-value pair only exists in an upcoming Libjingle change. Old
25 // versions use id to refer to the ssrc.
31 if (report.stats.values[i] == 'ssrc') {
40 * SsrcInfoManager stores the ssrc stream info extracted from SDP.
50 * Map from ssrc id to an object containing all the stream properties.
65 * The regex separating fields within an ssrc description.
73 * The prefix string of an ssrc description.
78 this.SSRC_ATTRIBUTE_PREFIX_ = 'a=ssrc:';
81 * The className of the ssrc info parent element.
85 this.SSRC_INFO_BLOCK_CLASS = 'ssrc-info-block';
92 * a=ssrc:1234 msid:abcd
93 * a=ssrc:1234 label:hello
100 // Check if this is a ssrc attribute.
109 var ssrc = attributes[i].substring(this.SSRC_ATTRIBUTE_PREFIX_.length,
111 if (!this.streamInfoContainer_[ssrc])
112 this.streamInfoContainer_[ssrc] = {};
126 this.streamInfoContainer_[ssrc][name] = value;
135 * @param {string} sdp The ssrc id.
136 * @return {!Object.<string>} The object containing the ssrc infomation.
138 getStreamInfo: function(ssrc) {
139 return this.streamInfoContainer_[ssrc];
143 * Populate the ssrc information into |parentElement|, each field as a
146 * @param {!Element} parentElement The parent element for the ssrc info.
147 * @param {string} ssrc The ssrc id.
149 populateSsrcInfo: function(parentElement, ssrc) {
150 if (!this.streamInfoContainer_[ssrc])
156 for (var property in this.streamInfoContainer_[ssrc]) {
160 property + ':' + this.streamInfoContainer_[ssrc][property];