Searched refs:mCurSendCodecConfig (Results 1 – 16 of 16) sorted by relevance
273 if(mCurSendCodecConfig) { in SendingMaxFs()274 return mCurSendCodecConfig->mEncodingConstraints.maxFs; in SendingMaxFs()280 if(mCurSendCodecConfig) { in SendingMaxFr()281 return mCurSendCodecConfig->mEncodingConstraints.maxFps; in SendingMaxFr()387 nsAutoPtr<VideoCodecConfig> mCurSendCodecConfig; variable
829 mCurSendCodecConfig = new VideoCodecConfig(*codecConfig); in ConfigureSendMediaCodec()1248 if (mCurSendCodecConfig) { in SelectSendResolution()1249 uint16_t max_width = mCurSendCodecConfig->mEncodingConstraints.maxWidth; in SelectSendResolution()1250 uint16_t max_height = mCurSendCodecConfig->mEncodingConstraints.maxHeight; in SelectSendResolution()1259 if (mCurSendCodecConfig->mEncodingConstraints.maxFs) in SelectSendResolution()1261 uint32_t max_fs = mCurSendCodecConfig->mEncodingConstraints.maxFs; in SelectSendResolution()1497 if (mCurSendCodecConfig && mCurSendCodecConfig->mEncodingConstraints.maxMbps) in SelectSendFrameRate()1506 max_fps = mCurSendCodecConfig->mEncodingConstraints.maxMbps/cur_fs; in SelectSendFrameRate()1511 if (mCurSendCodecConfig->mEncodingConstraints.maxFps != 0 && in SelectSendFrameRate()1512 mCurSendCodecConfig->mEncodingConstraints.maxFps < mSendingFramerate) { in SelectSendFrameRate()[all …]
289 nsAutoPtr<AudioCodecConfig> mCurSendCodecConfig; variable
474 mCurSendCodecConfig = new AudioCodecConfig(codecConfig->mType, in ConfigureSendMediaCodec()1109 codecAppliedAlready = CheckCodecsForMatch(mCurSendCodecConfig,codecInfo); in ValidateCodecConfig()
587 mConduit->mCurSendCodecConfig->mSimulcastEncodings[0]; in CreateEncoderStreams()682 if (mConduit->mCurSendCodecConfig->mName == "H264") { in CreateEncoderStreams()814 mCurSendCodecConfig->mEncodingConstraints = in ConfigureSendMediaCodec()816 mCurSendCodecConfig->mSimulcastEncodings = in ConfigureSendMediaCodec()876 mCurSendCodecConfig->mSimulcastEncodings[idx - 1]; in ConfigureSendMediaCodec()1719 if (mCurSendCodecConfig) { in SelectSendResolution()1729 if (mCurSendCodecConfig->mEncodingConstraints.maxFs) { in SelectSendResolution()2315 return !mCurSendCodecConfig || in RequiresNewSendStream()2316 mCurSendCodecConfig->mName != newConfig.mName || in RequiresNewSendStream()2317 mCurSendCodecConfig->mType != newConfig.mType || in RequiresNewSendStream()[all …]
238 if (mCurSendCodecConfig) { in SendingMaxFs()239 return mCurSendCodecConfig->mEncodingConstraints.maxFs; in SendingMaxFs()245 if (mCurSendCodecConfig) { in SendingMaxFr()246 return mCurSendCodecConfig->mEncodingConstraints.maxFps; in SendingMaxFr()481 nsAutoPtr<VideoCodecConfig> mCurSendCodecConfig; variable
331 nsAutoPtr<AudioCodecConfig> mCurSendCodecConfig; variable
489 mCurSendCodecConfig = new AudioCodecConfig( in ConfigureSendMediaCodec()1077 codecAppliedAlready = CheckCodecsForMatch(mCurSendCodecConfig, codecInfo); in ValidateCodecConfig()
952 mCurSendCodecConfig->mEncodingConstraints = in ConfigureSendMediaCodec()954 mCurSendCodecConfig->mEncodings = codecConfig->mEncodings; in ConfigureSendMediaCodec()1005 auto& encoding = mCurSendCodecConfig->mEncodings[idx]; in ConfigureSendMediaCodec()1844 if (mCurSendCodecConfig) { in SelectSendResolution()1855 if (mCurSendCodecConfig->mEncodingConstraints.maxFs) { in SelectSendResolution()1936 if (!mCurSendCodecConfig) { in OnSinkWantsChanged()1968 MOZ_ASSERT(mCurSendCodecConfig); in SendVideoFrame()2497 return !mCurSendCodecConfig || in RequiresNewSendStream()2498 mCurSendCodecConfig->mName != newConfig.mName || in RequiresNewSendStream()2499 mCurSendCodecConfig->mType != newConfig.mType || in RequiresNewSendStream()[all …]
547 UniquePtr<VideoCodecConfig> mCurSendCodecConfig; variable
913 mCurSendCodecConfig->mEncodingConstraints = in ConfigureSendMediaCodec()915 mCurSendCodecConfig->mEncodings = codecConfig->mEncodings; in ConfigureSendMediaCodec()966 auto& encoding = mCurSendCodecConfig->mEncodings[idx]; in ConfigureSendMediaCodec()1814 if (mCurSendCodecConfig) { in SelectSendResolution()1825 if (mCurSendCodecConfig->mEncodingConstraints.maxFs) { in SelectSendResolution()1906 if (!mCurSendCodecConfig) { in OnSinkWantsChanged()1938 MOZ_ASSERT(mCurSendCodecConfig); in SendVideoFrame()2418 return !mCurSendCodecConfig || in RequiresNewSendStream()2419 mCurSendCodecConfig->mName != newConfig.mName || in RequiresNewSendStream()2420 mCurSendCodecConfig->mType != newConfig.mType || in RequiresNewSendStream()[all …]
538 UniquePtr<VideoCodecConfig> mCurSendCodecConfig; variable
659 mCurSendCodecConfig = codecConfig; in OnControlConfigChange()1298 if (mCurSendCodecConfig) { in SelectSendResolution()1304 if (mCurSendCodecConfig->mEncodingConstraints.maxFs) { in SelectSendResolution()1308 static_cast<int>(mCurSendCodecConfig->mEncodingConstraints.maxFs * in SelectSendResolution()1316 mCurSendCodecConfig.ref(), mSendingFramerate, width, height); in SelectSendResolution()1369 if (!mCurSendCodecConfig) { in SendVideoFrame()1386 MOZ_ASSERT(mCurSendCodecConfig); in SendVideoFrame()1406 uint16_t max_width = mCurSendCodecConfig->mEncodingConstraints.maxWidth; in SendVideoFrame()1407 uint16_t max_height = mCurSendCodecConfig->mEncodingConstraints.maxHeight; in SendVideoFrame()
373 Maybe<VideoCodecConfig> mCurSendCodecConfig; variable