* Sets a video decoder configuration; some codecs require this, such as AVC.
*
* @param decoderConfig video codec configuration
*/
public void setVideoDecoderConfiguration(IRTMPEvent decoderConfig) {
videoConfigurationTag = new Tag();
videoConfigurationTag.setDataType(decoderConfig.getDataType());
videoConfigurationTag.setTimestamp(0);
if (decoderConfig instanceof IStreamData) {
IoBuffer data = ((IStreamData<?>) decoderConfig).getData().asReadOnlyBuffer();
videoConfigurationTag.setBodySize(data.limit());