// Index returns SRTCP index value of specified SSRC.
Index returns SRTCP index value of specified SSRC.
// Index returns SRTCP index value of specified SSRC .
func (c *Context) Index(ssrc uint32) (uint32, bool) {
	s, ok := c.srtcpSSRCStates[ssrc]
	if !ok {
		return 0, false
	}
	return s.srtcpIndex, true
}
func ( c * Context ) Index ( ssrc uint32 ) ( uint32 , bool ) { s , ok := c . srtcpSSRCStates [ ssrc ] if ! ok { return 0 , false } return s . srtcpIndex , true }
Index returns SRTCP index value of specified SSRC.
Index returns SRTCP index value of specified SSRC .