added appropriate test files and ran go fmt over av

This commit is contained in:
Saxon Milton 2018-06-28 21:52:48 +09:30
parent 5ff305e71a
commit f1aefcdfeb
1 changed files with 0 additions and 25 deletions

View File

@ -96,31 +96,6 @@ func TestRaspividMJPEGInput(t *testing.T){
// Test revidInst with rtmp output
func TestRtmpOutput(t *testing.T){
config := Config{
Input: File,
InputFileName: "testInput.h264",
InputCodec: H264,
Output: Rtmp,
RtmpUrl: "rtmp://a.rtmp.youtube.com/live2/w44c-mkuu-aezg-ceb1",
Width: "1280",
Height: "720",
FrameRate: "25",
Packetization: None,
FramesPerClip: 1,
}
revidInst, err := NewRevidInstance(config)
if err != nil {
t.Errorf("Should not of have got an error!: %v\n", err.Error())
return
}
revidInst.Start()
time.Sleep(120*time.Second)
revidInst.Stop()
}
// Test h264 inputfile to flv output files
func TestFlvOutputFile(t *testing.T) {