aws/amazon-kinesis-video-streams-parser-library

SLF4J: Class path contains multiple SLF4J bindings. issue when trying to execute KinesisVideoRendererExample test

Closed this issue · 5 comments

I followed the instruction from the tutorial https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-renderer.html.
However, when I tried to execute the KinesisVideoRendererExample test in the 6th step, I got the error below.
螢幕擷取畫面 (175)
Does anyone know this issue?
Also, if the information isn't clear enough, please let me know.
Thanks.

@leo7322 Did you find any solution? For me also same issue(SLF4J,log4j error) but tests are passed

@swethasree8 No, I did not find a solution. Instead, I found an alternative. Since I was trying to use the GetMedia API in this library, I use the following resources. https://github.com/aws-samples/amazon-kinesis-video-streams-media-viewer
For your information.

Running into this same issue.

Just ran this sample following the documentation, verified the media in the aws management console, and did not see those warning log lines. Please try the latest and see if the issue persists. If it does, please let us know!

Additional testing info: Tested both using IntelliJ and using command line, didn't see anything either time:

mvn test -Dtest=KinesisVideoRendererExampleTest
[INFO] --- surefire:3.1.2:test (default-test) @ amazon-kinesis-video-streams-parser-library ---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.amazonaws.kinesisvideo.parser.examples.KinesisVideoRendererExampleTest
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 12.87 s -- in com.amazonaws.kinesisvideo.parser.examples.KinesisVideoRendererExampleTest
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.907 s
[INFO] Finished at: 2023-09-19T20:51:55-07:00
[INFO] ------------------------------------------------------------------------