Bug fixes
Fixed contentBitrate to accurately report stream bitrate
Issue: The contentBitrate attribute used estimatedBandwidth (the network capacity estimate) as its primary source, which didn't accurately represent the actual bitrate of the playing video stream.
Solution: Updated the bitrate calculation to prioritize streamBandwidth from Shaka Player statistics, which provides the actual content bitrate of the current video variant as defined in the manifest.
Impact: The contentBitrate attribute correctly reports the bitrate (in bits per second) of playing video stream rather than the estimated network bandwidth. This provides more accurate telemetry data for video quality monitoring and analytics.
Technical details
- Changed the priority order in
getContentBitratePlayback()method - Uses the
stats.streamBandwidthas the primary source for content bitrate - Updated the
DATAMODEL.mddocumentation to reflect the accurate definition
버그 수정
스트림 비트레이트를 정확하게 보고하도록 contentBitrate 을(를) 수정했습니다.
문제: contentBitrate 속성은 estimatedBandwidth (네트워크 용량 추정치)을(를) 주요 소스로 사용했는데, 이는 재생 중인 비디오 스트림의 실제 비트레이트를 정확하게 나타내지 않았습니다.
해결 방법: 매니페스트에 정의된 대로 현재 비디오 변형의 실제 콘텐츠 비트레이트를 제공하는 Shaka Player 통계의 streamBandwidth 을(를) 우선적으로 적용하도록 비트레이트 계산을 업데이트했습니다.
영향: contentBitrate 속성은 예상 네트워크 대역폭이 아닌 재생 중인 비디오 스트림의 비트 전송률(초당 비트 수)을 올바르게 보고합니다. 이는 비디오 품질 모니터링 및 분석을 위한 더 정확한 텔레메트리 데이터를 제공합니다.
기술적 세부 사항
getContentBitratePlayback()메서드에서 우선순위를 변경했습니다.stats.streamBandwidth을(를) 콘텐츠 비트레이트의 주요 소스로 사용합니다.- 정확한 정의를 반영하도록
DATAMODEL.md문서를 업데이트했습니다.
Bug fixes
Improved contentBitrate calculation
Issue: The contentBitrate attribute reported the target bitrate from the manifest instead of the actual measured throughput during playback.
Fix: Updated the bitrate calculation method to use getAverageThroughput() from dash.js. This captures the measured average throughput, providing a more accurate, real-time representation of the content consumption rate during playback.
Implementation details
- Primary logic: Uses
player.getAverageThroughput('video')to retrieve measured throughput - Fallback logic:
- Uses manifest bitrate if throughput measurement is unavailable
- Improves accuracy of video quality monitoring and analytics
- Impact:
- More accurate bitrate reporting in New Relic video monitoring
- Better visibility into actual network conditions and video quality
- Improved debugging capabilities for playback issues
버그 수정
contentBitrate 계산 개선
문제: contentBitrate 속성이 재생 중 실제 측정된 처리량 대신 매니페스트의 타겟 비트레이트를 보고했습니다.
수정: dash.js에서 getAverageThroughput() 을(를) 사용하도록 비트레이트 계산 방법을 업데이트했습니다. 이는 측정된 평균 처리량을 캡처하여, 재생 중 콘텐츠 소비율을 더 정확하게 실시간으로 나타냅니다.
구현 세부 사항
기본 로직:
player.getAverageThroughput('video')을(를) 사용하여 측정된 처리량을 가져옵니다.폴백 로직:
- 처리량 측정을 사용할 수 없는 경우 매니페스트 비트레이트를 사용합니다.
- 비디오 품질 모니터링 및 분석 정확도를 향상시킵니다.
영향:
- 뉴렐릭 비디오 모니터링의 더 정확한 비트레이트 보고
- 실제 네트워크 상태 및 비디오 품질에 대한 향상된 가시성
- 재생 문제에 대한 향상된 디버깅 기능
Bug fixes
- Removed github token (f5f9ade)
버그 수정
- GitHub 토큰 (f5f9ade)이 제거되었습니다.
Enhancements
Improved error logging
Improved error logging by mapping Shaka errors to the following attributes: errorCode, errorPlatformCode, errorMessage, errorStackTrace, errorSeverity.
This enhancement ensures cleaner, more structured error data in New Relic by extracting only the essential error attributes from Shaka Player errors, removing unwanted properties like the data array.
Updates
Fixed CONTENT_ERROR Event
Attached the error EventListener to the player instead of its tag, following Shaka's specifications, to fix the CONTENT_ERROR event.
개선 사항
오류 로깅 기능 개선
Shaka 오류를 다음 속성에 매핑하여 오류 로깅을 개선했습니다: errorCode, errorPlatformCode, errorMessage, errorStackTrace, errorSeverity.
이 개선 사항은 Shaka Player 오류에서 필수적인 오류 속성만 추출하고 data 과 같은 불필요한 속성을 제거하여 뉴렐릭의 오류 데이터를 더 깔끔하고 구조화된 형태로 유지합니다.
업데이트
CONTENT_ERROR 이벤트 수정됨
Shaka의 지시에 따라 오류 EventListener 을 태그 대신 플레이어에 첨부하여 CONTENT_ERROR 이벤트를 수정했습니다.
Bug fixes
Content Bitrate detection enhancement
We've significantly improved the getBitrate() method with comprehensive Video.js technology support:
Key improvements
- VHS (Video HTTP Streaming) API support: Added native support for HLS and DASH content bitrate detection
- Enhanced bandwidth calculation: Implemented audio + video bitrate combination for accurate total bandwidth reporting
- Extended tech support: Added fallback support for popular streaming libraries:
- Shaka Player
- HLS.js
- DASH.js
- Improved reliability: Enhanced bitrate detection accuracy across different streaming technologies
- Dynamic bitrate updates: Fixed issue where bitrate values remained static throughout video playback
버그 수정
콘텐츠 비트레이트 감지 기능 향상
Video.js 기술 지원을 통해 getBitrate() 메서드를 크게 개선했습니다.
주요 개선 사항
VHS(Video HTTP Streaming) API 지원: HLS 및 DASH 콘텐츠 비트레이트 감지를 위한 네이티브 지원이 추가되었습니다.
향상된 대역폭 계산: 정확한 총 대역폭 보고를 위해 오디오와 비디오 비트레이트를 결합하는 기능을 구현했습니다.
기술 지원 확장: 인기 스트리밍 라이브러리에 대한 대체 지원 기능이 추가되었습니다.
- 샤카 플레이어
- HLS.js
- DASH.js
향상된 안정성: 다양한 스트리밍 기술에서 비트레이트 감지 정확도가 향상되었습니다.
동적 비트레이트 업데이트: 동영상 재생 중 비트레이트 값이 고정된 상태로 유지되던 문제를 수정했습니다.