Notice
Recent Posts
Recent Comments
Link
투케이2K
312. (TWOK/ERROR) [Android] Kvs HLS 404 No fragments found in the stream for the streaming request 본문
투케이2K 에러관리
312. (TWOK/ERROR) [Android] Kvs HLS 404 No fragments found in the stream for the streaming request
투케이2K 2025. 5. 23. 19:27[환경 설정 및 설명]
프로그램 : AndroidStudio
설 명 : [Android] Kvs HLS 404 No fragments found in the stream for the streaming request
[설 명]
--------------------------------------------------------------------------
[개발 및 테스트 환경]
--------------------------------------------------------------------------
- 제목 : [Android] Kvs HLS 404 No fragments found in the stream for the streaming request
- 테스트 환경 : 삼성 갤럭시 스마트폰 / 안드로이드 / Android
--------------------------------------------------------------------------
--------------------------------------------------------------------------
[에러 원인]
--------------------------------------------------------------------------
1. 안드로이드에서 Aws Kvs HLS 실시간 스트리밍 URL 호출 시 재생 되고 있는 스트리밍 정보가 없어
404 No fragments found in the stream for the streaming request 에러 발생 이슈
2. 안드로이드 Aws 라이브러리 사용 의존성 모듈 :
implementation 'com.amazonaws:aws-android-sdk-kms:2.57.0'
implementation 'com.amazonaws:aws-android-sdk-s3:2.57.0'
implementation 'com.amazonaws:aws-android-sdk-iot:2.57.0'
implementation 'com.amazonaws:aws-android-sdk-mobile-client:2.57.0'
implementation 'com.amazonaws:aws-android-sdk-kinesisvideo:2.57.0'
3. 에러 발생 로그 전문 :
E///===========//: ======================================================================
I/: [LOG :: CLASS PLACE :: com.example.javaproject.C_Activity.A_Test_Activity_Start$52$1.onError(A_Test_Activity_Start.java:2251)]
I/: ----------------------------------------------------
I/: [LOG :: DESCRIPTION :: AWS KVS HLS 스트리밍 재생 URL 확인 :: onError]
I/: ----------------------------------------------------
I/: [LOG ::
----------------------------------------------------
CODE :: com.example.javaproject.C_Module.C_Aws_Kvs_Module$6.run
----------------------------------------------------
MESSAGE :: [재생 정보] :: KVS HLS 스트리밍 재생 URL 확인 HTTP 응답 정보 확인이 필요합니다.
----------------------------------------------------
RESPONSE_HEADERS :: x-amzn-RequestId: 92b5d8 .. c90c67
x-amzn-ErrorType: ResourceNotFoundException:https://kinesisvideo.amazonaws.com/doc/2017-09-30/
Content-Type: application/json
Content-Length: 73
Date: Fri, 23 May 2025 07:28:39 GMT
----------------------------------------------------
RESPONSE_CODE :: 404
----------------------------------------------------
RESPONSE_DATA :: {"Message":"No fragments found in the stream for the streaming request."}
----------------------------------------------------
]
E///===========//: ======================================================================
--------------------------------------------------------------------------
--------------------------------------------------------------------------
[해결 방법]
--------------------------------------------------------------------------
1. Aws Kvs HLS 실시간 영상 재생에 필요한 URL 정보 확인 getHLSStreamingSessionURL 호출 시 404 에러가 발생한 경우 알림 팝업창 표시
>> Aws HLS 동영상 스트리밍 재생 여부 확인이 필요합니다. 재생 여부 확인 후 URL 정보를 요청해주세요.
2. getHLSStreamingSessionURL 확인 정상 테스트 방법 :
>> putMedia API 호출로 Aws Kvs HLS 스트리밍 업로드 수행
>> Aws 콘솔에서 스트리밍 영상 정상 재생 확인
>> getHLSStreamingSessionURL API 호출 및 스트리밍 URL 정보 확인
--------------------------------------------------------------------------
--------------------------------------------------------------------------
[참고 사이트]
--------------------------------------------------------------------------
[Aws Kvs HSL 비디오 스트림 녹화 영상 관련 학습 정리]
https://blog.naver.com/kkh0977/223855980812
[Aws KVS HLS MKV 파일 설명 - PutMedia API 스트리밍 업로드 시 전송 파일]
https://blog.naver.com/kkh0977/223874472088
[Aws SigV4 인증 및 서명 프로토콜 설명 - AWS4Signer API 호출 시 서명 사용]
https://blog.naver.com/kkh0977/223874467995
[Aws KVS PutMedia 비디오 스트림 전송 API 설명 정리]
https://blog.naver.com/kkh0977/223856688678
[안드로이드 Raw 폴더에 저장 된 MKV 형식 파일 Aws Kvs HLS 비디오 스트리밍 업로드 수행]
https://blog.naver.com/kkh0977/223874458019
[안드로이드 Aws Kvs HLS 비디오 스트리밍 putMedia 호출 시 필요한 Signature V4 서명 방법]
https://blog.naver.com/kkh0977/223874442189
--------------------------------------------------------------------------
반응형
'투케이2K 에러관리' 카테고리의 다른 글
Comments