i used this sample code that worked for Flv file but when i tried to play rtmp streaming it gave me error like this
{file_open:1654} OPEN FILE rtmp://pi.testsample.in:8090/live
[Vitamio[4.2.6][Player] Error] {print_error:368} avformat_open_input: Operation not permitted : -1
[Vitamio[4.2.6][Player] Info ] {prepare_cleanup:1993} THREAD PREPARE DETTACHED, ret = 0
{prepare_thread:2017} THREAD PREPARE END
[Vitamio[4.2.6][Player] Error] {notify_thread:2915} error (1, -1)
[Vitamio[4.2.6][Player] Info ] {file_close:1342} FILE CLOSE BEGIN
[Vitamio[4.2.6][Player] Info ] {file_close:1359} FREE VIDEOPIC BEGIN
[Vitamio[4.2.6][Player] Info ] {file_close:1379} FREE VIDEOPIC 2 END
[Vitamio[4.2.6][Player] Info ] {file_close:1381} FREE SUBPIC BEGIN
[Vitamio[4.2.6][Player] Info ] {file_close:1387} FREE SUBPIC 1 END
[Vitamio[4.2.6][Player] Info ] {file_close:1389} FREE AUDIOFRAME BEGIN
[Vitamio[4.2.6][Player] Info ] {file_close:1396} FREE AUDIOFRAME 8 END
[Vitamio[4.2.6][Player] Info ] {file_close:1398} DELETE GLOBAL REF BEGIN
[Vitamio[4.2.6][Player] Info ] {file_close:1400} DELETE GLOBAL REF END
[Vitamio[4.2.6][Player] Info ] {file_close:1406} FILE CLOSE END
i used this sample code that worked for Flv file but when i tried to play rtmp streaming it gave me error like this {file_open:1654} OPEN FILE rtmp://pi.testsample.in:8090/live [Vitamio[4.2.6][Player] Error] {print_error:368} avformat_open_input: Operation not permitted : -1 [Vitamio[4.2.6][Player] Info ] {prepare_cleanup:1993} THREAD PREPARE DETTACHED, ret = 0 {prepare_thread:2017} THREAD PREPARE END [Vitamio[4.2.6][Player] Error] {notify_thread:2915} error (1, -1) [Vitamio[4.2.6][Player] Info ] {file_close:1342} FILE CLOSE BEGIN [Vitamio[4.2.6][Player] Info ] {file_close:1359} FREE VIDEOPIC BEGIN [Vitamio[4.2.6][Player] Info ] {file_close:1379} FREE VIDEOPIC 2 END [Vitamio[4.2.6][Player] Info ] {file_close:1381} FREE SUBPIC BEGIN [Vitamio[4.2.6][Player] Info ] {file_close:1387} FREE SUBPIC 1 END [Vitamio[4.2.6][Player] Info ] {file_close:1389} FREE AUDIOFRAME BEGIN [Vitamio[4.2.6][Player] Info ] {file_close:1396} FREE AUDIOFRAME 8 END [Vitamio[4.2.6][Player] Info ] {file_close:1398} DELETE GLOBAL REF BEGIN [Vitamio[4.2.6][Player] Info ] {file_close:1400} DELETE GLOBAL REF END [Vitamio[4.2.6][Player] Info ] {file_close:1406} FILE CLOSE END